panic's in 10-CURRENT r235646 in VMware

Matthias Apitz guru at unixarea.de
Tue Jun 19 13:50:00 UTC 2012


El día Saturday, June 16, 2012 a las 08:11:40AM -0400, John Baldwin escribió:

> > I have configured now dumpdevice and -dir and will produce a bt next
> > time;
> > 
> > btw: it seems that the panic only occurs when a second VM (also with
> > FreeBSD) is running; the 2nd VM (my production env) has 2 GByte memory
> > configured, while the crashing one only 512 MByte; the host itself has 4
> > GByte real mem; we will see what the bt shows...
> 
> For future reference, you can just run 'tr' at the DDB prompt to get a stack 
> trace and take a screen shot of that.

the bt is this:

# kgdb kernel.debug /var/crash/vmcore.0 
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"...

Unread portion of the kernel message buffer:
panic: mutex page lock not owned at /usr/src/sys/vm/vm_page.c:2060
cpuid = 0
KDB: enter: panic

Reading symbols from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko...done.
Loaded symbols for /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko
Reading symbols from /usr/local/lib/vmware-tools/modules/drivers/vmxnet.ko...done.
Loaded symbols for /usr/local/lib/vmware-tools/modules/drivers/vmxnet.ko
Reading symbols from /usr/local/lib/vmware-tools/modules/drivers/vmhgfs.ko...done.
Loaded symbols for /usr/local/lib/vmware-tools/modules/drivers/vmhgfs.ko
#0  doadump (textdump=0) at pcpu.h:244
244             __asm("movl %%fs:0,%0" : "=r" (td));

(kgdb) bt
#0  doadump (textdump=0) at pcpu.h:244
#1  0xc051c1b3 in db_dump (dummy=-1062488582, dummy2=0, dummy3=-1, 
    dummy4=0xc3f01864 "") at /usr/src/sys/ddb/db_command.c:538
#2  0xc051b8d1 in db_command (last_cmdp=0xc114925c, cmd_table=0x0, dopager=1)
    at /usr/src/sys/ddb/db_command.c:449
#3  0xc051ba2a in db_command_loop () at /usr/src/sys/ddb/db_command.c:502
#4  0xc051da1d in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:231
#5  0xc0abbb16 in kdb_trap (type=3, code=0, tf=0xc3f01a60)
    at /usr/src/sys/kern/subr_kdb.c:654
#6  0xc0dfab7b in trap (frame=0xc3f01a60) at /usr/src/sys/i386/i386/trap.c:710
#7  0xc0de406c in calltrap () at /usr/src/sys/i386/i386/exception.s:169
#8  0xc0abb5fa in kdb_enter (why=0xc0fc9d88 "panic", msg=0xc0fc9d88 "panic")
    at cpufunc.h:71
#9  0xc0a848dc in panic (fmt=0xc0fc7ebf "mutex %s not owned at %s:%d")
    at /usr/src/sys/kern/kern_shutdown.c:633
#10 0xc0a719d7 in _mtx_assert (m=0xc1304d80, what=4, 
    file=0xc10063f2 "/usr/src/sys/vm/vm_page.c", line=2060)
    at /usr/src/sys/kern/kern_mutex.c:747
#11 0xc0d11340 in vm_page_free_toq (m=0xc23daf78)
    at /usr/src/sys/vm/vm_page.c:2060
#12 0xc0d115b5 in vm_page_free (m=0xc23daf78) at /usr/src/sys/vm/vm_page.c:741
#13 0xc68b01ba in OS_ReservedPageFree ()
   from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko
---Type <return> to continue, or q <return> to quit---
#14 0xc68b05bc in BalloonPageFree ()
   from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko
#15 0xc68b0765 in Balloon_QueryAndExecute ()
   from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko
#16 0xc68afee6 in vmmemctl_poll ()
   from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko
#17 0xc0a99ecc in softclock (arg=0xc1185500)
    at /usr/src/sys/kern/kern_timeout.c:520
#18 0xc0a576e5 in intr_event_execute_handlers (p=0xc41d8598, ie=0xc41a8100)
    at /usr/src/sys/kern/kern_intr.c:1260
#19 0xc0a585b9 in ithread_loop (arg=0xc41b1730)
    at /usr/src/sys/kern/kern_intr.c:1273
#20 0xc0a549b8 in fork_exit (callout=0xc0a58510 <ithread_loop>, 
    arg=0xc41b1730, frame=0xc3f01d08) at /usr/src/sys/kern/kern_fork.c:992
#21 0xc0de4114 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:276
(kgdb) 

-- 
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the freebsd-current mailing list