[REPORT] ZFS panic on recent 7-current

Norikatsu Shigemura nork at FreeBSD.org
Sun Mar 18 13:30:07 UTC 2007


Hi pjd.

	I'm using your ZFS 2007.03.03 version in recent 7-current.  I got
	a panic.

	# kldload zfs
	# zfs mount -a
	# ls /home/ncvs
	  (immediately panic)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x14c
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0x85d3a107
stack pointer           = 0x28:0xfd49ba40
frame pointer           = 0x28:0xfd49ba70
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         = 1676 (ls)
[thread pid 1676 tid 100270 ]
Stopped at      zfs_getattr+0x197:      movl    0x14c(%eax),%eax
db> bt
Tracing pid 1676 tid 100270 td 0x86bea3a0
zfs_getattr(fd49ba8c,fd49bb28,80535958,85d49b80,fd49ba8c,...) at zfs_getattr+0x197
VOP_GETATTR_APV(85d49b80,fd49ba8c,8071ece0,86503d9c,fd49baac,...) at VOP_GETATTR_APV+0x3e
vn_stat(86503d9c,fd49bb94,85c07e80,0,86bea3a0,...) at vn_stat+0x58
kern_lstat(86bea3a0,40250268,0,fd49bc18,86840c6c,...) at kern_lstat+0x93
lstat(86bea3a0,fd49bd00,8,6,c,...) at lstat+0x2f
syscall(fd49bd38) at syscall+0x363
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (190, FreeBSD ELF32, lstat), eip = 0x401af273, esp = 0x7fbfe36c, ebp = 0x7fbfe408 ---
db> call doadump
Physical memory: 2039 MB
Dumping 115 MB: 100 84 68 52 36 20 4
Dump complete
= 0xf
db> reset
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	# cd /usr/obj/usr/src/sys/NADESICO 
	# make gdbinit
	# kgdb -n 9

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
Ready to go.  Enter 'tr' to connect to the remote target
with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port
or 'trf portno' to connect to the remote target with the firewire
interface.  portno defaults to 5556.

Type 'getsyms' after connection to load kld symbols.

