From owner-freebsd-current@FreeBSD.ORG Sun Jan 25 14:20:09 2004 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 23FC316A4CE; Sun, 25 Jan 2004 14:20:09 -0800 (PST) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E25A43D5A; Sun, 25 Jan 2004 14:20:03 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9p2/8.12.9) with ESMTP id i0PMJP7E076017; Sun, 25 Jan 2004 14:19:29 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200401252219.i0PMJP7E076017@gw.catspoiler.org> Date: Sun, 25 Jan 2004 14:19:25 -0800 (PST) From: Don Lewis To: mat@cnd.mcgill.ca In-Reply-To: <20040125173244.GA95238@cnd.mcgill.ca> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: cg@FreeBSD.org cc: current@FreeBSD.org Subject: Re: dev/sound/pcm/* patch testers wanted 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: Sun, 25 Jan 2004 22:20:09 -0000 On 25 Jan, Mathew Kanner wrote: > On Jan 24, Don Lewis wrote: >> The is a buffer overflow in the interrupt handler in the vchan code that >> occasionally stomps on something on the kernel heap and causes panics in >> other parts of the kernel. I tracked down the cause of the buffer >> overflow with the help of Stefan Ehmann and made a number of changes to >> the sound/pcm/* code to try to avoid triggering the overflow. > >> [...] > > Don, > I think it should be noted that vchans aren't always enabled > by default and those testing this patch should explicitly make sure > that vchans are enabled either via > > sysctl hw.snd.pcmX.vchans=5 That's a good point. I'd also like to make sure that I didn't break anything in the non-vchan case, so testing with vchans on and off would be useful.