From: Keir Fraser Subject: Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval" Date: Mon, 05 Jan 2009 21:51:05 +0000 Message-ID: References: <49627C6B.7000900@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0505431796==" Return-path: In-Reply-To: <49627C6B.7000900@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ben Guthro , Steve Prochniak Cc: Andrew Lyon , "Xen-Devel (E-mail)" , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0505431796== Content-type: multipart/alternative; boundary="B_3314037069_42557680" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3314037069_42557680 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. =8Cviridian=3D1=B9 needs to be specified in the domain config file. -- Keir On 05/01/2009 21:32, "Ben Guthro" wrote: > This was never accepted by upstream Xen, as originally submitted by Ky fr= om > Novell: >=20 > original submission: > http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.html >=20 >=20 >=20 > Steve Prochniak wrote on 01/05/2009 03:55 PM: >> =20 >> Andrew - you can run the "Novell Shim" which makes the hypervisor >> conform to the Microsoft spec enough that the guest OSs will turn off >> watchdog timeouts (0x101 BSoDs)... >>=20 >> Steve >>=20 >> -----Original Message----- >> From: Andrew Lyon [mailto:andrew.lyon@gmail.com] >> Sent: Monday, January 05, 2009 3:24 PM >> To: Steve Prochniak; Xen-Devel (E-mail); xen-users@lists.xensource.com >> Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied >> onasecondary processor within the allocated time interval" >>=20 >> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak >> wrote: >> =20 >> =20 >>> =20 >>> All Microsoft 6.0 and beyond Operating Systems have a sense of >>> 'enlightment' which means they try to talk to the underlying >>> =20 >>> =20 >> =20 >> hypervisor >> =20 >> =20 >>> =20 >>> - and if there is one, they do certain things like turn off 101 >>> bugchecks. The only real way to get Vista and beyond to work >>> =20 >>> =20 >> =20 >> correctly >> =20 >> =20 >>> =20 >>> with SMP is to make Xen conform to Microsoft's hypervisor spec. >>> =20 >>> =20 >> =20 >>=20 >> I vaguely recall there being a way to make xen "lie" to the OS about >> the type of hypervisor, it might only be a feature on the commercial >> citrix xenserver? >>=20 >> So basically there is no way to run Windows Vista or 2008 on Xen >> without risk of a 101 BSOD under load? >>=20 >> If that is true then its a severe problem and Xen is useless for newer >> MS OS's :( >>=20 >> Has anybody else had this problem and found a solution? >>=20 >> Andy >>=20 >>=20 >> =20 >> =20 >>> =20 >>> -----Original Message----- >>> From: xen-devel-bounces@lists.xensource.com >>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew >>> =20 >>> =20 >> =20 >> Lyon >> =20 >> =20 >>> =20 >>> Sent: Friday, January 02, 2009 1:34 PM >>> To: xen-users@lists.xensource.com; Xen-Devel (E-mail) >>> Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied >>> onasecondary processor within the allocated time interval" >>>=20 >>> On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon >>> >>> wrote: >>> =20 >>> =20 >>>> =20 >>>> Hi, >>>>=20 >>>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that >>>> =20 >>>> =20 >>> =20 >> =20 >> are >> =20 >> =20 >>> =20 >>>> =20 >>>> running and have multiple cpu's assigned often BSOD with code >>>> 0x00000101 "A clock interrupt was not recevied ona secondary >>>> processor within the allocated time interval" >>>>=20 >>>> It only happens if the load in dom0 is high enough to make the mouse >>>> pointer lagged, once the mouse fails to track in realtime the hvm's >>>> start to bsod within a few seconds. >>>>=20 >>>> I have tried several versions of Xen including 3.2, 3.3 and 3.3.1 >>>> =20 >>>> =20 >>> =20 >> =20 >> rc4, >> =20 >> =20 >>> =20 >>>> =20 >>>> and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg. >>>>=20 >>>> Here is a example config from one of my vista hvms, is there a >>>> timer/rtc setting that I need to add to avoid this problem? >>>>=20 >>>> import os, re >>>> arch =3D os.uname()[4] >>>> if re.search('64', arch): >>>> arch_libdir =3D 'lib64' >>>> else: >>>> arch_libdir =3D 'lib' >>>> kernel =3D "/usr/lib/xen/boot/hvmloader" >>>> builder=3D'hvm' >>>> memory =3D 2048 >>>> name =3D "Vistax86" >>>> uuid =3D "b7bd2f2f-169f-4789-8aee-eaa77c543c99" >>>> vcpus=3D8 >>>> vif =3D [ 'mac=3D00:16:3e:7d:bc:b1' ] >>>> disk =3D [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] >>>> device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm' >>>> boot=3D"d" >>>> sdl=3D0 >>>> vnc=3D1 >>>> vnclisten=3D"127.0.0.1" >>>> vncdisplay=3D11 >>>> vncpasswd=3D'vv8176a' >>>> stdvga=3D0 >>>> serial=3D'pty' >>>> usbdevice=3D'tablet' >>>>=20 >>>> =20 >>>> =20 >>> =20 >> =20 >> cpuid=3D['1:edx=3Dxxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=3Dxxxxxxxx00010000xxxxx >> =20 >> =20 >>> =20 >>> xxxxxxxxxxx','4,0:eax=3D001111xxxxxxxxxxxxxxxxxxxxxxxxxx'] >>> =20 >>> =20 >>>> =20 >>>> keymap=3D'en-gb' >>>>=20 >>>> Andy >>>>=20 >>>> =20 >>>> =20 >>> =20 >>> I think this is a known issue which has incorrectly been marked as >>> FIXED in bugzilla: >>>=20 >>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D1117 >>>=20 >>> there is a second bug report of the same problem, this time with more >>> details: >>>=20 >>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D1065 >>>=20 >>> Is there a fix? >>>=20 >>> Andy >>>=20 >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>>=20 >>> =20 >>> =20 >> =20 >>=20 >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> =20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel --B_3314037069_42557680 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied on= asecondary processor within the allocated time interval" Alternative Viridian interface support was checked in. When enabled, it ou= ght to be sufficient to disable these bugchecks. ‘viridian=3D1’ ne= eds to be specified in the domain config file.

 -- Keir