If you're debugging a local system, you can use 'kldsyms' instead
to load the kld symbols.  That's a less obnoxious interface.
During symbol reading, debug info gives macro definition outside of any file: __STDC_VERSION__ 199901L.
During symbol reading, no terminating 0-type entry for macros in `.debug_macinfo' section.
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x14c
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0x85d3a107
stack pointer           = 0x28:0xfd49ba40
frame pointer           = 0x28:0xfd49ba70
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         = 1676 (ls)
Physical memory: 2039 MB
Dumping 115 MB: 100 84 68 52 36 20 4

#0  doadump () at pcpu.h:172
172             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) getsyms
During symbol reading, Incomplete CFI data; unspecified registers at 0x804a50a3.
Id Refs Address    Size     Name
 1   56 0x80400000 3e0c8c   kernel
 2    1 0x807e1000 44ec     nullfs.ko
 3    1 0x807e6000 61fc     geom_label.ko
 4    1 0x807ed000 6f80     geom_md.ko
 5    3 0x807f4000 276f8    linux.ko
 6    2 0x8081c000 4914     sysvmsg.ko
 7    2 0x80821000 6304     sysvsem.ko
 8    2 0x80828000 4b84     sysvshm.ko
 9    1 0x8082d000 632c     if_tap.ko
10    1 0x80834000 b504     snd_maestro3.ko
11    2 0x80840000 42120    sound.ko
12    2 0x80883000 245d0    usb.ko
13    1 0x808a8000 400c     ums.ko
14    2 0x808ad000 1799c    agp.ko
15    1 0x808c5000 c2e4     random.ko
16    6 0x808d2000 e90c     ata.ko
17    1 0x808e1000 22960    atapci.ko
18    1 0x80904000 3bb0     atadisk.ko
19    1 0x80908000 7ef4     atapicd.ko
20    1 0x80910000 3b94     atapifd.ko
21    1 0x80914000 4cc8     atapist.ko
22    1 0x80919000 1d30     io.ko
23    2 0x8091b000 4da8     mem.ko
24    1 0x80920000 4584     if_fwe.ko
25    4 0x80925000 15b58    firewire.ko
26    1 0x8093b000 11674    sym.ko
27    3 0x8094d000 3f61c    cam.ko
28    1 0x8098d000 a678     sbp.ko
29    1 0x80998000 2df0     dcons_crom.ko
30    1 0x8099b000 a808     hifn.ko
31    1 0x809a6000 64040    acpi.ko
32    2 0x8574f000 6000     procfs.ko
33    2 0x8575a000 6000     pseudofs.ko
34    1 0x857b2000 7000     linprocfs.ko
35    1 0x85aa0000 36000    nfsclient.ko
36    1 0x85c3d000 1f000    nfsserver.ko
37    1 0x85cb3000 a0000    zfs.ko
38    1 0x8609c000 8000     aio.ko
39    1 0x860b1000 1d000    kqemu.ko
40    1 0x86202000 20000    radeon.ko
41    1 0x86227000 f000     drm.ko
42    1 0x86368000 2000     rtc.ko
Select the list above with the mouse, paste into the screen
and then press ^D.  Yes, this is annoying.
 1   56 0x80400000 3e0c8c   kernel
 2    1 0x807e1000 44ec     nullfs.ko
 3    1 0x807e6000 61fc     geom_label.ko
 4    1 0x807ed000 6f80     geom_md.ko
 5    3 0x807f4000 276f8    linux.ko
 6    2 0x8081c000 4914     sysvmsg.ko
 7    2 0x80821000 6304     sysvsem.ko
 8    2 0x80828000 4b84     sysvshm.ko
 9    1 0x8082d000 632c     if_tap.ko
10    1 0x80834000 b504     snd_maestro3.ko
11    2 0x80840000 42120    sound.ko
12    2 0x80883000 245d0    usb.ko
13    1 0x808a8000 400c     ums.ko
14    2 0x808ad000 1799c    agp.ko
15    1 0x808c5000 c2e4     random.ko
16    6 0x808d2000 e90c     ata.ko
17    1 0x808e1000 22960    atapci.ko
18    1 0x80904000 3bb0     atadisk.ko
19    1 0x80908000 7ef4     atapicd.ko
20    1 0x80910000 3b94     atapifd.ko
21    1 0x80914000 4cc8     atapist.ko
22    1 0x80919000 1d30     io.ko
23    2 0x8091b000 4da8     mem.ko
24    1 0x80920000 4584     if_fwe.ko
25    4 0x80925000 15b58    firewire.ko
26    1 0x8093b000 11674    sym.ko
27    3 0x8094d000 3f61c    cam.ko
28    1 0x8098d000 a678     sbp.ko
29    1 0x80998000 2df0     dcons_crom.ko
30    1 0x8099b000 a808     hifn.ko
31    1 0x809a6000 64040    acpi.ko
32    2 0x8574f000 6000     procfs.ko
33    2 0x8575a000 6000     pseudofs.ko
34    1 0x857b2000 7000     linprocfs.ko
35    1 0x85aa0000 36000    nfsclient.ko
36    1 0x85c3d000 1f000    nfsserver.ko
37    1 0x85cb3000 a0000    zfs.ko
38    1 0x8609c000 8000     aio.ko
39    1 0x860b1000 1d000    kqemu.ko
40    1 0x86202000 20000    radeon.ko
41    1 0x86227000 f000     drm.ko
42    1 0x86368000 2000     rtc.ko
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/acpi/acpi/acpi.ko.debug" at
        .text_addr = 0x809b6a30
        .data_addr = 0x809f4000
        .bss_addr = 0x809f6680
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/agp/agp.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x808b2840
        .data_addr = 0x808c0260
        .bss_addr = 0x808c0f78
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/aio/aio.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8609e9d0
        .data_addr = 0x860a3000
        .bss_addr = 0x860a3a40
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/ata/ata.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x808d6160
        .data_addr = 0x808deb60
        .bss_addr = 0x808deed8
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapci/atapci.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x808e8e60
        .data_addr = 0x808ff000
        .bss_addr = 0x809009b4
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atadisk/atadisk.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80904f90
        .data_addr = 0x80906da0
        .bss_addr = 0x80906f58
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapicd/atapicd.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80909cb0
        .data_addr = 0x8090ede0
        .bss_addr = 0x8090efe8
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapifd/atapifd.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80910f10
        .data_addr = 0x80912da0
        .bss_addr = 0x80912f58
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ata/atapist/atapist.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80915330
        .data_addr = 0x80917cc0
        .bss_addr = 0x80917ee8
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/cam/cam.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80959650
        .data_addr = 0x80982640
        .bss_addr = 0x80985880
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/dcons_crom/dcons_crom.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80998b80
        .data_addr = 0x8099a100
        .bss_addr = 0x8099a278
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/drm/drm/drm.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8622a5e0
        .data_addr = 0x86235000
        .bss_addr = 0x86235a24
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/drm/radeon/radeon.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x862061c0
        .data_addr = 0x8621d000
        .bss_addr = 0x8621df00
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/firewire/firewire/firewire.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x809289c0
        .data_addr = 0x80937000
        .bss_addr = 0x80937d10
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/firewire/fwe/if_fwe.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80921130
        .data_addr = 0x809230c0
        .bss_addr = 0x80923408
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/firewire/sbp/sbp.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8098f7b0
        .data_addr = 0x80995000
        .bss_addr = 0x809955bc
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/geom/geom_label/geom_label.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x807e7b10
        .data_addr = 0x807eb340
        .bss_addr = 0x807eb510
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/hifn/hifn.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8099d4f0
        .data_addr = 0x809a4180
        .bss_addr = 0x809a4420
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/if_tap/if_tap.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8082ebd0
        .data_addr = 0x80831bc0
        .bss_addr = 0x80831fa8
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/io/io.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x809195f0
        .data_addr = 0x8091a740
        .bss_addr = 0x8091a868
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x857b45f0
        .data_addr = 0x857b8000
        .bss_addr = 0x857b8284
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/linux/linux.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x807fc7b0
        .data_addr = 0x808122a0
        .bss_addr = 0x80814a20
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/md/geom_md.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x807eedc0
        .data_addr = 0x807f2940
        .bss_addr = 0x807f2c00
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/mem/mem.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8091bff0
        .data_addr = 0x8091eaa0
        .bss_addr = 0x8091ed60
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/nfsclient/nfsclient.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x85aaa4f0
        .data_addr = 0x85ad31e0
        .bss_addr = 0x85ad4840
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/nfsserver/nfsserver.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x85c41bb0
        .data_addr = 0x85c560e0
        .bss_addr = 0x85c566c0
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/nullfs/nullfs.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x807e2420
        .data_addr = 0x807e4000
        .bss_addr = 0x807e4390
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/procfs/procfs.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x85750cb0
        .data_addr = 0x85754500
        .bss_addr = 0x8575485c
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/pseudofs/pseudofs.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8575bbe0
        .data_addr = 0x8575f740
        .bss_addr = 0x8575fb18
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/random/random.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x808c6ee0
        .data_addr = 0x808cf000
        .bss_addr = 0x808cf280
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sound/sound/sound.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8084efe0
        .data_addr = 0x80870100
        .bss_addr = 0x80876580
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sound/driver/maestro3/snd_maestro3.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80835d80
        .data_addr = 0x8083d0a0
        .bss_addr = 0x8083df7c
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sysvipc/sysvmsg/sysvmsg.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8081d440
        .data_addr = 0x8081f000
        .bss_addr = 0x8081f588
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80822780
        .data_addr = 0x80825880
        .bss_addr = 0x80825ea4
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sysvipc/sysvshm/sysvshm.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x808294a0
        .data_addr = 0x8082b000
        .bss_addr = 0x8082b5cc
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/sym/sym.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x8093cde0
        .data_addr = 0x80949000
        .bss_addr = 0x8094af24
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/ums/ums.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x808a8f80
        .data_addr = 0x808ab360
        .bss_addr = 0x808ab508
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/usb/usb.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x80888670
        .data_addr = 0x808a0000
        .bss_addr = 0x808a0da0
add symbol table from file "/usr/obj/usr/src/sys/NADESICO/modules/usr/src/sys/modules/zfs/zfs.ko.debug" at
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
        .text_addr = 0x85cc9e90
        .data_addr = 0x85d48000
        .bss_addr = 0x85d49f40
#0  doadump () at pcpu.h:172
During symbol reading, Incomplete CFI data; unspecified registers at 0x804a50a3.
During symbol reading, debug info gives macro definition outside of any file: __STDC_VERSION__ 199901L.
During symbol reading, no terminating 0-type entry for macros in `.debug_macinfo' section.
#1  0x80436fea in db_fncall (dummy1=0xfd49b7f4, dummy2=0x0, dummy3=0x70, dummy4=0xfd49b7e4 "")
    at /usr/src/sys/ddb/db_command.c:486
