ZFS regression: Giant lock held by kldload syscall (panic: witness_warn)

Marcel Moolenaar xcllnt at mac.com
Thu Aug 20 01:53:47 UTC 2009


All,

I can't boot with ZFS enabled on my ia64 box:

     :
Trying to mount root from ufs:da0p3
kldload: can't load zfs: No such file or directory
/etc/rc: WARNING: Unable to load kernel module zfs
Entropy harvesting: interrupts ethernet point_to_point kickstart.
/dev/da0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0p3: clean, 8743374 free (100606 frags, 1080346 blocks, 0.6%  
fragmentation)
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
ZFS filesystem version 13
ZFS storage pool version 13
System call kldload returning with the following locks held:
exclusive sleep mutex Giant (Giant) r = 0 (0xe000000004821188) locked  
@ /nfs/freebsd/base/head/sys/modules/zfs/../../cddl/compat/opensolaris/ 
kern/opensolaris_kobj.c:228
panic: witness_warn
cpuid = 0
KDB: enter: panic
[thread pid 88 tid 100058 ]
Stopped at      kdb_enter+0x92: [I2]    addl  
r14=0xffffffffffe1c308,gp ;;
db> bt
Tracing pid 88 tid 100058 td 0xe000000011558740
kdb_enter(0xe0000000046dc040, 0xe0000000046dc040, 0xe000000004317870,  
0x793) at kdb_enter+0x92
panic(0xe0000000046ab268, 0xe0000000046e4618) at panic+0x2f0
witness_warn(0x2, 0x0, 0xe0000000047139b0, 0xe0000000046e5ba8) at  
witness_warn+0x500
syscall(0xa0000000c5c55400, 0x130, 0x2e, 0xe000000011558740,  
0xe000000010ce7568, 0x0, 0x130, 0x130) at syscall+0x520
epc_syscall_return() at epc_syscall_return
db> ps
   pid  ppid  pgrp   uid   state   wmesg         wchan        cmd
    90     0     0     0  SL      l2arc_fe 0xa0000000006ac978  
[l2arc_feed_thread]
    89     0     0     0  SL      arc_recl 0xa0000000006a44d8  
[arc_reclaim_thread]
    88    86    23     0  R+      CPU 0                       kldload
    86    23    23     0  S+      wait     0xe0000000115c1120 sh
    23     1    23     0  Ss+     wait     0xe000000011416000 sh
    22     0     0     0  SL      -        0xe0000000048133b0 [schedcpu]
    19     0     0     0  SL      sdflush  0xe0000000048145d0  
[softdepflush]
    18     0     0     0  SL      syncer   0xe0000000049ca2e0 [syncer]
    17     0     0     0  SL      vlruwt   0xe000000010c1c448 [vnlru]
    16     0     0     0  SL      psleep   0xe000000004813aa0  
[bufdaemon]
    15     0     0     0  SL      pgzero   0xe0000000048148ec [pagezero]
     9     0     0     0  SL      psleep   0xe000000004814888 [vmdaemon]
     8     0     0     0  SL      psleep   0xe00000000481489c  
[pagedaemon]
    14     0     0     0  SL      (threaded)                  usb
100045                   D       -        0xa0000000000c6dd0 [usbus2]
100044                   D       -        0xa0000000000c6d78 [usbus2]
100043                   D       -        0xa0000000000c6d20 [usbus2]
100042                   D       -        0xa0000000000c6cc8 [usbus2]
100041                   D       -        0xa0000000000bd460 [usbus1]
100040                   D       -        0xa0000000000bd408 [usbus1]
100039                   D       -        0xa0000000000bd3b0 [usbus1]
100038                   D       -        0xa0000000000bd358 [usbus1]
100037                   D       -        0xa0000000000b9460 [usbus0]
100036                   D       -        0xa0000000000b9408 [usbus0]
100035                   D       -        0xa0000000000b93b0 [usbus0]
100034                   D       -        0xa0000000000b9358 [usbus0]
     7     0     0     0  SL      idle     0xa0000000000ca300  
[mpt_raid0]
     6     0     0     0  SL      idle     0xa0000000000ca000  
[mpt_recovery0]
    13     0     0     0  SL      tzpoll   0xe000000004812a18  
[acpi_thermal]
     5     0     0     0  SL      ccb_scan 0xe000000004814ba0 [xpt_thrd]
    12     0     0     0  SL      -        0xe0000000048133b0 [yarrow]
     4     0     0     0  SL      -        0xe000000004812e88 [g_down]
     3     0     0     0  SL      -        0xe000000004812e80 [g_up]
     2     0     0     0  SL      -        0xe000000004812e70 [g_event]
    11     0     0     0  WL      (threaded)                  intr
100033                   I                                   [irq30:  
bge1]
100032                   I                                   [irq29:  
bge0]
100029                   I                                   [irq27:  
mpt0]
100028                   I                                   [irq19:  
ehci0]
100027                   I                                   [irq18:  
ohci1]
100026                   I                                   [irq17:  
ohci0]
100025                   I                                   [swi0:  
uart uart]
100023                   I                                   [irq25:  
acpi0]
100018                   I                                   [swi2:  
cambio]
100016                   I                                   [swi6:  
task queue]
100015                   I                                   [swi6:  
Giant taskq]
100013                   I                                   [swi5: +]
100007                   I                                   [swi1:  
netisr 0]
100006                   I                                   [swi4:  
clock]
100005                   I                                   [swi4:  
clock]
100004                   I                                   [swi3: vm]
    10     0     0     0  RL      (threaded)                  idle
100003                   CanRun                              [idle:  
cpu0]
100002                   Run     CPU 1                       [idle:  
cpu1]
     1     0     1     0  SLs     wait     0xe000000010c1c000 [init]
     0     0     0     0  SLs     (threaded)                  kernel
100022                   D       -        0xe000000010c24780 [kqueue  
taskq]
100021                   D       -        0xe000000010c24c00  
[acpi_task_2]
100020                   D       -        0xe000000010c24c00  
[acpi_task_1]
100019                   D       -        0xe000000010c24c00  
[acpi_task_0]
100014                   D       -        0xe000000010c25100 [thread  
taskq]
100011                   D       -        0xe000000010c19900 [firmware  
taskq]
100000                   D       sched    0xe00000000481e8e0 [swapper]


Should I stop loading the opensolaris and zfs modules in the loader?

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-current mailing list