Re: lor with sndstat (amd64)

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sat, 11 Sep 2004 14:18:29 -0700 (PDT)
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) _at_
>> /usr/src/sys/dev/sound/pcm/sndstat.c:165
>>  2nd 0xffffff002b61e8f0 user map (user map) _at_
>> /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.
Received on Sat Sep 11 2004 - 19:18:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC