When I attempt to restart ALSA, I get the following error messages:

rmmod: snd-mixer-oss: Device or resource busy
rmmod: snd-via82xx: Device or resource busy
rmmod: snd-pcm: Device or resource busy
rmmod: snd-page-alloc: Device or resource busy
rmmod: snd-timer: Device or resource busy
rmmod: snd-mpu401-uart: Device or resource busy
rmmod: snd-rawmidi: Device or resource busy
rmmod: snd-seq-device: Device or resource busy
rmmod: snd-ac97-codec: Device or resource busy
rmmod: snd: Device or resource busy
rmmod: soundcore: Device or resource busy

I've noticed that I get these messages after I use "mplayer". In fact, I have found that if I have some other job runing that uses ALSA, such as XMMS or even something quiet, like the asterisk PBX, then mplayer will run very, very, VERY slowly and give out funky sounds -- slowed down. When I stop the other sound-using process, mplayer works normally again.


Right now mplayer complains that it can't put out any audio at all, so I decided to restart ALSA, and that's when I got these errors.

This is not an mplayer problem: XMMS also won't play. XMMS freezes, just like mplayer did. (It might be that XMMS is just running very, very slowly, I suppose.) aplay does the same thing. "aplay -D hw:0,1" gives me a wacky 41000 when I requested 8000! Cute but not useful. Ordinary aplay hangs indefinitely.

I will *guess* that some function call to ALSA, a function that is supposed to return immediately, is hanging. Why ALSA modules won't uninstall is beyond me. I also guess that it's OSS-eumlation related, since "xine -A oss" fails on "no audio," but it's very hard to tell. I can barely get the apps up and running so I can't check their configuations very easily.

Any thoughts? I hate rebooting, which is the way I "fixed" this problem before.

I am using 0.9.4, with the CVS of earlier this week(2003-06-21 or so). I am about to try todays' CVS, but getting it installed will probaby be Very Difficult if I can't unload the old modules.

--
 Moshe Yudkowsky * http://www.Disaggregate.com




------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to