From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 00:08:57 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 C275516A4CE; Sat, 5 Jun 2004 00:08:57 -0700 (PDT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DBA943D2D; Sat, 5 Jun 2004 00:08:57 -0700 (PDT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 5FD6B4EFCD8; Sat, 5 Jun 2004 15:08:17 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 56A414EFCD7; Sat, 5 Jun 2004 15:08:17 +0800 (CST) Date: Sat, 5 Jun 2004 15:08:17 +0800 (CST) From: Tai-hwa Liang To: Don Lewis In-Reply-To: <200406050514.i555EPJM004758@gw.catspoiler.org> Message-ID: <0406051457071.70177@www.mmlab.cse.yzu.edu.tw> References: <200406050514.i555EPJM004758@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org cc: dl@leo.org Subject: Re: LOR No 9 and strange other kernel messages 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: Sat, 05 Jun 2004 07:08:57 -0000 On Fri, 4 Jun 2004, Don Lewis wrote: > On 4 Jun, Tai-hwa Liang wrote: > > On Fri, 4 Jun 2004, Daniel Lang wrote: > >> Hi, > >> > >> I just went through my syslog and stumbled across a LOR, which is > >> documented on the Zabbadoz LOR page (id 009). > >> > >> The reason for this mail is the following kernel messages: > >> > >> [..] > >> Jun 1 11:08:06 atrbg11 kernel: x: 2 > >> Jun 1 11:08:06 atrbg11 kernel: x: 2 > >> [..] > >> > >> Seems some leftovers from a developer who did not want to > >> bother others with the gory details. ;-)) > > > > I guess that came from sys/dev/sound/pcm/sound.c:872. My Thinkpad T40 also > > ran into this when the disk/network(combination) load is high enough. > > Looks likely, but I'd expect this would only get triggered when sysctl > is used to set or query the number of vchans. In any case, this marks > another spot where locking is broken in the sound code. I use the default setting without tweaking any vchan related sysctl such like hw.snd.pcm0.vchans(leave it to default 0) or hw.snd.maxautovchans (also left to 0 on my T40). I'm wondering about whether this "bug" is ACPI related(interrupt storm?) since recently when I run "make buildworld buildkernel" on one terminal and do large file transmission(FTP ISO images on using em0) at the same time, the sound tends to become "broken." Meanwhile, the "x: 2" message popped on my console and later on my em0 doesn't work anymore(I have to do a reboot to get it back; however, the other part of the system still works while em0 was dead: sound continue playing, can compile/edit programs).