Kernel panic on zfs pool import (8.2-RELEASE #0 amd64)
Maciej Szumocki
szumo at szumo.net
Fri May 13 12:12:45 UTC 2011
Hi all,
I get a kernel panic when trying to import a zfs pool on boot:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x28
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff80defb93
stack pointer = 0x28:0xffffff8121139550
frame pointer = 0x28:0xffffff8121139580
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1110 (zpool)
trap number = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff805f4e0e at kdb_backtrace+0x5e
#1 0xffffffff805c2d07 at panic+0x187
#2 0xffffffff808ac600 at trap_fatal+0x290
#3 0xffffffff808ac9df at trap_pfault+0x28f
#4 0xffffffff808acebf at trap+0x3df
#5 0xffffffff80894fb4 at calltrap+0x8
#6 0xffffffff80df6b57 at vdev_mirror_child_select+0x67
#7 0xffffffff80df70fe at vdev_mirror_io_start+0x23e
#8 0xffffffff80e08287 at zio_execute+0x77
#9 0xffffffff80e0832d at zio_wait+0x2d
#10 0xffffffff80dba69a at arc_read_nolock+0x6ba
#11 0xffffffff80dc6c20 at dmu_objset_open_impl+0xd0
#12 0xffffffff80dd740a at dsl_pool_open+0x5a
#13 0xffffffff80de5822 at spa_load+0x352
#14 0xffffffff80de63f3 at spa_open_common+0x133
#15 0xffffffff80e17b73 at zfs_log_history+0x33
#16 0xffffffff80e17ecd at zfsdev_ioctl+0xbd
I've used Solaris Express 11 USB live image to import -Ff the pool (which
discarded 58 transactions) then export it, after which FreeBSD boots
and zpool import shows:
sentry# zpool import
pool: zfiles
id: 7626325216149300662
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://www.sun.com/msg/ZFS-8000-6X
config:
zfiles UNAVAIL missing device
raidz1 ONLINE
ad14 ONLINE
ad6 ONLINE
ad10 ONLINE
ad12 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
zdb output for that pool is:
sentry# zdb
zfiles
version=15
txg=0
pool_guid=7626325216149300662
vdev_tree
type='root'
id=0
guid=7626325216149300662
bad config type 16 for stats
children[0]
type='raidz'
id=0
guid=6439517435125662437
nparity=1
metaslab_array=23
metaslab_shift=35
ashift=9
asize=4000795590656
is_log=0
bad config type 16 for stats
children[0]
type='disk'
id=0
guid=16320455101718439450
path='/dev/ad14'
phys_path='/pci at 0,0/pci10de,563 at c/pci1095,7132 at 0/disk at 1,0:q'
whole_disk=0
DTL=146
bad config type 16 for stats
children[1]
type='disk'
id=1
guid=9430290414588001708
path='/dev/ad6'
phys_path='/pci at 0,0/pci1043,8308 at 9/disk at 1,0:q'
whole_disk=0
DTL=145
bad config type 16 for stats
children[2]
type='disk'
id=2
guid=9807797910141155672
path='/dev/ad10'
phys_path='/pci at 0,0/pci1043,8308 at 9/disk at 3,0:q'
whole_disk=0
DTL=144
bad config type 16 for stats
children[3]
type='disk'
id=3
guid=16777389692675440869
path='/dev/ad12'
phys_path='/pci at 0,0/pci10de,563 at c/pci1095,7132 at 0/disk at 0,0:c'
whole_disk=0
DTL=143
bad config type 16 for stats
name='zfiles'
state=1
timestamp=1304363844
hostid=619000
hostname='solaris'
Any recommendations?
Maciej Szumocki
More information about the freebsd-fs
mailing list