Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 14:50:00 GMT
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: kern/186051: [vmware] [panic] FreeBSD 8.4+, 9.x+, 10.0 guest panic with VMWare Server on boot
Message-ID:  <201404281450.s3SEo0r3066539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/186051; it has been noted by GNATS.

From: John Baldwin <jhb@freebsd.org>
To: Steven Spence <freebsd@stratum16.com>
Cc: bug-followup@freebsd.org
Subject: Re: kern/186051: [vmware] [panic] FreeBSD 8.4+, 9.x+, 10.0 guest panic with VMWare Server on boot
Date: Mon, 28 Apr 2014 10:32:23 -0400

 This is a multi-part message in MIME format.
 
 --nextPart3286674.ppVH4CbPFD
 Content-Transfer-Encoding: 7Bit
 Content-Type: text/plain; charset="us-ascii"
 
 On Monday, April 21, 2014 01:45:10 PM Steven Spence wrote:
 > Output of "sysctl machdep.idle"
 > 
 > machdep.idle: amdc1e
 > 
 > This is from a 8.3-RELEASE-p15 box.
 
 Hummm.  We really shouldn't be doing anything differently.  However, we do a
 bit more (including a wrmsr) during idle halt on your machine.  Can you build
 a stable/8 kernel with debug symbols in an 8.3 guest and capture the panic
 messages from booting that kernel?
 
 > Thanks,
 > Steven
 > 
 > On 04/21/2014 12:37 PM, John Baldwin wrote:
 > > It appears to be crashing because VMWare is raising a privileged
 > > instruction trap in the OS when it invokes 'hlt'.  That seems like a bug
 > > in VMWare.  There isn't a way to disable 'hlt' from the loader prompt
 > > unfortunately.
 > > 
 > > Can you show the output of 'sysctl machdep.idle' under your working
 > > kernel?
 
 -- 
 John Baldwin
 
 --nextPart3286674.ppVH4CbPFD
 Content-Transfer-Encoding: 7Bit
 Content-Type: text/html; charset="us-ascii"
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">;
 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
 p, li { white-space: pre-wrap; }
 </style></head><body style=" font-family:'Monospace'; font-size:10pt; font-weight:400; font-style:normal;">
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Monday, April 21, 2014 01:45:10 PM Steven Spence wrote:</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Output of &quot;sysctl machdep.idle&quot;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; machdep.idle: amdc1e</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; This is from a 8.3-RELEASE-p15 box.</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hummm.  We really shouldn't be doing anything differently.  However, we do a</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">bit more (including a wrmsr) during idle halt on your machine.  Can you build</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">a stable/8 kernel with debug symbols in an 8.3 guest and capture the panic</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">messages from booting that kernel?</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Thanks,</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Steven</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; On 04/21/2014 12:37 PM, John Baldwin wrote:</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; It appears to be crashing because VMWare is raising a privileged</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; instruction trap in the OS when it invokes 'hlt'.  That seems like a bug</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; in VMWare.  There isn't a way to disable 'hlt' from the loader prompt</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; unfortunately.</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; </p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; Can you show the output of 'sysctl machdep.idle' under your working</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; kernel?</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">John Baldwin</p></body></html>
 --nextPart3286674.ppVH4CbPFD--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404281450.s3SEo0r3066539>