From owner-freebsd-stable Tue Sep 11 21:59:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by hub.freebsd.org (Postfix) with ESMTP id 914A637B406 for ; Tue, 11 Sep 2001 21:59:41 -0700 (PDT) Received: from TMA-1.brad-x.com ([64.228.80.123]) by tomts13-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010912045940.CCPD23855.tomts13-srv.bellnexxia.net@TMA-1.brad-x.com> for ; Wed, 12 Sep 2001 00:59:40 -0400 Received: from localhost (localhost.brad-x.com [127.0.0.1]) by TMA-1.brad-x.com (Postfix) with ESMTP id 03FC17B0C4 for ; Wed, 12 Sep 2001 00:59:46 -0400 (EDT) Date: Wed, 12 Sep 2001 00:59:46 -0400 (EDT) From: Brad Laue To: Subject: FIXME! snd_pcm.ko kernel panic Message-ID: <20010912004804.O31661-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 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