Date: Sun, 12 Mar 2006 02:38:31 +0200 From: "Alexander I. Mogilny" <sg@astral.ntu-kpi.kiev.ua> To: freebsd-current@freebsd.org Subject: panic: mutex Giant not owned at /usr/src/sys/kern/vfs_subr.c:1943 Message-ID: <20060312003831.GA30264@astral.ntu-kpi.kiev.ua>
next in thread | raw e-mail | index | archive | help
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
(kgdb) where
#0 doadump () at pcpu.h:166
#1 0xc0582470 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402
#2 0xc058271b in panic (fmt=0xc076000f "from debugger") at /usr/src/sys/kern/kern_shutdown.c:558
#3 0xc04756fd in db_panic (addr=-1067853541, have_addr=0, count=-1, modif=0xe2103984 "") at /usr/src/sys/ddb/db_command.c:426
#4 0xc0475694 in db_command (last_cmdp=0xc07f3d64, cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:395
#5 0xc0475752 in db_command_loop () at /usr/src/sys/ddb/db_command.c:446
#6 0xc0477369 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
#7 0xc059db97 in kdb_trap (type=3, code=0, tf=0xe2103b0c) at /usr/src/sys/kern/subr_kdb.c:485
#8 0xc0722e80 in trap (frame=
{tf_fs = -502267896, tf_es = -1067843544, tf_ds = -1065943000, tf_edi = 1, tf_esi = -1065899213, tf_ebp = -502252724, tf_isp = -502252744, tf_ebx = -502252680, tf_edx = 0, tf_ecx = -1056878592, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1067853541, tf_cs = 32, tf_eflags = 642, tf_esp = -502252692, tf_ss = -1067964725}) at /usr/src/sys/i386/i386/trap.c:622
#9 0xc071160a in calltrap () at /usr/src/sys/i386/i386/exception.s:137
#10 0xc059d91b in kdb_enter (msg=0x12 <Address 0x12 out of bounds>) at cpufunc.h:60
#11 0xc05826cb in panic (fmt=0xc077ab33 "mutex %s not owned at %s:%d") at /usr/src/sys/kern/kern_shutdown.c:542
#12 0xc05798c2 in _mtx_assert (m=0xc07fe908, what=-1056878592, file=0xc07855e4 "/usr/src/sys/kern/vfs_subr.c", line=1943)
at /usr/src/sys/kern/kern_mutex.c:755
#13 0xc05dd9a3 in vget (vp=0xc4db2b2c, flags=8194, td=0xc49f8cb0) at /usr/src/sys/kern/vfs_subr.c:1943
#14 0xc05d5c96 in vfs_hash_get (mp=0xc4a19400, hash=353286, flags=2, td=0xc49f8cb0, vpp=0xe2103c90, fn=0, arg=0x0)
at /usr/src/sys/kern/vfs_hash.c:81
#15 0xc06b1b8b in ffs_vget (mp=0xc4a19400, ino=353286, flags=2, vpp=0xe2103c90) at pcpu.h:163
#16 0xc06aa331 in handle_workitem_remove (dirrem=0xc4a14c60, xp=0x12) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3544
#17 0xc06a5d27 in process_worklist_item (mp=0xc4a19400, flags=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:947
#18 0xc06a5ad8 in softdep_process_worklist (mp=0xc4a19400, full=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:838
#19 0xc06a58a7 in softdep_flush () at /usr/src/sys/ufs/ffs/ffs_softdep.c:752
#20 0xc056bbf4 in fork_exit (callout=0xc06a57b8 <softdep_flush>, arg=0x0, frame=0xe2103d38)
at /usr/src/sys/kern/kern_fork.c:802
#21 0xc071166c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:198
(kgdb) l *0xc05dd9a3
0xc05dd9a3 is in vget (/usr/src/sys/kern/vfs_subr.c:1943).
1938 int error;
1939
1940 error = 0;
1941 oldflags = flags;
1942 oweinact = 0;
1943 VFS_ASSERT_GIANT(vp->v_mount);
1944 if ((flags & LK_INTERLOCK) == 0)
1945 VI_LOCK(vp);
1946 /*
1947 * If the inactive call was deferred because vput() was called
Core file available.
--
AIM-UANIC
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=koi8-r
Content-Disposition: attachment; filename=SG
# general kernel options
ident SG
maxusers 0
# makeoptions
makeoptions DEBUG=-g
options GEOM_GPT
options PANIC_REBOOT_WAIT_TIME=16
# smp options
device apic
# cpu options
cpu I686_CPU
options PERFMON
# scheduler options
options SCHED_ULE
#options SCHED_4BSD
# compatability options
options COMPAT_43
options COMPAT_FREEBSD4
options COMPAT_FREEBSD5
options SYSVSHM
options SYSVMSG
options SYSVSEM
options COMPAT_LINUX
# debugging options
options KDB
options DDB
options GDB
options KTRACE
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options WITNESS_SKIPSPIN
options PREEMPTION
options BREAK_TO_DEBUGGER
# performance monitoring options
device hwpmc
options HWPMC_HOOKS
# networking options
options INET
options NETSMB
options LIBMCHAIN
options MROUTING
options PIM
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=1000
options IPSTEALTH
options TCP_DROP_SYNFIN
options DUMMYNET
options ZERO_COPY_SOCKETS
options DEVICE_POLLING
options HZ=1000
device loop
device ether
device vlan
device wlan
device wlan_wep
device wlan_tkip
device wlan_ccmp
device wlan_xauth
device wlan_acl
device sl
device bpf
device pf
device pflog
device pfsync
device miibus
device rl
device bge
# filesystem options
options SOFTUPDATES
options FFS
options UFS_ACL
options UFS_DIRHASH
options NFSSERVER
options NFSCLIENT
options CD9660
options MSDOSFS
options NTFS
options NULLFS
options PROCFS
options PSEUDOFS
options SMBFS
options QUOTA
options CD9660_ICONV
options MSDOSFS_ICONV
options NTFS_ICONV
options MSDOSFS_LARGE
device random
device mem
# posix P1003.1B
options _KPOSIX_PRIORITY_SCHEDULING
# security policy parameters
options MAC
# misc devices and options
options LIBICONV
device pty
device md
# hardware device configuration
options KBD_INSTALL_CDEV
options VGA_WIDTH90
options SC_PIXEL_MODE
options SC_HISTORY_SIZE=10000
options ATA_STATIC_ID
options VESA
device io
#
device drm
device r128drm
device radeondrm
#
device cpufreq
device atkbdc
device atkbd
device psm
device vga
device splash
device sc
device ata
device atadisk
device atapicd
device sio
device npx
#
device sound
device snd_atiixp
#
device cbb
device pccard
device cardbus
device pmtimer
device apm
#
device iicbus
device iicbb
device ic
device iic
device iicsmb
# hardware bus configuration
device isa
device eisa
device pci
device agp
# smbus support
device smbus
device intpm
device alpm
device ichsmb
device viapm
device amdpm
device amdsmb
device nfpm
device nfsmb
device smb
# parallel bus support
device ppc
device ppbus
device plip
device ppi
# usb support
device scbus
device da
device uhci
device ohci
#device ehci
device usb
device ugen
device uhid
device ukbd
device umass
device ums
# crypto subsystem
device crypto
device cryptodev
# Wireless NIC cards
device an # Aironet 4500/4800 802.11 wireless NICs.
device awi # BayStack 660 and others
device ral # Ralink Technology RT2500 wireless NICs.
device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
--6c2NcOVqGQ03X4Wi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060312003831.GA30264>