#2  0x80436d90 in db_command (last_cmdp=0x80720504, cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:401
#3  0x80436e75 in db_command_loop () at /usr/src/sys/ddb/db_command.c:453
#4  0x80439105 in db_trap (type=0xc, code=0x0) at /usr/src/sys/ddb/db_main.c:222
#5  0x804ceb7f in kdb_trap (type=0x0, code=0x0, tf=0xfd49ba00) at /usr/src/sys/kern/subr_kdb.c:502
#6  0x806a916c in trap_fatal (frame=0xfd49ba00, eva=0x14c) at /usr/src/sys/i386/i386/trap.c:859
#7  0x806a8e05 in trap_pfault (frame=0xfd49ba00, usermode=0x0, eva=0x14c) at /usr/src/sys/i386/i386/trap.c:777
#8  0x806a897c in trap (frame=0xfd49ba00) at /usr/src/sys/i386/i386/trap.c:462
#9  0x8069064b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0x85d3a107 in zfs_getattr (ap=0x0)
    at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1913
#11 0x806b3ede in VOP_GETATTR_APV (vop=0x0, a=0x86503d9c) at vnode_if.c:530
#12 0x80535958 in vn_stat (vp=0x86503d9c, sb=0xfd49bb94, active_cred=0x0, file_cred=0x0, td=0x86bea3a0)
    at vnode_if.h:285
