panic upon kldunload snd_ich (lor # 159)
Ariff Abdullah
skywizard at MyBSD.org.my
Wed Sep 14 12:38:06 PDT 2005
On Wed, 14 Sep 2005 10:48:30 +0900
Pyun YongHyeon <pyunyh at gmail.com> wrote:
>
> Thanks for testing. Fix committed to HEAD(sndstat.c rev. 1.21)
>
> [ .. ]
>
> AFAIK, the LOR is well known to sound developers. Though it's not real
> LOR(grabbing sx lock while holding mutex) it's difficult to fix.
>
This is supposed to fix that LOR, I pressume. Please try that.
--
Ariff Abdullah
MyBSD
http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
-------------- next part --------------
--- sys/dev/sound/pcm/sound.c.orig Tue Sep 13 02:58:27 2005
+++ sys/dev/sound/pcm/sound.c Thu Sep 15 03:29:06 2005
@@ -807,9 +807,9 @@
chn_kill(d->fakechan);
fkchan_kill(d->fakechan);
- sndstat_unregister(dev);
snd_mtxunlock(d->lock);
snd_mtxfree(d->lock);
+ sndstat_unregister(dev);
return 0;
}
More information about the freebsd-current
mailing list