panic: mutex Giant owned at .../base/head/sys/kern/kern_exit.c:131

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Thu, 30 Jul 2009 23:36:46 -0700
All,

I got the following panic after I had to import my ZFS file system on  
ia64.
The following panic happened when executing "zpool import":

panic: mutex Giant owned at /nfs/freebsd/base/head/sys/kern/ 
kern_exit.c:131
cpuid = 0
KDB: enter: panic
[thread pid 2202 tid 100108 ]
Stopped at      kdb_enter+0x92: [I2]    addl  
r14=0xffffffffffe1c290,gp ;;
db> bt
Tracing pid 2202 tid 100108 td 0xe00000001185a000
kdb_enter(0xe0000000046dbf90, 0xe0000000046dbf90, 0xe000000004317c90,  
0x793) at kdb_enter+0x92
panic(0xe0000000046da108, 0xe0000000046da650, 0xe0000000046d5d20,  
0x83) at panic+0x2f0
_mtx_assert(0xe000000004821008, 0x0, 0xe0000000046d5d20, 0x83,  
0xe0000000042c4ee0) at _mtx_assert+0x200
exit1(0xe00000001185a000, 0x0, 0xe0000000042df290, 0x48d) at exit1+0x40
kproc_exit(0x0, 0xe0000000046d79b0, 0xe00000001184daa8,  
0xe00000001184d9b0) at kproc_exit+0x130
spa_async_thread(0xe000000011372000, 0x1, 0xe0000000046d5ff0, 0x33e)  
at spa_async_thread+0x1a0
fork_exit(0xe0000000047941a0, 0xe000000011372000, 0xa0000000c5de5550)  
at fork_exit+0x110
enter_userland() at enter_userland

db> show alllocks
Process 2202 (solthread 0xe000000) thread 0xe00000001185a000 (100108)
exclusive sleep mutex Giant (Giant) r = 1 (0xe000000004821008) locked  
_at_ /nfs/freebsd/base/head/sys/kern/vfs_lookup.c:749
Process 1807 (sshd) thread 0xe000000011536ae0 (100057)
exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xe0000000119283a0) locked  
_at_ /nfs/freebsd/base/head/sys/kern/uipc_sockbuf.c:148

db> ps
   pid  ppid  pgrp   uid   state   wmesg         wchan        cmd
  2202     1     0     0  RL      CPU 0                        
[solthread 0xe000000]
  2201     0     0     0  SL      tx->tx_s 0xe000000011cc2e38  
[txg_thread_enter]
  2200     0     0     0  SL      tx->tx_q 0xe000000011cc2e58  
[txg_thread_enter]
  2199     0     0     0  SL      vgeom:io 0xe000000011316d90  
[vdev:worker da0p5]
  2198     0     0     0  SL      tq->tq_d 0xe0000000116374a0 [spa_zio]
  2197     0     0     0  SL      tq->tq_d 0xe0000000116375c0 [spa_zio]
  2196     0     0     0  SL      tq->tq_d 0xe0000000116376e0 [spa_zio]
  2195     0     0     0  SL      tq->tq_d 0xe000000011637800 [spa_zio]
  2194     0     0     0  SL      tq->tq_d 0xe000000011637920 [spa_zio]
  2193     0     0     0  SL      tq->tq_d 0xe000000011637a40 [spa_zio]
  2192     0     0     0  SL      tq->tq_d 0xe000000011637b60 [spa_zio]
  2191     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2190     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2189     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2188     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2187     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2186     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2185     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2184     0     0     0  SL      tq->tq_d 0xe000000011637c80 [spa_zio]
  2183     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2182     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2181     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2180     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2179     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2178     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2177     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2176     0     0     0  SL      tq->tq_d 0xe000000011637da0 [spa_zio]
  2175     0     0     0  SL      tq->tq_d 0xe000000011d42060 [spa_zio]
  2174     0     0     0  SL      tq->tq_d 0xe000000011d42180 [spa_zio]
  2173     0     0     0  SL      tq->tq_d 0xe000000011d422a0 [spa_zio]
  2145  1810  2145     0  R+                                  zpool
  2101  1806  2101   501  S+      ttyin    0xe000000010cac4a8 tcsh
  2092     0     0     0  SL      -        0xe0000000049cf890 [nfsiod 4]
  2052     0     0     0  SL      -        0xe0000000049cf888 [nfsiod 3]
  2023     0     0     0  SL      -        0xe0000000049cf880 [nfsiod 2]
  2022     0     0     0  SL      -        0xe0000000049cf878 [nfsiod 1]
  2021     0     0     0  SL      -        0xe0000000049cf870 [nfsiod 0]
  1810  1809  1810   501  Ss+     pause    0xe00000001156e4e8 tcsh
  1809  1807  1807   501  S       select   0xe000000011628640 sshd
  1807  1733  1807     0  Ss      sbwait   0xe0000000119283ec sshd
  1806     1  1806     0  Ss+     wait     0xe000000011571120 login
  1775     1  1775     0  Ss      select   0xe000000011623540 inetd
  1748     1  1748     0  Ss      nanslp   0xe000000004813350 cron
  1742     1  1742    25  Ss      pause    0xe00000001184d608 sendmail
  1738     1  1738     0  Ss      select   0xe0000000114cdc40 sendmail
  1733     1  1733     0  Ss      select   0xe0000000114ca540 sshd
  1726     1  1726     1  Ss      sbwait   0xe0000000115e8694 rwhod
  1696     1  1696     0  Ss      select   0xe000000011620b40 ntpd
  1611     1  1611     0  Ss      rpcsvc   0xe0000000114cbc20 NLM:  
