Re: ZFS kernel panic

From: Pascal Hofstee <caelian_at_gmail.com>
Date: Tue, 28 Aug 2007 17:01:07 +0200
On Tue, 2007-08-28 at 16:27 +0200, Pascal Hofstee wrote:
> uname -a:
> FreeBSD trinity.zion 7.0-CURRENT FreeBSD 7.0-CURRENT #29: Sun Aug 26
> 20:19:12 CEST 2007     pascal_at_trinity.zion:/usr/obj/usr/src/sys/TRINITY
> i386
> 
> panic: ZFS: I/O failure (write on <unknown> off 0: zio 0xc66a9cf0 [L0
> ZFS plain file] 20000L/20000P DVA[0]=<0:a126e0000:20000> fletcher2
> uncompressed LE contiguous birth=7004722 fill=1
> cksum=2dc0c354bd8ccc27:85745b74c1352a7f:72188a8646f7f624:28d89f21264ed4f2): e^
> cpuid = 0
> KDB: enter: panic
> panic: from debugger
> cpuid = 0
> Uptime: 13h56m31s
> Physical memory: 2027 MB
> Dumping 292 MB: 277 261 245 229 213 197 181 165 149 133 117 101 85 69 53
> 37 21 5

ok ... reading a bit further in the developer's handbook i was able to
figure out how to make kgdb properly load the zfs.ko.symbol file and
managed to get an actual backtrace. If additional information is
required let me know and i'll see what i can do.

(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc075e377 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc075e66e in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0495f67 in db_panic (addr=Could not find the frame base for
"db_panic".
) at /usr/src/sys/ddb/db_command.c:433
#4  0xc04966c5 in db_command_loop ()
at /usr/src/sys/ddb/db_command.c:401
#5  0xc0498105 in db_trap (type=3, code=0)
at /usr/src/sys/ddb/db_main.c:222
#6  0xc07868b5 in kdb_trap (type=3, code=0, tf=0xe88deb4c)
at /usr/src/sys/kern/subr_kdb.c:502
#7  0xc0a25ecb in trap (frame=0xe88deb4c)
at /usr/src/sys/i386/i386/trap.c:621
#8  0xc0a0b60b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#9  0xc0786a32 in kdb_enter (msg=0xc0ab4433 "panic") at cpufunc.h:60
#10 0xc075e654 in panic (fmt=0xc5ec1f94 "ZFS: %s (%s on %s off %llx: zio
%p %s): error %d")
    at /usr/src/sys/kern/kern_shutdown.c:547
#11 0xc5ea124c in zfs_freebsd_setattr (ap=0xc66a9cf0)

at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:2325
#12 0xc5ea1e43 in zvol_worker (arg=0xc66a9cf0)

at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zvol.c:322
#13 0xc5ea259b in zvol_create_cb (os=0x0, arg=0xe88dece0, tx=0xc66a9cf0)

at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zvol.c:408
#14 0xc5e48c40 in dmu_sendbackup (tosnap=0xc5ee50cc,
fromsnap=0xe88ded38, fp=0x9)

at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dmu_send.c:269
#15 0xc073de77 in fork_exit (callout=0xc5e48b00 <dump_free+48>,
arg=0xc5ee50cc, frame=0xe88ded38)
    at /usr/src/sys/kern/kern_fork.c:797
#16 0xc0a0b680 in fork_trampoline ()
at /usr/src/sys/i386/i386/exception.s:205

-- 
Pascal Hofstee <caelian_at_gmail.com>
Received on Tue Aug 28 2007 - 13:01:13 UTC

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