From owner-freebsd-current@FreeBSD.ORG Sat Sep 11 21:18:44 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 A733F16A4CF for ; Sat, 11 Sep 2004 21:18:44 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C4543D1D for ; Sat, 11 Sep 2004 21:18:44 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.11/8.12.11) with ESMTP id i8BLIT6f049447; Sat, 11 Sep 2004 14:18:33 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200409112118.i8BLIT6f049447@gw.catspoiler.org> Date: Sat, 11 Sep 2004 14:18:29 -0700 (PDT) From: Don Lewis To: mat@cnd.mcgill.ca In-Reply-To: <20040826204822.GB670@cnd.mcgill.ca> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: freebsd-current@FreeBSD.org cc: tech2187@yahoo.com Subject: Re: lor with sndstat (amd64) 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, 11 Sep 2004 21:18:44 -0000 On 26 Aug, Mathew Kanner wrote: > On Aug 26, K Chapman wrote: >> running: amd64 >> 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Aug 25 >> 23:40:19 EDT >> >> sound from kernel config: >> device sound >> device "snd_via8233" >> >> noticed this on console ater cat /dev/sndstat : >> lock order reversal >> 1st 0xffffffff805d03e0 sndstat (sndstat) @ >> /usr/src/sys/dev/sound/pcm/sndstat.c:165 >> 2nd 0xffffff002b61e8f0 user map (user map) @ >> /usr/src/sys/vm/vm_map.c:2997 >> KDB: stack backtrace: >> witness_checkorder() at witness_checkorder+0x654 >> _sx_xlock() at _sx_xlock+0x51 >> vm_map_lookup() at vm_map_lookup+0x44 >> vm_fault() at vm_fault+0xba >> trap_pfault() at trap_pfault+0x111 >> trap() at trap+0x1b5 >> alltraps_with_regs_pushed() at >> alltraps_with_regs_pushed+0x5 >> sndstat_read() at sndstat_read+0x8b >> spec_read() at spec_read+0x1ea >> vn_read() at vn_read+0x153 >> dofileread() at dofileread+0x9a >> read() at read+0x68 >> syscall() at syscall+0x4b0 >> Xfast_syscall() at Xfast_syscall+0xa8 >> --- syscall (3, FreeBSD ELF64, read), rip = >> 0x200689708, rsp = 0x7fffffffeab8, rbp = >> 0x7fffffffedc4 --- >> >> saw reports of a lor with sndstat at the end of last >> year, but that seemed to have been resolved. sound >> seems fine however... plays cd's, mp3's ok. > > Hello "K", > I've never seen this one before, I'll take a look at this on > the weekend, but since I don't have a 8233 or and AMD64 I may not find > it. I committed a fix for this yesterday: sys/dev/sound/pcm/sndstat.c rev 1.18.