panic: mutex Giant not owned at sys/kern/vfs_subr.c:2029

From: Cy Schubert <Cy.Schubert_at_komquats.com>
Date: Tue, 07 Feb 2006 04:26:28 -0800
Just and FYI. Now that my little patch has brought my testbed back into 
operation, I get the fa mutex Giant panic at boot.

cwsys$ console cwtest
/boot/kernel/kernel text=0x2e7b04 data=0x39924+0x2ef28 
syms=[0x4+0x44260+0x4+0x560a3]
no such file or directory
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 56 seconds...

Type '?' for a list of commands, 'help' for more detailed help.
OK include /boot/cwtest/foobar
|

cwtest.foobar loader file selected
unload complete
currdev set to disk2s1a:
/boot/kernel/kernel text=0x4e4f0c data=0x84c80+0xa02ac 
syms=[0x4+0x686d0+0x4+0x7fcb3]
new kernel has been loaded

OK boot
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 7.0-CURRENT #2: Mon Feb  6 20:51:27 PST 2006
    root_at_cwsys:/export/obj/opt/src/cvs-current/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 83886080 (80 MB)
avail memory = 72331264 (68 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0
x376,0xf000-0xf00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem 
0xe1001000-0xe100107f irq 5 at device 18.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:da:80:28:96
ahc0: <Adaptec 2940 SCSI adapter> port 0x6100-0x61ff mem 
0xe1000000-0xe1000fff irq 5 at device 19.0 on pci0
ahc0: [GIANT-LOCKED]
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
vgapci0: <VGA-compatible display> port 0x6200-0x62ff mem 
0xe0000000-0xe0ffffff,0xe1002000-0xe1002fff irq 9 at device 20.0 on pci0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xca7ff,0xdc000-0xd
ffff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ed0 at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
ed0: Ethernet address: 00:40:05:55:fe:74
ed0: type NE2000 (16 bit)
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
aha1 at port 0x330-0x333 irq 11 drq 5 on isa0
aha1: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
aha1: [GIANT-LOCKED]
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounter "TSC" frequency 119753474 Hz quality 800
Timecounters tick every 10.000 msec
Waiting 5 seconds for SCSI devices to settle
ad0: 408MB <Seagate ST3491A 07.07.01> at ata0-master WDMA1
ad2: 76351MB <SAMSUNG SP0802N TK100-24> at ata1-master WDMA2
acd0: CDROM <MATSHITA CR-588/LS13> at ata1-slave PIO4
da0 at ahc0 bus 0 target 0 lun 0
da0: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 1030MB (2110812 512 byte sectors: 64H 32S/T 1030C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <QUANTUM TRB850S 043C> Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 8)
da1: 810MB (1660299 512 byte sectors: 64H 32S/T 810C)
Trying to mount root from ufs:/dev/ad2s1a
Loading configuration files.
/dev/ad0s1b is smaller than physical memory
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: adding /dev/ad0s1b as swap device
swapon: /dev/da0s1b: No such file or directory
swapon: adding /dev/da1s1b as swap device
swapon: adding /dev/ad2s1b as swap device
Starting file system checks:
/dev/ad2s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1a: clean, 182088 free (776 frags, 22664 blocks, 0.2% 
fragmentation)
/dev/da1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da1s1a: clean, 507862 free (5006 frags, 62857 blocks, 0.7% 
fragmentation)
/dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s1a: clean, 230364 free (3012 frags, 28419 blocks, 0.6% 
fragmentation)
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 262215 free (1103 frags, 32639 blocks, 0.3% 
fragmentation)
/dev/ad2s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1e: clean, 2533185 free (6633 frags, 315819 blocks, 0.2% 
fragmentation)/dev/ad2s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1g: clean, 28063893 free (91157 frags, 3496592 blocks, 0.1% 
fragmentation)
/dev/da0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s1e: clean, 177150 free (5022 frags, 21516 blocks, 1.1% 
fragmentation)
mount option <dev> is unknown
mount_mfs: mount exited with error code 1
Setting hostname: cwtest.
vfs.nfsrv.async: 0 -> 1
xl0: link state changed to UP
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::240:5ff:fe55:fe74%ed0 prefixlen 64 tentative scopeid 0x2
        inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255
        ether 00:40:05:55:fe:74
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet6 fe80::250:daff:fe80:2896%xl0 prefixlen 64 tentative scopeid 
0x1
        inet 10.1.2.2 netmask 0xffffff00 broadcast 10.1.2.255
        ether 00:50:da:80:28:96
        media: Ethernet autoselect (10baseT/UTP)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
add net default: gateway 10.1.2.254
Additional routing options:.
Starting devd.
Mounting NFS file systems:.
Creating and/or trimming log files:.
Starting syslogd.
Checking for core dump on /dev/ad0s1b...
savecore: no dumps found
Starting rpcbind.
Setting NIS domain: cwsent.com.
Starting ypxfrd.
Starting ypserv.
Starting ypbind.
NFS access cache time=0
Starting amd.
Clearing /tmp.
panic: mutex Giant not owned at /opt/src/cvs-current/src/sys/kern/vfs_subr.c
:2029
cpuid = 0
KDB: enter: panic
[thread pid 367 tid 100039 ]
Stopped at      kdb_enter+0x2b: nop
db> trace
Tracing pid 367 tid 100039 td 0xc17574e0
kdb_enter(c08b6e6d) at kdb_enter+0x2b
panic(c08b60bb,c08cba52,c08c0caf,7ed,c18e171c) at panic+0x126
_mtx_assert(c0984248,1,c08c0caf,7ed) at _mtx_assert+0x66
vrele(c18e171c) at vrele+0x4e
fchdir(c17574e0,c6c17d04,1,0,9) at fchdir+0x2c5
syscall(3b,3b,3b,a000a20,a0001d0) at syscall+0x285
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (13, FreeBSD ELF32, fchdir), eip = 0x280d13e7, esp = 
0xbfbfedac, ebp = 0xbfbfedd8 ---
db> show registers
cs                0x20
ds                0x28
es                0x28
fs                 0x8
ss                0x28
eax               0x12
ecx         0xc1033000
edx                  0
ebx         0xc6c17bf4
esp         0xc6c17bc8
ebp         0xc6c17bc8
esi                0x1
edi         0xc08b60bb
eip         0xc068e86b  kdb_enter+0x2b
efl              0x282
dr0                  0
dr1                  0
dr2                  0
dr3                  0
dr4         0xffff0ff0
dr5              0x400
dr6         0xffff0ff0
dr7              0x400
kdb_enter+0x2b: nop
db>



Cheers,
Cy Schubert <Cy.Schubert_at_komquats.com>
Web:  http://www.komquats.com and http://www.bcbodybuilder.com
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org
BC Government:  <Cy.Schubert_at_gov.bc.ca>

    "Lift long enough and I believe arrogance is replaced by
    humility and fear by courage and selfishness by generosity
    and rudeness by compassion and caring."
        -- Dave Draper
Received on Tue Feb 07 2006 - 11:26:34 UTC

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