Rmoving the sound modules

Net Llama! netllama
Mon May 17 11:34:45 PDT 2004


Tim Wunder wrote:
> Hi list, 
> I've been dealing, off and on, with a niggling sound problem. None of the 
> sound recording apps I have want to work for me anymore. I've tried krecord 
> (which used to work), gramofile (which used to work) and audacity (which I've 
> just installed); krecord and audacity segfault on me, gramofile does nothing.
> 
> Someone on the audacity help list suggested (among other things) that it could 
> be my sound driver mucking things up. After trying his other suggestions, 
> I've decided to download the latest emu10k1 driver and give that a shot. I 
> grabbed version 0.19a and compiled it just fine. I now wanna install the new 
> module in place of the other.
> 
> This seemed to me to be a simple task, rmmod the existing emu10k1 module and 
> insmod the new one. Unfortunately, when I try 'rmmod -rv emu10k1', this is 
> what I get:
> Checking emu10k1 for persistent data
> rmmod: emu10k1: Device or resource busy
> Checking ac97_codec for persistent data
> rmmod: ac97_codec: Device or resource busy
> Checking sound for persistent data
> rmmod: sound: Device or resource busy
> 
> It seems to me that this shoulda worked. What am I missing?

The modules are still in use, because something somewhere is writing to 
/dev/audio or one of the other /dev sound devices.  lsof should show you 
what.  If you're running KDE, all bets are off, cause i'm sure its 
breaking some law of physics somewhere.

> In the meanwhile, it appears as though I'm gonna need to reboot the box (after 
> removing the sound module references from /etc/modules/default) to unload 
> this driver.

Actually, removing it from /etc/modules/default (which is a caldera-ism, 
rather than the standard /etc/modules.conf) might help.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   8:05pm  up 84 days,  2:51,  3 users,  load average: 0.15, 0.22, 0.34




More information about the Linux-users mailing list