From owner-freebsd-stable Wed Sep 12 14:15: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id 09B0F37B406 for ; Wed, 12 Sep 2001 14:14:58 -0700 (PDT) Received: from TMA-1.brad-x.com ([64.228.80.123]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010912211457.TCGL27033.tomts14-srv.bellnexxia.net@TMA-1.brad-x.com> for ; Wed, 12 Sep 2001 17:14:57 -0400 Received: from localhost (localhost.brad-x.com [127.0.0.1]) by TMA-1.brad-x.com (Postfix) with ESMTP id 700FB7B0C4 for ; Wed, 12 Sep 2001 17:15:05 -0400 (EDT) Date: Wed, 12 Sep 2001 17:15:05 -0400 (EDT) From: Brad Laue To: Subject: Re: FIXME! snd_pcm.ko kernel panic In-Reply-To: <20010912004804.O31661-100000@TMA-1.brad-x.com> Message-ID: <20010912171417.Y59539-100000@TMA-1.brad-x.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As an addendum this is repeatable using any sound chipset at all; it's an issue with the pcm driver itself - tried using a maestro3 card on an Inspiron 8100 notebook, same result. Brad // -- http://www.BRAD-X.com/ -- // On Wed, 12 Sep 2001, Brad Laue wrote: > Just wanted to point out that the snd_pcm kernel module is unloadable > while the sound device is in use, causing a total wipeout of the operating > system whenever the last application relinquishes the sound device. > > Also, modules such as snd_pcm.ko are loadable while their compiled in > counterparts are present in the kernel, causing similar issues; a modular > kernel needs some significant work done on it with respect to safegaurding > the load/unload of modules, when they're required, and when they're not to > be loaded at all. > > On the plus side, the module, when loaded alongside snd_via82c686.ko, > plays sound without a skip since the -RC releases of FreeBSD came out. I > can now remove my ISA sound card and use the onboard sound again! > > Please try to include some sort of fix before -RELEASE; to replicate the > issue, do this: > > Compile a kernel with no sound devices whatsoever; my system uses the > VIA82C686C chipset, use similar if possible. > > snd_via82c686_load="YES" in loader.conf; play a sound using mpg123 or > similar program > > kldunload snd_pcm.ko, ctrl-c mpg123 > > The system will go down either immediately after the sound stops, or when > trying to play another. > > Thanks, > Brad > > // -- http://www.BRAD-X.com/ -- // > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message