master
  1605     1  1605     0  Ss      select   0xe000000011623240 rpc.statd
  1530     1  1530     0  Ss      select   0xe000000011314940 ypbind
  1512     1  1512     0  Ss      select   0xe0000000113153c0 rpcbind
  1493     1  1493     0  Ss      select   0xe000000011626440 syslogd
  1378     1  1378     0  Ss      select   0xe000000011318e40 devd
   106     0     0     0  SL      l2arc_fe 0xa0000000006af600  
[l2arc_feed_thread]
   105     0     0     0  SL      arc_recl 0xa0000000006a7160  
[arc_reclaim_thread]
   102     0     0     0  SL      vacv     0xa0000000006a6760 [vaclean]
   101     0     0     0  SL      tq->tq_d 0xe000000011636060  
[system_taskq]
   100     0     0     0  SL      tq->tq_d 0xe000000011636060  
[system_taskq]
    33     0     0     0  SL      -        0xe0000000048132a8 [schedcpu]
    30     0     0     0  SL      sdflush  0xe0000000048144c8  
[softdepflush]
    29     0     0     0  SL      syncer   0xe0000000049ca170 [syncer]
    28     0     0     0  SL      vlruwt   0xe000000011430890 [vnlru]
    27     0     0     0  SL      psleep   0xe000000004813998  
[bufdaemon]
    26     0     0     0  SL      pgzero   0xe0000000048147dc [pagezero]
     9     0     0     0  SL      psleep   0xe000000004814778 [vmdaemon]
     8     0     0     0  SL      psleep   0xe00000000481478c  
[pagedaemon]
    25     0     0     0  SL      wmsg     0xa0000000000c6dd0 [usbus2]
    24     0     0     0  SL      wmsg     0xa0000000000c6d78 [usbus2]
    23     0     0     0  SL      wmsg     0xa0000000000c6d20 [usbus2]
    22     0     0     0  SL      wmsg     0xa0000000000c6cc8 [usbus2]
    21     0     0     0  SL      wmsg     0xa0000000000bd460 [usbus1]
    20     0     0     0  SL      wmsg     0xa0000000000bd408 [usbus1]
    19     0     0     0  SL      wmsg     0xa0000000000bd3b0 [usbus1]
    18     0     0     0  SL      wmsg     0xa0000000000bd358 [usbus1]
    17     0     0     0  SL      wmsg     0xa0000000000b9460 [usbus0]
    16     0     0     0  SL      wmsg     0xa0000000000b9408 [usbus0]
    15     0     0     0  SL      wmsg     0xa0000000000b93b0 [usbus0]
    14     0     0     0  SL      wmsg     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   0xe000000004812918  
[acpi_thermal]
     5     0     0     0  SL      ccb_scan 0xe000000004814a20 [xpt_thrd]
    12     0     0     0  SL      -        0xe0000000048132a8 [yarrow]
     4     0     0     0  SL      -        0xe000000004812d80 [g_down]
     3     0     0     0  SL      -        0xe000000004812d78 [g_up]
     2     0     0     0  SL      -        0xe000000004812d68 [g_event]
    11     0     0     0  RL      (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]
100022                   I                                   [swi5: +]
100018                   I                                   [swi2:  
cambio]
100015                   I                                   [swi6:  
task queue]
100014                   I                                   [swi6:  
Giant taskq]
100007                   I                                   [swi1:  
netisr 0]
100006                   I                                   [swi4:  
clock]
100005                   RunQ                                [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
100021                   D       -        0xe000000010c24c80  
[acpi_task_2]
100020                   D       -        0xe000000010c24c80  
[acpi_task_1]
100019                   D       -        0xe000000010c24c80  
[acpi_task_0]
100016                   D       -        0xe000000010c24f80 [kqueue  
taskq]
100013                   D       -        0xe000000010c25200 [thread  
taskq]
100011                   D       -        0xe000000010c19900 [firmware  
taskq]
100000                   D       sched    0xe00000000481e760 [swapper]

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Fri Jul 31 2009 - 04:36:47 UTC

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