VMware3 on recent 5.2-CURRENT

Jean-Baptiste Quenot jb.quenot at caraldi.com
Thu Apr 1 00:13:18 PST 2004


* Mike Silbersack:

> On Wed, 24 Mar 2004, Jean-Baptiste Quenot wrote:
>
> > I read your [1]problem report  about VMWare crashing when starting a
> > virtual machine  on FreeBSD 5.2.   I use FreeBSD  5.2.1-RELEASE with
> > vmware3, and it  keeps crashing the whole system as  soon as I power
> > the VM on, no matter the guest OS is.
> >
> > Have  you been  able to  run VMWare  successfully?  Should  I simply
> > remove WITNESS from the kernel config?
>
> I  just tested  -current with  WITNESS enabled,  and the  only witness
> warning that vmware caused was a  warning in the sound driver.  VMWare
> continued to run properly, I saw no lockup.
>
> My assumption  is that  there is  some locking bug  in 5.2.1  that has
> since been fixed, so you may have to cvsup to -current in order to get
> vmware to work better.

Since I upgraded to 5.2-CURRENT, the system crashes as soon as the vmmon
module is loaded,  with or without WITNESS.  Disabling ACPI  by typing 2
at the boot prompt does not help either.

Please  find below  some  transcriptions  of the  panics.   If you  need
complete stack traces, I can manage to do it...

------------------------------------------------------------------------
Booting with WITNESS disabled
------------------------------------------------------------------------
on pre-existing device (maj=0, min=0, name=console)
at line 495 in file /usr/src/sys/kern/kern_conf.c
cpuid=0;

db> trace
__panic
make_dev		+0x98
init_module		+0x83
vmmon_modevent		+0x2d
module_register_init	+0x5a
linker_file_sysinit	+0x7d
linker_load_file	+0xdd
linker_load_module
kldload
syscall

db> panic

Fatal trap 3: breakpoint instruction fault while in kernel mode

------------------------------------------------------------------------
Booting with WITNESS enabled
------------------------------------------------------------------------
panic: _mtx_lock_sleep: recursed on non-recursive mutex
at line 79 in file /usr/src/sys/kern/kern_conf.c

Fatal trap 12: page fault while in kernel mode
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


More information about the freebsd-emulation mailing list