From owner-freebsd-current@FreeBSD.ORG Wed Dec 17 09:53:46 2003 Return-Path: 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 8037E16A4CF for ; Wed, 17 Dec 2003 09:53:46 -0800 (PST) Received: from mhub-c5.tc.umn.edu (mhub-c5.tc.umn.edu [160.94.128.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 215A143D78 for ; Wed, 17 Dec 2003 09:53:30 -0800 (PST) (envelope-from ryans@gamersimpact.com) Received: from [204.147.92.3] by mhub-c5.tc.umn.edu with ESMTP; Wed, 17 Dec 2003 11:53:29 -0600 From: Ryan Sommers To: Eric Anderson In-Reply-To: <3FE07F7A.3040101@centtech.com> References: <3FE07F7A.3040101@centtech.com> Content-Type: text/plain Message-Id: <1071683405.3903.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 17 Dec 2003 11:50:06 -0600 Content-Transfer-Encoding: 7bit cc: FreeBSD Current Subject: Re: sysctl panics kernel with snd_pcm tweaks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 17 Dec 2003 17:53:46 -0000 On Wed, 2003-12-17 at 10:08, Eric Anderson wrote: > When snd_pcm.ko is loaded at boot time, having: > hw.snd.pcm0.vchans=4 > hw.snd.maxautovchans=4 > in my sysctl.conf causes my kernel to panic on boot (I believe it's the > hw.snd.maxautovchans causing the panic, but haven't tried explicitly yet) > > It worked about a week or so back with no problems - just recently (Dec > 12th to Dec 15th or so) something changed that made this not work anymore. > > uname -a: > FreeBSD hostname.domain.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Dec > 15 12:31:02 CST > > Eric I've been messing with this problem and just as an FYI. The problem lies in the sysctl for the maxautovchans when pcm is loaded as a module. As a workaround build a kernel with 'device pcm' or take your hw.snd.maxautovchans out of sysctl.conf. -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =-