panic: mutex Giant not owned ...

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Sun, 8 May 2005 10:17:19 -0700
I'm suddenly getting the following panic reliably on ia64 when going
multi-user. I have no idea what caused this ATM (but I can guess), so
if anyone has any clues, let me know. So far it looks ia64 specific,
which worries me...

\begin{console}
	:
Trying to mount root from ufs:/dev/da0p2
panic: mutex Giant not owned at ../../../kern/kern_mutex.c:299
KDB: enter: panic
[thread pid 1 tid 100008 ]
Stopped at      kdb_enter+0x81: [F1]    nop.f 0x0
db> wh
Tracing pid 1 tid 100008 td 0xe00000007c9bebe0
kdb_enter(0xe0000000045fbf10, 0xe0000000042c60b0, 0x814, 
0xa00000003114c4e8) at kdb_enter+0x81
panic(0xe0000000045fb180, 0xe0000000045fb2d8, 0xe0000000045fb040, 
0x12b) at panic+0x200
_mtx_assert(0xe0000000047126f8, 0x1, 0xe0000000045fb040, 0x12b) at 
_mtx_assert+0xd0
_mtx_unlock_flags(0xe0000000047126f8, 0x0, 0xe000000004615768, 0xb2) at 
_mtx_unlock_flags+0xc0
unlock_and_deallocate(0xa00000003114c5b0, 0xa00000003114c5f0, 
0xa00000003114c5d0, 0xe00000000452e6f0, 0x18b9, 0x18b9) at 
unlock_and_deallocate+0x380
vm_fault(0xe00000007d190000, 0xa00000002ed94000, 0x2, 0x0, 
0xa00000003114c5b0, 0xa00000003114c5d0, 0xa00000003114c5b0, 
0xe0000000045fb040) at vm_fault+0x2b40
trap(0x14, 0xa00000003114d000) at trap+0x7b0
ivt_Data_TLB() at ivt_Data_TLB+0x1c0
--- trapframe at 0xa00000003114d000
copystr() at copystr+0x11
copyinstr(0x9ffffffffffffff2, 0xa00000002ed94000, 0x400, 
0xa00000003114d4c0) at copyinstr+0xb0
exec_copyin_args(0xa00000003114d4d0, 0x9ffffffffffffff2, 0x0, 
0x9fffffffffffffd8, 0x0) at exec_copyin_args+0x140
execve(0xe00000007c9bebe0, 0xa00000003114d520, 0xe000000004268b00, 
0x716, 0xe00000000470f8d8) at execve+0x40
start_init(0x9fffffffffffffd8, 0x9ffffffffffffff2, 0xe0000000046c41d2, 
0xe0000000046c41c8) at start_init+0x500
fork_exit(0xe000000004628b50, 0x0, 0xa00000003114d550) at 
fork_exit+0x160
enter_userland() at enter_userland
db> show all p
   pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
    44 e00000007c98f980    0     0     0 0000204 [SLPQ - 
0xa000000031255540][SLP] schedcpu
    43 e00000007c8f8000    0     0     0 0000204 [SLPQ - 
0xe000000004725c38][SLP] nfsiod 3
    42 e00000007c8f8330    0     0     0 0000204 [SLPQ - 
0xe000000004725c30][SLP] nfsiod 2
    41 e00000007c8f8660    0     0     0 0000204 [SLPQ - 
0xe000000004725c28][SLP] nfsiod 1
    40 e00000007c8f8990    0     0     0 0000204 [SLPQ - 
0xe000000004725c20][SLP] nfsiod 0
    39 e00000007c8f8cc0    0     0     0 0000204 [SLPQ syncer 
0xe0000000047134d0][SLP] syncer
    38 e00000007c8f8ff0    0     0     0 0000204 [SLPQ vlruwt 
0xe00000007c8f8ff0][SLP] vnlru
    37 e00000007c8f9320    0     0     0 0000204 [SLPQ psleep 
0xe00000000471d08c][SLP] bufdaemon
    36 e00000007c8f9650    0     0     0 000020c [SLPQ pgzero 
0xe0000000047279c0][SLP] pagezero
    35 e00000007c8f9980    0     0     0 0000204 [SLPQ psleep 
0xe0000000047270b4][SLP] vmdaemon
    34 e00000007c8fa000    0     0     0 0000204 [SLPQ psleep 
0xe00000000472709c][SLP] pagedaemon
    33 e00000007c990990    0     0     0 0000204 [IWAIT] intr: uart2
    32 e00000007c990cc0    0     0     0 0000204 [IWAIT] intr: isp0
    31 e00000007c990ff0    0     0     0 0000204 [IWAIT] intr: fxp0
    30 e00000007c991320    0     0     0 0000204 [IWAIT] intr: pcm0
    29 e00000007c991650    0     0     0 0000204 [IWAIT] intr: ichsmb0
    28 e00000007c991980    0     0     0 0000204 [SLPQ usbtsk 
0xe000000004706ce8][SLP] usbtask
    27 e00000007c98e000    0     0     0 0000204 [SLPQ usbevt 
0xe000000000622420][SLP] usb0
    26 e00000007c98e330    0     0     0 0000204 [IWAIT] intr: uhci0
    25 e00000007c98e660    0     0     0 0000204 [IWAIT] intr: ata1
    24 e00000007c98e990    0     0     0 0000204 [IWAIT] intr: ata0
    23 e00000007c98ecc0    0     0     0 0000204 [IWAIT] swi0: uart uart+
    22 e00000007c98eff0    0     0     0 0000204 [IWAIT] intr: puc0
     9 e00000007c948330    0     0     0 0000204 [SLPQ actask 
0xe000000004702780][SLP] acpi_task2
     8 e00000007c948660    0     0     0 0000204 [SLPQ actask 
0xe000000004702780][SLP] acpi_task1
     7 e00000007c948990    0     0     0 0000204 [SLPQ actask 
0xe000000004702780][SLP] acpi_task0
    21 e00000007c948cc0    0     0     0 0000204 [IWAIT] intr: acpi0
     6 e00000007c948ff0    0     0     0 0000204 [SLPQ - 
0xe000000000554100][SLP] kqueue taskq
    20 e00000007c949320    0     0     0 0000204 [IWAIT] swi6: acpitaskq
    19 e00000007c949650    0     0     0 0000204 [IWAIT] swi5:+
     5 e00000007c949980    0     0     0 0000204 [SLPQ - 
0xe0000000002a2300][SLP] thread taskq
    18 e00000007c990000    0     0     0 0000204 [IWAIT] swi6:+
    17 e00000007c990330    0     0     0 0000204 [IWAIT] swi6: task queue
    16 e00000007c990660    0     0     0 0000204 [IWAIT] swi2: cambio
    15 e00000007c9bc000    0     0     0 0000204 [SLPQ - 
0xe000000004703a60][SLP] yarrow
     4 e00000007c9bc330    0     0     0 0000204 [SLPQ - 
0xe00000000470ec80][SLP] g_down
     3 e00000007c9bc660    0     0     0 0000204 [SLPQ - 
0xe00000000470ec78][SLP] g_up
     2 e00000007c9bc990    0     0     0 0000204 [SLPQ - 
0xe00000000470ec68][SLP] g_event
    14 e00000007c9bccc0    0     0     0 0000204 [IWAIT] swi3: vm
    13 e00000007c9bcff0    0     0     0 000020c [RUNQ] swi4: clock
    12 e00000007c9bd320    0     0     0 0000204 [IWAIT] swi1: net
    11 e00000007c9bd650    0     0     0 000020c [Can run] idle
     1 e00000007c9bd980    0     0     0 0000200 [CPU 0] swapper
    10 e00000007c948000    0     0     0 0000204 [SLPQ ktrace 
0xe00000000470fb80][SLP] ktrace
     0 e00000000470ed90    0     0     0 0000200 [SLPQ sched 
0xe00000000470ed90][SLP] swapper
\end{console}

-- 
  Marcel Moolenaar         USPA: A-39004          marcel_at_xcllnt.net
Received on Sun May 08 2005 - 15:17:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC