Kernel panic when reboot on server with a Promise SX4000 and two
ATA disks RAID1.
Magnus Kling
klingfon at gmail.com
Fri May 15 17:12:16 UTC 2009
Hi!
After having some trouble with ACPI kernel in 7.1, regarding booting with a
Promise SX4000 card in a RAID1 setup, I tried to upgrade to CURRENT to test
the bits that John Baldwin wrote and had commited to head.
Result:
Well, it boots ok but on reboot I get a kernel panic after the disks have
made the sync.
Attached is a bt and panic message.
Something for Alexander Motin to think about? Or someone else? Or is it a
known problem?
I can test patches and stuff on my server. Can I give some more information
to help solve the problem?
Regards,
Magnus
-------------- next part --------------
Syncing disks, vnodes remaining...2 0 1 1 0 0 done
All buffers synced.
lock order reversal:
1st 0xc2cd6bdc ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1194
2nd 0xc2ce7df4 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2206
KDB: stack backtrace:
db_trace_self_wrapper(c0c41a71,c267da18,c089d065,c088ef6b,c0c44856,...) at db_tr
ace_self_wrapper+0x26
kdb_backtrace(c088ef6b,c0c44856,c2914ad8,c2914ba8,c267da74,...) at kdb_backtrace
+0x29
_witness_debugger(c0c44856,c2ce7df4,c0c4b806,c2914ba8,c0c4b687,...) at _witness_
debugger+0x25
witness_checkorder(c2ce7df4,9,c0c4b687,89e,0,...) at witness_checkorder+0x839
__lockmgr_args(c2ce7df4,80100,c2ce7e10,0,0,...) at __lockmgr_args+0x797
vop_stdlock(c267db7c,c08e7807,c0c4b687,80100,c2ce7d9c,...) at vop_stdlock+0x62
VOP_LOCK1_APV(c0d30b40,c267db7c,c084ea33,c0d58920,c2ce7d9c,...) at VOP_LOCK1_APV
+0xa5
_vn_lock(c2ce7d9c,80100,c0c4b687,89e,c0ef88fc,...) at _vn_lock+0x5e
vrele(c2ce7d9c,0,c0c4b05e,4ef,c088eebb,...) at vrele+0x142
dounmount(c2c77280,80000,c2956d80,c24b1230,0,...) at dounmount+0x3ce
vfs_unmountall(c0c3e569,0,c0c3e613,12a,0,...) at vfs_unmountall+0x4e
boot(c0d8ba10,0,c0c3e613,ad,c267dd2c,...) at boot+0x44f
reboot(c2956d80,c267dcf8,4,c0c45a6f,c0d211e8,...) at reboot+0x4b
syscall(c267dd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (55, FreeBSD ELF32, reboot), eip = 0x8050fe3, esp = 0xbfbfe88c, ebp
= 0xbfbfe968 ---
lock order reversal:
1st 0xc2cd6bdc ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1194
2nd 0xc2cb7ce8 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1195
KDB: stack backtrace:
db_trace_self_wrapper(c0c41a71,c267d9a4,c089d065,c088ef6b,c0c44856,...) at db_tr
ace_self_wrapper+0x26
kdb_backtrace(c088ef6b,c0c44856,c2914ad8,c2914a08,c267da00,...) at kdb_backtrace
+0x29
_witness_debugger(c0c44856,c2cb7ce8,c0c34055,c2914a08,c0c63964,...) at _witness_
debugger+0x25
witness_checkorder(c2cb7ce8,9,c0c63964,4ab,c2cb7d04,...) at witness_checkorder+0
x839
__lockmgr_args(c2cb7ce8,80400,c2cb7d04,0,0,...) at __lockmgr_args+0x797
vop_stdlock(c267db08,557,c267db00,80400,c2cb7c90,...) at vop_stdlock+0x62
VOP_LOCK1_APV(c0d1da00,c267db08,c2f33d9c,c0d58920,c2cb7c90,...) at VOP_LOCK1_APV
+0xa5
_vn_lock(c2cb7c90,80400,c0c63964,4ab,c2cb8000,...) at _vn_lock+0x5e
ffs_flushfiles(c2c77280,2,c2956d80,557,3,...) at ffs_flushfiles+0xa7
softdep_flushfiles(c2c77280,2,c2956d80,c0c4b687,8bc,...) at softdep_flushfiles+0
x2e
ffs_unmount(c2c77280,80000,c267dbfc,4ef,c088eebb,...) at ffs_unmount+0x149
dounmount(c2c77280,80000,c2956d80,c24b1230,0,...) at dounmount+0x46d
vfs_unmountall(c0c3e569,0,c0c3e613,12a,0,...) at vfs_unmountall+0x4e
boot(c0d8ba10,0,c0c3e613,ad,c267dd2c,...) at boot+0x44f
reboot(c2956d80,c267dcf8,4,c0c45a6f,c0d211e8,...) at reboot+0x4b
syscall(c267dd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (55, FreeBSD ELF32, reboot), eip = 0x8050fe3, esp = 0xbfbfe88c, ebp
= 0xbfbfe968 ---
Uptime: 2m48s
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex ATA state lock (ATA state lock) r = 0 (0xc2a42cd8) locked
@ /usr/src/sys/dev/ata/ata-queue.c:201
exclusive sleep mutex ATA queue lock (ATA queue lock) r = 0 (0xc2a42cf0) locked
@ /usr/src/sys/dev/ata/ata-queue.c:184
KDB: stack backtrace:
db_trace_self_wrapper(c0c41a71,c267d830,c089d065,c0bf3202,b8,...) at db_trace_se
lf_wrapper+0x26
kdb_backtrace(c0bf3202,b8,ffffffff,c0ecc07c,c267d868,...) at kdb_backtrace+0x29
_witness_debugger(c0c43e02,c267d87c,4,1,0,...) at _witness_debugger+0x25
witness_warn(5,0,c0c761cf,0,c2954d34,...) at witness_warn+0x1fd
trap(c267d908) at trap+0x173
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc05670c9, esp = 0xc267d948, ebp = 0xc267d960 ---
ata_promise_sx4_command(c2f5a640,c9,c267d998,c084ea33,c2a42cd8,...) at ata_promi
se_sx4_command+0x39
ata_begin_transaction(c2f5a640,0,c0bf3202,c9,c2a42cf0,...) at ata_begin_transact
ion+0x7a
ata_start(c2a90000,0,c0bf3202,5d,c2a42cf0,...) at ata_start+0x1db
ata_queue_request(c2f5a640,0,101,0,e7000000,...) at ata_queue_request+0x493
ata_controlcmd(c2ae8b00,e7,0,0,0,...) at ata_controlcmd+0xd6
ad_shutdown(c2ae8b00,c2a14830,c0d20384) at ad_shutdown+0x4b
device_shutdown(c2ae8b00,c2a90000,c267da98,c08841ec,c2a90000,...) at device_shut
down+0x4c
bus_generic_shutdown(c2a90000,c29e8830,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2a90000,c2a6cb00,c267dac0,c08841ec,c2a6cb00,...) at device_shut
down+0x4c
bus_generic_shutdown(c2a6cb00,c2a05830,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2a6cb00,c2971900,c267dae8,c08841ec,c2971900,...) at device_shut
down+0x4c
bus_generic_shutdown(c2971900,c2a01030,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2971900,c2a5aa80,c267db10,c08841ec,c2a5aa80,...) at device_shut
down+0x4c
bus_generic_shutdown(c2a5aa80,c29d9830,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2a5aa80,c2a5b300,c267db38,c08841ec,c2a5b300,...) at device_shut
down+0x4c
bus_generic_shutdown(c2a5b300,c298c030,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2a5b300,c2971e80,c267db60,c08841ec,c2971e80,...) at device_shut
down+0x4c
bus_generic_shutdown(c2971e80,c29da030,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2971e80,c2a44880,c267db88,c04cec55,c2a44880,...) at device_shut
down+0x4c
bus_generic_shutdown(c2a44880,4,c0be5aa1,2f3,c267dba0,...) at bus_generic_shutdo
wn+0x19
acpi_shutdown(c2a44880,c29dc030,c0d20384) at acpi_shutdown+0x35
device_shutdown(c2a44880,c2952280,c267dbc8,c08841ec,c2952280,...) at device_shut
down+0x4c
bus_generic_shutdown(c2952280,c2a14030,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2952280,c2952c80,c267dbf0,c08841ec,c2952c80,...) at device_shut
down+0x4c
bus_generic_shutdown(c2952c80,c2979030,c0d20384) at bus_generic_shutdown+0x19
device_shutdown(c2952c80,2d,c081097f,c2932140,c290d440,...) at device_shutdown+0
x4c
root_bus_module_handler(c2932180,2,0,67,c290bbc0,...) at root_bus_module_handler
+0x13f
module_shutdown(0,0,c0c3e613,1a7,0,...) at module_shutdown+0x78
boot(c0d8ba10,0,c0c3e613,ad,c267dd2c,...) at boot+0x75f
reboot(c2956d80,c267dcf8,4,c0c45a6f,c0d211e8,...) at reboot+0x4b
syscall(c267dd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (55, FreeBSD ELF32, reboot), eip = 0x8050fe3, esp = 0xbfbfe88c, ebp
= 0xbfbfe968 ---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xc
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc05670c9
stack pointer = 0x28:0xc267d948
frame pointer = 0x28:0xc267d960
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1 (init)
[thread pid 1 tid 100002 ]
Stopped at ata_promise_sx4_command+0x39: movl 0xc(%eax),%esi
More information about the freebsd-current
mailing list