i386/123768: [panic] [vm] 7.0-STABLE locking issue on Soekris
net4801 (sys/vm/vm_pageout.c)
Alexander
freebsd at nagilum.org
Sun May 18 20:30:06 UTC 2008
The following reply was made to PR i386/123768; it has been noted by GNATS.
From: Alexander <freebsd at nagilum.org>
To: bug-followup at freebsd.org
Cc:
Subject: Re: i386/123768: [panic] [vm] 7.0-STABLE locking issue on Soekris
net4801 (sys/vm/vm_pageout.c)
Date: Sun, 18 May 2008 22:22:56 +0200
I just got another crash:
root at cakebox /var/crash > kgdb -v /boot/kernel/kernel /var/crash/vmcore.2
kgdb: core file: /var/crash/vmcore.2
kgdb: kernel image: /boot/kernel/kernel
[GDB will not be able to debug user-mode threads: =20
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions=
.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
There is no member named pathname.
Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from =20
/boot/kernel/ng_ether.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ng_ether.ko
Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from =20
/boot/kernel/netgraph.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/netgraph.ko
Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols =20
from /boot/kernel/geom_journal.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_journal.ko
Unread portion of the kernel message buffer:
lockmgr: thread 0xc0fdf440 unlocking unheld lock
panic: vn_finished_write: neg cnt
Uptime: 1d2h19m52s
Physical memory: 123 MB
Dumping 59 MB: 44 28 12
#0 doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:195
#1 0xc0504669 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:41=
8
#2 0xc0504820 in panic (fmt=3DVariable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:572
#3 0xc0574115 in vn_finished_write (mp=3D0xc0feb538)
at /usr/src/sys/kern/vfs_vnops.c:1049
#4 0xc0637816 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:1028
#5 0xc04e8d7b in fork_exit (callout=3D0xc0636a30 <vm_pageout>, arg=3D0x0,
frame=3D0xc7b6ad38) at /usr/src/sys/kern/kern_fork.c:783
#6 0xc0646ab0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:2=
05
(kgdb) x 0xc7b6ad38
0xc7b6ad38: 0x00000000
Some time after I the machine was running again I also saw this (for =20
the first time) on the console:
fsync: giving up on dirty
0xc1286550: tag devfs, type VCHR
usecount 1, writecount 0, refcount 5 mountedhere 0xc115e300
flags ()
v_object 0xc12e0b24 ref 0 pages 7
lock type devfs: EXCL (count 1) by thread 0xc11d8aa0 (pid 1071)
dev ad0s1d.eli.journal
GEOM_JOURNAL: Cannot suspend file system /export/home (error=3D35).
fsync: giving up on dirty
0xc1286550: tag devfs, type VCHR
usecount 1, writecount 0, refcount 5 mountedhere 0xc115e300
flags ()
v_object 0xc12e0b24 ref 0 pages 7
lock type devfs: EXCL (count 1) by thread 0xc11d8aa0 (pid 1071)
dev ad0s1d.eli.journal
GEOM_JOURNAL: Cannot suspend file system /export/home (error=3D35).
I looked:
root at cakebox ~ > ps -axp 1071
PID TT STAT TIME COMMAND
1071 ?? DL 0:00.92 [g_journal switcher]
----------------------------------------------------------------
cakebox.homeunix.net - all the machine one needs..
More information about the freebsd-i386
mailing list