On 05/01/2009 21:32, "Ben Guthro" <bguthro@virtualiron.com> wrote:

<= SPAN STYLE=3D'font-size:11pt'>This was never accepted by upstream Xen, as orig= inally submitted by Ky from Novell:

original submission:
http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.= html



Steve Prochniak wrote on 01/05/2009 03:55 PM:
<= SPAN STYLE=3D'font-size:11pt'>
Andrew - you can run the "Novell Shim" which makes the hypervisor=
conform to the Microsoft spec enough that the guest OSs will turn off
watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:andrew.lyo= n@gmail.com]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); xen-users@lists.xensource.com
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied<= BR> onasecondary processor within the allocated time interval"

On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
<sprochniak@virtualiron.com>= <mailto:sprochniak@virtualir= on.com>  wrote:
  
 
<= SPAN STYLE=3D'font-size:11pt'>
All Microsoft 6.0 and beyond Operating Systems have a sense of
'enlightment' which means they try to talk to the underlying
    
 
=
hypervisor
  
 
<= SPAN STYLE=3D'font-size:11pt'>
- and if there is one, they do certain things like turn off 101
bugchecks.  The only real way to get Vista and beyond to work
    
 
=
correctly
  
 
<= SPAN STYLE=3D'font-size:11pt'>
with SMP is to make Xen conform to Microsoft's hypervisor spec.
    
 
=

I vaguely recall there being a way to make xen "lie" to the OS ab= out
the type of hypervisor, it might only be a feature on the commercial
citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen
without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer
MS OS's :(

Has anybody else had this problem and found a solution?

Andy


  
 
<= SPAN STYLE=3D'font-size:11pt'>
-----Original Message-----
From: xen-devel-bounces@lis= ts.xensource.com
[mailto:xen-devel-bo= unces@lists.xensource.com] On Behalf Of Andrew
    
 
=
Lyon
  
 
<= SPAN STYLE=3D'font-size:11pt'>
Sent: Friday, January 02, 2009 1:34 PM
To: xen-users@lists.xensource.com; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied
onasecondary processor within the allocated time interval"

On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon <
andrew.lyon@gmail.com> <mailto:andrew.lyon@gmail.com>
wrote:
    
 
<= SPAN STYLE=3D'font-size:11pt'>
Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that
      
 
=
=
are
  
 
<= SPAN STYLE=3D'font-size:11pt'>
<= SPAN STYLE=3D'font-size:11pt'>
running and have multiple cpu's assigned often  BSOD with code
0x00000101 "A clock interrupt was not recevied ona  secondary
processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse
pointer lagged, once the mouse fails to track in realtime the hvm's
start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1
      
 
=
=
rc4,
  
 
<= SPAN STYLE=3D'font-size:11pt'>
<= SPAN STYLE=3D'font-size:11pt'>
and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a
timer/rtc setting that I need to add to avoid this problem?

import os, re
arch =3D os.uname()[4]
if re.search('64', arch):
   arch_libdir =3D 'lib64'
else:
   arch_libdir =3D 'lib'
kernel =3D "/usr/lib/xen/boot/hvmloader"
builder=3D'hvm'
memory =3D 2048
name =3D "Vistax86"
uuid =3D "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=3D8
vif =3D [ 'mac=3D00:16:3e:7d:bc:b1' ]
disk =3D [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot=3D"d"
sdl=3D0
vnc=3D1
vnclisten=3D"127.0.0.1"
vncdisplay=3D11
vncpasswd=3D'vv8176a'
stdvga=3D0
serial=3D'pty'
usbdevice=3D'tablet'

      
 
=
=
cpuid=3D['1:edx=3Dxxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=3Dxxxxxxxx00010000xxxxx   
 
<= SPAN STYLE=3D'font-size:11pt'>
xxxxxxxxxxx','4,0:eax=3D001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
    
 
<= SPAN STYLE=3D'font-size:11pt'>
keymap=3D'en-gb'

Andy

      
 
=
I think this is a known issue which has incorrectly been marked as
FIXED in bugzilla:

http:= //bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D1117

there is a second bug report of the same problem, this time with more
details:

http:= //bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D1065

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com http://lists.xensource.com/x= en-devel

    
 
=

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com http://lists.xensource.com/x= en-devel
  
=

___________= ____________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com http://lists.xensource.com/x= en-devel
--B_3314037069_42557680-- --===============0505431796== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0505431796==--