Date: Thu, 15 Sep 2005 03:38:48 +0800 From: Ariff Abdullah <skywizard@MyBSD.org.my> To: pyunyh@gmail.com, minimarmot@gmail.com Cc: freebsd-current@freebsd.org Subject: Re: panic upon kldunload snd_ich (lor # 159) Message-ID: <20050915033848.2d87da42.skywizard@MyBSD.org.my> In-Reply-To: <20050914014830.GA13631@rndsoft.co.kr> References: <47d0403c05091121047a037946@mail.gmail.com> <20050912044212.GC5182@rndsoft.co.kr> <47d0403c05091122276fd0a231@mail.gmail.com> <20050913070149.GE9481@rndsoft.co.kr> <47d0403c0509131235ed58122@mail.gmail.com> <20050914014830.GA13631@rndsoft.co.kr>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, 14 Sep 2005 10:48:30 +0900 Pyun YongHyeon <pyunyh@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) [-- Attachment #2 --] --- 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; }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050915033848.2d87da42.skywizard>
