From owner-freebsd-current@FreeBSD.ORG Wed Sep 14 19:38:06 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD53716A41F for ; Wed, 14 Sep 2005 19:38:06 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20D9443D46 for ; Wed, 14 Sep 2005 19:38:05 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 13BB56CC25; Thu, 15 Sep 2005 03:46:08 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 74184-03; Thu, 15 Sep 2005 03:46:06 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [218.111.181.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 74B086CC20; Thu, 15 Sep 2005 03:46:06 +0800 (MYT) Date: Thu, 15 Sep 2005 03:38:48 +0800 From: Ariff Abdullah To: pyunyh@gmail.com, minimarmot@gmail.com 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> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__15_Sep_2005_03_38_48_+0800_.bs8o5R5j86D99f7" X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-current@freebsd.org Subject: Re: panic upon kldunload snd_ich (lor # 159) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 19:38:06 -0000 This is a multi-part message in MIME format. --Multipart=_Thu__15_Sep_2005_03_38_48_+0800_.bs8o5R5j86D99f7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 14 Sep 2005 10:48:30 +0900 Pyun YongHyeon 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) --Multipart=_Thu__15_Sep_2005_03_38_48_+0800_.bs8o5R5j86D99f7 Content-Type: text/plain; name="sound.c.diff" Content-Disposition: attachment; filename="sound.c.diff" Content-Transfer-Encoding: 7bit --- 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; } --Multipart=_Thu__15_Sep_2005_03_38_48_+0800_.bs8o5R5j86D99f7--