From owner-freebsd-stable@FreeBSD.ORG Wed Jul 6 03:42:42 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9081A16A41C; Wed, 6 Jul 2005 03:42:42 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3415743D4C; Wed, 6 Jul 2005 03:42:41 +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 E9DF86CC7F; Wed, 6 Jul 2005 11:47:52 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44162-08; Wed, 6 Jul 2005 11:47:51 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.105.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 0B24F6CC5C; Wed, 6 Jul 2005 11:47:50 +0800 (MYT) Date: Wed, 6 Jul 2005 11:42:41 +0800 From: Ariff Abdullah To: Greg 'groggy' Lehey Message-Id: <20050706114241.106a1013.skywizard@MyBSD.org.my> In-Reply-To: <20050706004659.GS40537@wantadilla.lemis.com> References: <200507060231.44255.lofi@freebsd.org> <20050706004659.GS40537@wantadilla.lemis.com> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-stable@freebsd.org, lofi@freebsd.org Subject: Re: Panic: don't do that ... while unloading snd_ich.ko X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 03:42:42 -0000 On Wed, 6 Jul 2005 10:16:59 +0930 Greg 'groggy' Lehey wrote: > On Wednesday, 6 July 2005 at 2:31:37 +0200, Michael Nottebrock > wrote: > > Readily reproducable, 5.4-STABLE as of last week. > > > > Kernel messages prior to panic (from memory): > > > > pcm0: unregister: mixer busy > > WARNING: Driver mistake: destroy_dev on 30/3 > > This is a phkism. It's supposed to tell the developer to fix his > code. You'll have to look at the code and work out what's wrong. I > don't understand how this could get into STABLE, though. > > Greg It's a long standing sound driver unloading routine bug, not really phkism. http://staff.mybsd.org.my/skywizard/FreeBSD/sound/RELENG_5/pcm/mixer.c.diff http://staff.mybsd.org.my/skywizard/FreeBSD/sound/RELENG_5/pcm/sound.c.diff http://staff.mybsd.org.my/skywizard/FreeBSD/sound/RELENG_5/pcm/dsp.c.diff will solve the problem. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)