This is with today's -current (5.99.24) (CVS rsync 2010/03/04-12:00EST),
running "newfs" on an ataraid(4)/ld(4) device, I get a repeatable
LOCKDEBUG mutex error.
Should I send-pr?
ataraid0: found 1 RAID volume
ld0 at ataraid0 vendtype 1 unit 0: Adaptec ATA RAID-1 array
ld0: ld_ataraid_attach(): ld unit 0 (ld->sc_dv = 0xcd7e1d48)
ld0: ldattach(): unit 0
ld0: 186 GB, 24321 cyl, 255 head, 63 sec, 512 bytes/sect x 390721536 sectors
# newfs /dev/rld0a
/dev/rld0a: 190782.0MB (390721536 sectors) block size 16384, fragment size 2048
using 1035 cylinder groups of 184.34MB, 11798 blks, 23296 inodes.
super-block backups (for fsck_ffs -b #) at:
32,
[[newfs then runs fine for quite a while]]
163473120,
163850656,
Mutex error: lockdebug_barrier: spin lock held
lock address : 0x00000000cd7e1da8 type : spin
initialized : 0x00000000c0504963
shared holds : 0 exclusive: 1
shares wanted: 0 exclusive: 0
current cpu : 1 last held: 1
current lwp : 0x00000000ccf6e560 last held: 0x00000000ccf6e560
last locked : 0x00000000c050676c unlocked : 0x00000000c0506743
owner field : 0x0000000000010600 wait/spin: 0/1
panic: LOCKDEBUG
cpu1: Begin traceback...
copyright(cd7f91c5,0,0,c0c567b0,cd7a5cc4,cd7a5c5c,cd7e1da8,c0bb4130,ccf6e560,c050676c)
at 0xc0b19329
_prop_array_pool(cd7a5c84,0,0,ccf6e7c8,cd7a5d44,cd7a5cdc,cd7e1d88,c0bb413c,0,c050458c)
at 0xcd7fa5c4
cpu1: End traceback...
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c02473e4 cs 8 eflags 246 cr2 0 ilevel 8
Stopped in pid 5.1 (newfs) at netbsd:breakpoint+0x4: popl %ebp
db{1}> machine cpu 0
using CPU 0
db{1}> trace
x86_pause(1,0,0,0,cc50ed20,cca9de8c,ccb1fa0c,c010762b,cce08b64,cc4feca8) at netb
sd:x86_pause+0x2
intr_biglock_wrapper(cce08b64,cc4feca8,c09bbd5c,b8f0b56,0,0,ffffffff,0,6a27c525,
c312ca98) at netbsd:intr_biglock_wrapper+0x11
DDB lost frame for netbsd:Xintr_ioapic_level3+0xab, trying 0xccad3f74
Xintr_ioapic_level3() at netbsd:Xintr_ioapic_level3+0xab
--- interrupt ---
0x20190026:
db{1}> x/I 0x00000000c050676c
netbsd:cbufpool_ctor+0x3c: xorl %eax,%eax
db{1}> x/I 0x00000000ccf6e560
0xccf6e560: addb %al,0(%eax)
db{1}> x/I 0x00000000c0506743
netbsd:cbufpool_ctor+0x13: movl $0x1,0(%esp)
db{1}> x/I 0x00000000c0504963
netbsd:ldattach+0x23: addl $0x10,%esp
db{1}> show lock 0x00000000cd7e1da8
lock address : 0x00000000cd7e1da8 type : spin
initialized : 0x00000000c0504963
shared holds : 0 exclusive: 1
shares wanted: 0 exclusive: 0
current cpu : 1 last held: 1
current lwp : 0x00000000ccf6e560 last held: 0x00000000ccf6e560
last locked : 0x00000000c050676c unlocked : 0x00000000c0506743
owner field : 0x0000000000010600 wait/spin: 0/1
db{1}> reboot
Skipping crash dump on recursive panic
panic: wdc_exec_command: polled command not done
cpu1: Begin traceback...
uvm_fault(0xccf66d40, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c02652f0 cs 8 eflags 10246 cr2 8 ilevel 8
kernel: supervisor trap page fault, code=0
Stopped in pid 5.1 (newfs) at netbsd:db_read_bytes+0x30: movl 0(%esi),
%eax
db{1}> reboot
Skipping crash dump on recursive panic
panic: wdc_exec_command: polled command not done
Faulted in mid-traceback; aborting...fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c02473e4 cs 8 eflags 246 cr2 8 ilevel 8
Stopped in pid 5.1 (newfs) at netbsd:breakpoint+0x4: popl %ebp
db{1}> reboot
rebooting...
--
Greg A. Woods
Planix, Inc.
<woods%planix.com@localhost> +1 416 218 0099 http://www.planix.com/
Attachment:
pgp9BSqFM0AV7.pgp
Description: PGP signature