ZFS sx_xlock panic w/zfs_vnops.c.2.patch
James R. Van Artsdalen
james-freebsd-fs2 at jrv.org
Wed Aug 12 15:13:51 UTC 2009
FreeBSD bigback.housenet.jrv 8.0-BETA2 FreeBSD 8.0-BETA2 #1 r195757M:
Wed Jul 29 13:44:06 CDT 2009
james at bigback.housenet.jrv:/usr/obj/usr/src/sys/BIGTEX amd64
with mav's siis.20090718.patch driver, with my libzfs_sendrecv.c path,
with zfs_vnops.c.2.patch
panic during reboot(8)
...
zfs_umount:971[0]: Force unmount is experimental - report any problems.
zfs_umount:971[0]: Force unmount is experimental - report any problems.
panic: sx_xlock() of destroyed sx @
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:4361
cpuid = 0
KDB: enter: panic
Physical memory: 9422 MB
Dumping 1862 MB: 1847 1831 1815 1799 1783 1767 1751 1735 1719 1703 1687
1671 1655 1639 1623 1607 1591 1575 1559 1543 1527 1511 1495 1479 1463
1447 1431 1415 1399 1383 1367 1351 1335 1319 1303 1287 1271 1255 1239
1223 1207 1191 1175 1159 1143 1127 1111 1095 1079 1063 1047 1031 1015
999 983 967 951 935 919 903 887 871 855 839 823 807 791 775 759 743 727
711 695 679 663 647 631 615 599 583 567 551 535 519 503 487 471 455 439
423 407 391 375 359 343 327 311 295 279 263 247 231 215 199 183 167 151
135 119 103 87 71 55 39 23 7
Reading symbols from /boot/kernel/zfs.ko...Reading symbols from
/boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from
/boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from
/boot/kernel/geom_mirror.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_mirror.ko
Reading symbols from /boot/kernel/siis.ko...Reading symbols from
/boot/kernel/siis.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/siis.ko
Reading symbols from /boot/kernel/ahci.ko...Reading symbols from
/boot/kernel/ahci.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ahci.ko
#0 doadump () at pcpu.h:223
223 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:223
#1 0xffffffff801dfdec in db_fncall (dummy1=Variable "dummy1" is not
available.
) at /usr/src/sys/ddb/db_command.c:548
#2 0xffffffff801e0121 in db_command (last_cmdp=0xffffffff80bbd9e0,
cmd_table=Variable "cmd_table" is not available.
) at /usr/src/sys/ddb/db_command.c:445
#3 0xffffffff801e0370 in db_command_loop () at
/usr/src/sys/ddb/db_command.c:498
#4 0xffffffff801e2349 in db_trap (type=Variable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:229
#5 0xffffffff805bab85 in kdb_trap (type=3, code=0,
tf=0xffffff810f0cf5e0) at /usr/src/sys/kern/subr_kdb.c:534
#6 0xffffffff8083daf1 in trap (frame=0xffffff810f0cf5e0) at
/usr/src/sys/amd64/amd64/trap.c:613
#7 0xffffffff80823883 in calltrap () at
/usr/src/sys/amd64/amd64/exception.S:224
#8 0xffffffff805bad5d in kdb_enter (why=0xffffffff80936f79 "panic",
msg=0xa <Address 0xa out of bounds>) at cpufunc.h:63
#9 0xffffffff8058b74b in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:558
#10 0xffffffff80592f0c in _sx_xlock (sx=dwarf2_read_address: Corrupted
DWARF expression.
) at /usr/src/sys/kern/kern_sx.c:285
#11 0xffffffff8105fc56 in zfs_freebsd_reclaim (ap=Variable "ap" is not
available.
) at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:4361
#12 0xffffffff8061ae05 in vgonel (vp=0xffffff00503fa1d8) at vnode_if.h:830
#13 0xffffffff8061e975 in vflush (mp=0xffffff00503ebbc0, rootrefs=0,
flags=0, td=0xffffff0050248000) at /usr/src/sys/kern/vfs_subr.c:2449
#14 0xffffffff8105a598 in zfs_umount (vfsp=0xffffff00503ebbc0, fflag=524288)
at
/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:996
#15 0xffffffff80616336 in dounmount (mp=0xffffff00503ebbc0,
flags=524288, td=Variable "td" is not available.
) at /usr/src/sys/kern/vfs_mount.c:1289
#16 0xffffffff8061be54 in vfs_unmountall () at
/usr/src/sys/kern/vfs_subr.c:3141
#17 0xffffffff8058b58f in boot (howto=0) at
/usr/src/sys/kern/kern_shutdown.c:401
#18 0xffffffff8058b8b8 in reboot (td=Variable "td" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:173
#19 0xffffffff8083d4af in syscall (frame=0xffffff810f0cfc80) at
/usr/src/sys/amd64/amd64/trap.c:984
#20 0xffffffff80823b61 in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:373
#21 0x000000080078f96c in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)
More information about the freebsd-fs
mailing list