#13 0x8052ffa3 in kern_lstat (td=0x86bea3a0, path=0x86503d9c "\002", pathseg=2253405596, sbp=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:2134
#14 0x8052fedf in lstat (td=0x0, uap=0xfd49bd00) at /usr/src/sys/kern/vfs_syscalls.c:2113
#15 0x806a95b3 in syscall (frame=0xfd49bd38) at /usr/src/sys/i386/i386/trap.c:1010
#16 0x806906b0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
#17 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) list *zfs_getattr+0x197
During symbol reading, symtab found for `pcpu.h', but that file
is not covered in the compilation unit's macro information.
0x85d3a107 is in zfs_getattr (/usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1913).
1908            vap->va_uid = zp->z_phys->zp_uid;
1909            vap->va_gid = zp->z_phys->zp_gid;
1910            vap->va_nodeid = zp->z_id;
1911            vap->va_nlink = MIN(pzp->zp_links, UINT32_MAX); /* nlink_t limit! */
1912            vap->va_size = pzp->zp_size;
1913            vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0];
1914            vap->va_seq = zp->z_seq;
1915            vap->va_flags = 0;      /* FreeBSD: Reset chflags(2) flags. */
1916
1917            ZFS_TIME_DECODE(&vap->va_atime, pzp->zp_atime);
(kgdb) 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


More information about the freebsd-fs mailing list