* Re: BSOD "A clock interrupt was not recevied ona secondary processor within the allocated time interval"
[not found] <f4527be0812290132p2f29afe1k5dbad3888ee552ba@mail.gmail.com>
@ 2009-01-02 18:33 ` Andrew Lyon
[not found] ` <B99564216C25704085A82B41C46DD342088343FA@exchange.katana.local>
0 siblings, 1 reply; 13+ messages in thread
From: Andrew Lyon @ 2009-01-02 18:33 UTC (permalink / raw)
To: xen-users@lists.xensource.com, Xen-Devel (E-mail)
On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon <andrew.lyon@gmail.com> wrote:
> Hi,
>
> When dom0 is under heavy load any Vista or Windows 2008 HVM's that are
> 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,
> 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 = os.uname()[4]
> if re.search('64', arch):
> arch_libdir = 'lib64'
> else:
> arch_libdir = 'lib'
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> memory = 2048
> name = "Vistax86"
> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
> vcpus=8
> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> boot="d"
> sdl=0
> vnc=1
> vnclisten="127.0.0.1"
> vncdisplay=11
> vncpasswd='vv8176a'
> stdvga=0
> serial='pty'
> usbdevice='tablet'
> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
> keymap='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=1117
there is a second bug report of the same problem, this time with more details:
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
Is there a fix?
Andy
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
[not found] ` <B99564216C25704085A82B41C46DD342088343FA@exchange.katana.local>
@ 2009-01-05 20:24 ` Andrew Lyon
2009-01-05 20:55 ` Steve Prochniak
0 siblings, 1 reply; 13+ messages in thread
From: Andrew Lyon @ 2009-01-05 20:24 UTC (permalink / raw)
To: Steve Prochniak, Xen-Devel (E-mail),
xen-users@lists.xensource.com
On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
<sprochniak@virtualiron.com> wrote:
> All Microsoft 6.0 and beyond Operating Systems have a sense of
> 'enlightment' which means they try to talk to the underlying hypervisor
> - 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
> 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 about
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
>
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew Lyon
> 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>
> wrote:
>> Hi,
>>
>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that are
>> 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,
>> 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 = os.uname()[4]
>> if re.search('64', arch):
>> arch_libdir = 'lib64'
>> else:
>> arch_libdir = 'lib'
>> kernel = "/usr/lib/xen/boot/hvmloader"
>> builder='hvm'
>> memory = 2048
>> name = "Vistax86"
>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
>> vcpus=8
>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
>> boot="d"
>> sdl=0
>> vnc=1
>> vnclisten="127.0.0.1"
>> vncdisplay=11
>> vncpasswd='vv8176a'
>> stdvga=0
>> serial='pty'
>> usbdevice='tablet'
>>
> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>> keymap='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=1117
>
> there is a second bug report of the same problem, this time with more
> details:
>
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
>
> Is there a fix?
>
> Andy
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-05 20:24 ` Re: BSOD "A clock interrupt was not recevied onasecondary " Andrew Lyon
@ 2009-01-05 20:55 ` Steve Prochniak
2009-01-05 21:32 ` Ben Guthro
2009-01-05 22:07 ` Andrew Lyon
0 siblings, 2 replies; 13+ messages in thread
From: Steve Prochniak @ 2009-01-05 20:55 UTC (permalink / raw)
To: Andrew Lyon, Xen-Devel (E-mail), xen-users
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.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"
On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
<sprochniak@virtualiron.com> wrote:
> All Microsoft 6.0 and beyond Operating Systems have a sense of
> 'enlightment' which means they try to talk to the underlying
hypervisor
> - 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
> 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 about
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
>
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
Lyon
> 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>
> wrote:
>> Hi,
>>
>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
are
>> 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,
>> 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 = os.uname()[4]
>> if re.search('64', arch):
>> arch_libdir = 'lib64'
>> else:
>> arch_libdir = 'lib'
>> kernel = "/usr/lib/xen/boot/hvmloader"
>> builder='hvm'
>> memory = 2048
>> name = "Vistax86"
>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
>> vcpus=8
>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
>> boot="d"
>> sdl=0
>> vnc=1
>> vnclisten="127.0.0.1"
>> vncdisplay=11
>> vncpasswd='vv8176a'
>> stdvga=0
>> serial='pty'
>> usbdevice='tablet'
>>
>
cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>> keymap='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=1117
>
> there is a second bug report of the same problem, this time with more
> details:
>
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
>
> Is there a fix?
>
> Andy
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-05 20:55 ` Steve Prochniak
@ 2009-01-05 21:32 ` Ben Guthro
2009-01-05 21:51 ` Keir Fraser
2009-01-05 22:07 ` Andrew Lyon
1 sibling, 1 reply; 13+ messages in thread
From: Ben Guthro @ 2009-01-05 21:32 UTC (permalink / raw)
To: Steve Prochniak; +Cc: Andrew Lyon, Xen-Devel (E-mail), xen-users
[-- Attachment #1.1: Type: text/plain, Size: 4443 bytes --]
This was never accepted by upstream Xen, as originally 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:
> 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.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"
>
> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
> <sprochniak@virtualiron.com> wrote:
>
>> All Microsoft 6.0 and beyond Operating Systems have a sense of
>> 'enlightment' which means they try to talk to the underlying
>>
> hypervisor
>
>> - 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
>
>> 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 about
> 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
>
>
>
>> -----Original Message-----
>> From: xen-devel-bounces@lists.xensource.com
>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
>>
> Lyon
>
>> 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>
>> wrote:
>>
>>> Hi,
>>>
>>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
>>>
> are
>
>>> 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,
>
>>> 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 = os.uname()[4]
>>> if re.search('64', arch):
>>> arch_libdir = 'lib64'
>>> else:
>>> arch_libdir = 'lib'
>>> kernel = "/usr/lib/xen/boot/hvmloader"
>>> builder='hvm'
>>> memory = 2048
>>> name = "Vistax86"
>>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
>>> vcpus=8
>>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
>>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
>>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
>>> boot="d"
>>> sdl=0
>>> vnc=1
>>> vnclisten="127.0.0.1"
>>> vncdisplay=11
>>> vncpasswd='vv8176a'
>>> stdvga=0
>>> serial='pty'
>>> usbdevice='tablet'
>>>
>>>
> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
>
>> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>>
>>> keymap='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=1117
>>
>> there is a second bug report of the same problem, this time with more
>> details:
>>
>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
>>
>> Is there a fix?
>>
>> Andy
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
[-- Attachment #1.2: Type: text/html, Size: 6679 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-05 21:32 ` Ben Guthro
@ 2009-01-05 21:51 ` Keir Fraser
2009-01-06 9:34 ` Andrew Lyon
2009-01-06 10:39 ` Steven Smith
0 siblings, 2 replies; 13+ messages in thread
From: Keir Fraser @ 2009-01-05 21:51 UTC (permalink / raw)
To: Ben Guthro, Steve Prochniak; +Cc: Andrew Lyon, Xen-Devel (E-mail), xen-users
[-- Attachment #1.1: Type: text/plain, Size: 5586 bytes --]
Alternative Viridian interface support was checked in. When enabled, it
ought to be sufficient to disable these bugchecks. viridian=1¹ needs to be
specified in the domain config file.
-- Keir
On 05/01/2009 21:32, "Ben Guthro" <bguthro@virtualiron.com> wrote:
> This was never accepted by upstream Xen, as originally 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:
>>
>> 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.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"
>>
>> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
>> <sprochniak@virtualiron.com> <mailto:sprochniak@virtualiron.com> wrote:
>>
>>
>>>
>>> All Microsoft 6.0 and beyond Operating Systems have a sense of
>>> 'enlightment' which means they try to talk to the underlying
>>>
>>>
>>
>> hypervisor
>>
>>
>>>
>>> - 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
>>
>>
>>>
>>> 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 about
>> 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
>>
>>
>>
>>
>>>
>>> -----Original Message-----
>>> From: xen-devel-bounces@lists.xensource.com
>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
>>>
>>>
>>
>> Lyon
>>
>>
>>>
>>> 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:
>>>
>>>
>>>>
>>>> Hi,
>>>>
>>>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
>>>>
>>>>
>>>
>>
>> are
>>
>>
>>>
>>>>
>>>> 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,
>>
>>
>>>
>>>>
>>>> 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 = os.uname()[4]
>>>> if re.search('64', arch):
>>>> arch_libdir = 'lib64'
>>>> else:
>>>> arch_libdir = 'lib'
>>>> kernel = "/usr/lib/xen/boot/hvmloader"
>>>> builder='hvm'
>>>> memory = 2048
>>>> name = "Vistax86"
>>>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
>>>> vcpus=8
>>>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
>>>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
>>>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
>>>> boot="d"
>>>> sdl=0
>>>> vnc=1
>>>> vnclisten="127.0.0.1"
>>>> vncdisplay=11
>>>> vncpasswd='vv8176a'
>>>> stdvga=0
>>>> serial='pty'
>>>> usbdevice='tablet'
>>>>
>>>>
>>>>
>>>
>>
>> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
>>
>>
>>>
>>> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>>>
>>>
>>>>
>>>> keymap='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=1117
>>>
>>> there is a second bug report of the same problem, this time with more
>>> details:
>>>
>>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
>>>
>>> Is there a fix?
>>>
>>> Andy
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 10499 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-05 20:55 ` Steve Prochniak
2009-01-05 21:32 ` Ben Guthro
@ 2009-01-05 22:07 ` Andrew Lyon
1 sibling, 0 replies; 13+ messages in thread
From: Andrew Lyon @ 2009-01-05 22:07 UTC (permalink / raw)
To: Steve Prochniak; +Cc: Xen-Devel (E-mail), xen-users
On Mon, Jan 5, 2009 at 8:55 PM, Steve Prochniak
<sprochniak@virtualiron.com> wrote:
> 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
Happy to give it a try, where can I obtain it?
>
> -----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"
>
> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
> <sprochniak@virtualiron.com> wrote:
>> All Microsoft 6.0 and beyond Operating Systems have a sense of
>> 'enlightment' which means they try to talk to the underlying
> hypervisor
>> - 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
>> 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 about
> 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
>
>
>>
>> -----Original Message-----
>> From: xen-devel-bounces@lists.xensource.com
>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
> Lyon
>> 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>
>> wrote:
>>> Hi,
>>>
>>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
> are
>>> 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,
>>> 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 = os.uname()[4]
>>> if re.search('64', arch):
>>> arch_libdir = 'lib64'
>>> else:
>>> arch_libdir = 'lib'
>>> kernel = "/usr/lib/xen/boot/hvmloader"
>>> builder='hvm'
>>> memory = 2048
>>> name = "Vistax86"
>>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
>>> vcpus=8
>>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
>>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
>>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
>>> boot="d"
>>> sdl=0
>>> vnc=1
>>> vnclisten="127.0.0.1"
>>> vncdisplay=11
>>> vncpasswd='vv8176a'
>>> stdvga=0
>>> serial='pty'
>>> usbdevice='tablet'
>>>
>>
> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
>> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>>> keymap='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=1117
>>
>> there is a second bug report of the same problem, this time with more
>> details:
>>
>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
>>
>> Is there a fix?
>>
>> Andy
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-05 21:51 ` Keir Fraser
@ 2009-01-06 9:34 ` Andrew Lyon
2009-01-06 9:44 ` Keir Fraser
2009-01-06 10:39 ` Steven Smith
1 sibling, 1 reply; 13+ messages in thread
From: Andrew Lyon @ 2009-01-06 9:34 UTC (permalink / raw)
To: Keir Fraser; +Cc: Xen-Devel (E-mail), Steve Prochniak, Ben Guthro, xen-users
On Mon, Jan 5, 2009 at 9:51 PM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
> Alternative Viridian interface support was checked in. When enabled, it
> ought to be sufficient to disable these bugchecks. 'viridian=1' needs to be
> specified in the domain config file.
Keir,
Are you sure that the code was checked in? I am running 3.3.1 rc4 but
adding that setting didnt seem to help, grep -r "viridian"
/usr/lib64/python2.5/site-packages/xen finds nothing, searching for
other config keywords in that folder they are always found in several
files...
Andy
>
> -- Keir
>
> On 05/01/2009 21:32, "Ben Guthro" <bguthro@virtualiron.com> wrote:
>
> This was never accepted by upstream Xen, as originally 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:
>
> 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.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"
>
> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
> <sprochniak@virtualiron.com> <mailto:sprochniak@virtualiron.com> wrote:
>
>
>
> All Microsoft 6.0 and beyond Operating Systems have a sense of
> 'enlightment' which means they try to talk to the underlying
>
>
>
> hypervisor
>
>
>
> - 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
>
>
>
> 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 about
> 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
>
>
>
>
>
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
>
>
>
> Lyon
>
>
>
> 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:
>
>
>
> Hi,
>
> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
>
>
>
>
> are
>
>
>
>
> 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,
>
>
>
>
> 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 = os.uname()[4]
> if re.search('64', arch):
> arch_libdir = 'lib64'
> else:
> arch_libdir = 'lib'
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> memory = 2048
> name = "Vistax86"
> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
> vcpus=8
> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> boot="d"
> sdl=0
> vnc=1
> vnclisten="127.0.0.1"
> vncdisplay=11
> vncpasswd='vv8176a'
> stdvga=0
> serial='pty'
> usbdevice='tablet'
>
>
>
>
>
> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
>
>
>
> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>
>
>
> keymap='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=1117
>
> there is a second bug report of the same problem, this time with more
> details:
>
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
>
> Is there a fix?
>
> Andy
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
> ________________________________
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-06 9:34 ` Andrew Lyon
@ 2009-01-06 9:44 ` Keir Fraser
0 siblings, 0 replies; 13+ messages in thread
From: Keir Fraser @ 2009-01-06 9:44 UTC (permalink / raw)
To: Andrew Lyon; +Cc: Xen-Devel (E-mail), Steve Prochniak, Ben Guthro, xen-users
On 06/01/2009 09:34, "Andrew Lyon" <andrew.lyon@gmail.com> wrote:
> On Mon, Jan 5, 2009 at 9:51 PM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
>> Alternative Viridian interface support was checked in. When enabled, it
>> ought to be sufficient to disable these bugchecks. 'viridian=1' needs to be
>> specified in the domain config file.
>
> Keir,
>
> Are you sure that the code was checked in? I am running 3.3.1 rc4 but
> adding that setting didnt seem to help, grep -r "viridian"
> /usr/lib64/python2.5/site-packages/xen finds nothing, searching for
> other config keywords in that folder they are always found in several
> files...
Ah, it's in xen-unstable only. Not in 3.3.
-- Keir
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-05 21:51 ` Keir Fraser
2009-01-06 9:34 ` Andrew Lyon
@ 2009-01-06 10:39 ` Steven Smith
2009-01-06 12:13 ` Ben Guthro
2009-01-07 17:42 ` Frank van der Linden
1 sibling, 2 replies; 13+ messages in thread
From: Steven Smith @ 2009-01-06 10:39 UTC (permalink / raw)
To: Keir Fraser
Cc: Xen-Devel (E-mail), Andrew Lyon, Steve Prochniak, Ben Guthro,
xen-users
[-- Attachment #1.1: Type: text/plain, Size: 7289 bytes --]
> Alternative Viridian interface support was checked in. When enabled, it
> ought to be sufficient to disable these bugchecks. viridian=1¹ needs to be
> specified in the domain config file.
Hmm... In order for the Viridian stuff to actually solve this
problem, you need to set the relaxed-timers bit. It doesn't look like
the xen-unstable implementation does so. Something like this might
help:
diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c
--- a/xen/arch/x86/hvm/viridian.c Tue Jan 06 09:14:39 2009 +0000
+++ b/xen/arch/x86/hvm/viridian.c Tue Jan 06 10:32:26 2009 +0000
@@ -37,6 +37,7 @@
/* Viridian CPUID 4000004, Implementation Recommendations. */
#define CPUID4A_MSR_BASED_APIC (1 << 3)
+#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
unsigned int *ebx, unsigned int *ecx,
@@ -84,7 +85,7 @@
if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
(d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
break;
- *eax = CPUID4A_MSR_BASED_APIC;
+ *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
*ebx = 2047; /* long spin count */
break;
}
But note that I haven't tested this *at all*.
Steven.
> On 05/01/2009 21:32, "Ben Guthro" <bguthro@virtualiron.com> wrote:
>
> > This was never accepted by upstream Xen, as originally 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:
> >>
> >> 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.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"
> >>
> >> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
> >> <sprochniak@virtualiron.com> <mailto:sprochniak@virtualiron.com> wrote:
> >>
> >>
> >>>
> >>> All Microsoft 6.0 and beyond Operating Systems have a sense of
> >>> 'enlightment' which means they try to talk to the underlying
> >>>
> >>>
> >>
> >> hypervisor
> >>
> >>
> >>>
> >>> - 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
> >>
> >>
> >>>
> >>> 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 about
> >> 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
> >>
> >>
> >>
> >>
> >>>
> >>> -----Original Message-----
> >>> From: xen-devel-bounces@lists.xensource.com
> >>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
> >>>
> >>>
> >>
> >> Lyon
> >>
> >>
> >>>
> >>> 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:
> >>>
> >>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
> >>>>
> >>>>
> >>>
> >>
> >> are
> >>
> >>
> >>>
> >>>>
> >>>> 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,
> >>
> >>
> >>>
> >>>>
> >>>> 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 = os.uname()[4]
> >>>> if re.search('64', arch):
> >>>> arch_libdir = 'lib64'
> >>>> else:
> >>>> arch_libdir = 'lib'
> >>>> kernel = "/usr/lib/xen/boot/hvmloader"
> >>>> builder='hvm'
> >>>> memory = 2048
> >>>> name = "Vistax86"
> >>>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
> >>>> vcpus=8
> >>>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
> >>>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
> >>>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> >>>> boot="d"
> >>>> sdl=0
> >>>> vnc=1
> >>>> vnclisten="127.0.0.1"
> >>>> vncdisplay=11
> >>>> vncpasswd='vv8176a'
> >>>> stdvga=0
> >>>> serial='pty'
> >>>> usbdevice='tablet'
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
> >>
> >>
> >>>
> >>> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
> >>>
> >>>
> >>>>
> >>>> keymap='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=1117
> >>>
> >>> there is a second bug report of the same problem, this time with more
> >>> details:
> >>>
> >>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
> >>>
> >>> Is there a fix?
> >>>
> >>> Andy
> >>>
> >>> _______________________________________________
> >>> Xen-devel mailing list
> >>> Xen-devel@lists.xensource.com
> >>> http://lists.xensource.com/xen-devel
> >>>
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@lists.xensource.com
> >> http://lists.xensource.com/xen-devel
> >>
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-06 10:39 ` Steven Smith
@ 2009-01-06 12:13 ` Ben Guthro
2009-01-07 17:42 ` Frank van der Linden
1 sibling, 0 replies; 13+ messages in thread
From: Ben Guthro @ 2009-01-06 12:13 UTC (permalink / raw)
To: Steven Smith, Keir Fraser
Cc: Steve Ofsthun, Andrew Lyon, Xen-Devel (E-mail), Steve Prochniak,
xen-users
[-- Attachment #1.1: Type: text/plain, Size: 7900 bytes --]
This is very similar to the patch we have on top of the original Novell stuff.
Steve Ofsthun was digging through the new viridian.c code at the end of the day yesterday to see if this bit was set. This fix below should do the same thing.
-----Original Message-----
From: Steven Smith [mailto:steven.smith@eu.citrix.com]
Sent: Tue 1/6/2009 5:39 AM
To: Keir Fraser
Cc: Ben Guthro; Steve Prochniak; Andrew Lyon; 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"
> Alternative Viridian interface support was checked in. When enabled, it
> ought to be sufficient to disable these bugchecks. Oviridian=1¹ needs to be
> specified in the domain config file.
Hmm... In order for the Viridian stuff to actually solve this
problem, you need to set the relaxed-timers bit. It doesn't look like
the xen-unstable implementation does so. Something like this might
help:
diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c
--- a/xen/arch/x86/hvm/viridian.c Tue Jan 06 09:14:39 2009 +0000
+++ b/xen/arch/x86/hvm/viridian.c Tue Jan 06 10:32:26 2009 +0000
@@ -37,6 +37,7 @@
/* Viridian CPUID 4000004, Implementation Recommendations. */
#define CPUID4A_MSR_BASED_APIC (1 << 3)
+#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
unsigned int *ebx, unsigned int *ecx,
@@ -84,7 +85,7 @@
if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
(d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
break;
- *eax = CPUID4A_MSR_BASED_APIC;
+ *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
*ebx = 2047; /* long spin count */
break;
}
But note that I haven't tested this *at all*.
Steven.
> On 05/01/2009 21:32, "Ben Guthro" <bguthro@virtualiron.com> wrote:
>
> > This was never accepted by upstream Xen, as originally 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:
> >>
> >> 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.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"
> >>
> >> On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak
> >> <sprochniak@virtualiron.com> <mailto:sprochniak@virtualiron.com> wrote:
> >>
> >>
> >>>
> >>> All Microsoft 6.0 and beyond Operating Systems have a sense of
> >>> 'enlightment' which means they try to talk to the underlying
> >>>
> >>>
> >>
> >> hypervisor
> >>
> >>
> >>>
> >>> - 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
> >>
> >>
> >>>
> >>> 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 about
> >> 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
> >>
> >>
> >>
> >>
> >>>
> >>> -----Original Message-----
> >>> From: xen-devel-bounces@lists.xensource.com
> >>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Andrew
> >>>
> >>>
> >>
> >> Lyon
> >>
> >>
> >>>
> >>> 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:
> >>>
> >>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> When dom0 is under heavy load any Vista or Windows 2008 HVM's that
> >>>>
> >>>>
> >>>
> >>
> >> are
> >>
> >>
> >>>
> >>>>
> >>>> 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,
> >>
> >>
> >>>
> >>>>
> >>>> 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 = os.uname()[4]
> >>>> if re.search('64', arch):
> >>>> arch_libdir = 'lib64'
> >>>> else:
> >>>> arch_libdir = 'lib'
> >>>> kernel = "/usr/lib/xen/boot/hvmloader"
> >>>> builder='hvm'
> >>>> memory = 2048
> >>>> name = "Vistax86"
> >>>> uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
> >>>> vcpus=8
> >>>> vif = [ 'mac=00:16:3e:7d:bc:b1' ]
> >>>> disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
> >>>> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> >>>> boot="d"
> >>>> sdl=0
> >>>> vnc=1
> >>>> vnclisten="127.0.0.1"
> >>>> vncdisplay=11
> >>>> vncpasswd='vv8176a'
> >>>> stdvga=0
> >>>> serial='pty'
> >>>> usbdevice='tablet'
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >> cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx
> >>
> >>
> >>>
> >>> xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
> >>>
> >>>
> >>>>
> >>>> keymap='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=1117
> >>>
> >>> there is a second bug report of the same problem, this time with more
> >>> details:
> >>>
> >>> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065
> >>>
> >>> Is there a fix?
> >>>
> >>> Andy
> >>>
> >>> _______________________________________________
> >>> Xen-devel mailing list
> >>> Xen-devel@lists.xensource.com
> >>> http://lists.xensource.com/xen-devel
> >>>
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@lists.xensource.com
> >> http://lists.xensource.com/xen-devel
> >>
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 13703 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-06 10:39 ` Steven Smith
2009-01-06 12:13 ` Ben Guthro
@ 2009-01-07 17:42 ` Frank van der Linden
2009-01-07 19:33 ` [Xen-devel] " Andrew Lyon
1 sibling, 1 reply; 13+ messages in thread
From: Frank van der Linden @ 2009-01-07 17:42 UTC (permalink / raw)
To: Steven Smith
Cc: Xen-Devel (E-mail), Steve Prochniak, Andrew Lyon, Keir Fraser,
xen-users, Ben Guthro
Steven Smith wrote:
>> Alternative Viridian interface support was checked in. When enabled, it
>> ought to be sufficient to disable these bugchecks. Œviridian=1¹ needs to be
>> specified in the domain config file.
> Hmm... In order for the Viridian stuff to actually solve this
> problem, you need to set the relaxed-timers bit. It doesn't look like
> the xen-unstable implementation does so. Something like this might
> help:
>
> diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c
> --- a/xen/arch/x86/hvm/viridian.c Tue Jan 06 09:14:39 2009 +0000
> +++ b/xen/arch/x86/hvm/viridian.c Tue Jan 06 10:32:26 2009 +0000
> @@ -37,6 +37,7 @@
>
> /* Viridian CPUID 4000004, Implementation Recommendations. */
> #define CPUID4A_MSR_BASED_APIC (1 << 3)
> +#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
>
> int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
> unsigned int *ebx, unsigned int *ecx,
> @@ -84,7 +85,7 @@
> if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
> (d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
> break;
> - *eax = CPUID4A_MSR_BASED_APIC;
> + *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
> *ebx = 2047; /* long spin count */
> break;
> }
>
> But note that I haven't tested this *at all*.
That appears to work. I have a test setup where I can introduce an
arbitrary delay in qemu-dm. It's easy to trigger bug check 0x101 in
Windows 2008 that way. Using viridian=1, with the relaxed timer bit set,
I have been unable to crash Windows 2008.
Looks like a good thing to commit.
- Frank
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-07 17:42 ` Frank van der Linden
@ 2009-01-07 19:33 ` Andrew Lyon
2009-01-07 20:48 ` Frank van der Linden
0 siblings, 1 reply; 13+ messages in thread
From: Andrew Lyon @ 2009-01-07 19:33 UTC (permalink / raw)
To: Frank van der Linden
Cc: Xen-Devel (E-mail), Steve Prochniak, Keir Fraser, Steven Smith,
xen-users, Ben Guthro
On Wed, Jan 7, 2009 at 5:42 PM, Frank van der Linden
<Frank.Vanderlinden@sun.com> wrote:
> Steven Smith wrote:
>>>
>>> Alternative Viridian interface support was checked in. When enabled, it
>>> ought to be sufficient to disable these bugchecks. Œviridian=1¹ needs to
>>> be
>>> specified in the domain config file.
>>
>> Hmm... In order for the Viridian stuff to actually solve this
>> problem, you need to set the relaxed-timers bit. It doesn't look like
>> the xen-unstable implementation does so. Something like this might
>> help:
>>
>> diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c
>> --- a/xen/arch/x86/hvm/viridian.c Tue Jan 06 09:14:39 2009 +0000
>> +++ b/xen/arch/x86/hvm/viridian.c Tue Jan 06 10:32:26 2009 +0000
>> @@ -37,6 +37,7 @@
>> /* Viridian CPUID 4000004, Implementation Recommendations. */
>> #define CPUID4A_MSR_BASED_APIC (1 << 3)
>> +#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
>> int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
>> unsigned int *ebx, unsigned int *ecx,
>> @@ -84,7 +85,7 @@
>> if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
>> (d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
>> break;
>> - *eax = CPUID4A_MSR_BASED_APIC;
>> + *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
>> *ebx = 2047; /* long spin count */
>> break;
>> }
>>
>> But note that I haven't tested this *at all*.
>
> That appears to work. I have a test setup where I can introduce an arbitrary
> delay in qemu-dm. It's easy to trigger bug check 0x101 in Windows 2008 that
> way. Using viridian=1, with the relaxed timer bit set, I have been unable to
> crash Windows 2008.
>
> Looks like a good thing to commit.
How do you introduce the delay? I'd like to try xen-unstable with
viridian=1 but I want to be absolutely sure that the issue is fixed so
if you have a patch for qemu-dm I'd appreciate it if you could post
it, the BSOD 101 issue causes serious problems for me because I am
using pci passthrough, I've found if the domain using passthru
crashes, I issue "xm pci-detach", or "xm destroy" a domain that is
using a passthru pci device, will cause the entire machine to lockup ,
I've tried Xen 3.2.1/2/3 and 3.3.0/1 with various different kernels
but it always happens, so if my Vista or 2008 domains that are using
pci passthru usb2 cards BSOD at all it takes down the entire box,
usually resulting in data loss :(
Perhaps that problem might be fixed in unstable too, I will try it
tomorrow but it would really help to have a way to trigger a bsod 101.
Thanks
Andy
>
> - Frank
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"
2009-01-07 19:33 ` [Xen-devel] " Andrew Lyon
@ 2009-01-07 20:48 ` Frank van der Linden
0 siblings, 0 replies; 13+ messages in thread
From: Frank van der Linden @ 2009-01-07 20:48 UTC (permalink / raw)
To: Andrew Lyon
Cc: Xen-Devel (E-mail), Steve Prochniak, Keir Fraser, Steven Smith,
xen-users, Ben Guthro
[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]
Andrew Lyon wrote:
> How do you introduce the delay? I'd like to try xen-unstable with
> viridian=1 but I want to be absolutely sure that the issue is fixed so
> if you have a patch for qemu-dm I'd appreciate it if you could post
> it, the BSOD 101 issue causes serious problems for me because I am
> using pci passthrough, I've found if the domain using passthru
> crashes, I issue "xm pci-detach", or "xm destroy" a domain that is
> using a passthru pci device, will cause the entire machine to lockup ,
> I've tried Xen 3.2.1/2/3 and 3.3.0/1 with various different kernels
> but it always happens, so if my Vista or 2008 domains that are using
> pci passthru usb2 cards BSOD at all it takes down the entire box,
> usually resulting in data loss :(
>
> Perhaps that problem might be fixed in unstable too, I will try it
> tomorrow but it would really help to have a way to trigger a bsod 101.
I use the attached change to qemu. In cpu_handle_ioreq, if send_vcpu !=
0,, it checks for the presence of a file called /tmp/qemu_delay. If it
exists, it opens it and reads a delay value from it. Then it sleeps for
that duration (in microseconds).
What I do is boot windows 2008, then open an editor to edit
/tmp/qemu_delay. From the editor, I write various values to it. An easy
way to trigger the issue is to write a large value (say, 8000000 for 8
seconds), wait a little while, and then write 0 to make the domain come
back to life. It should bluescreen at this point. Sometimes the
procedure has to be repeated a few times.
If you want to do "echo $value > /tmp/qemu_delay", you'll need to change
the hack to re-open the file each time, probably.
- Frank
[-- Attachment #2: qemu-delay.patch --]
[-- Type: text/plain, Size: 957 bytes --]
*** target-i386-dm/helper2.c.orig Wed Jan 7 12:37:30 2009
--- target-i386-dm/helper2.c Mon Dec 22 16:09:55 2008
***************
*** 47,52 ****
--- 47,54 ----
#include <limits.h>
#include <fcntl.h>
+ #include <unistd.h>
+
#include <xenctrl.h>
#include <xen/hvm/ioreq.h>
***************
*** 570,575 ****
--- 572,580 ----
extern int shutdown_requested;
CPUState *env = opaque;
ioreq_t *req = cpu_get_ioreq();
+ static int fd = -1;
+ char buf[16];
+ useconds_t udelay;
handle_buffered_io(env);
if (req) {
***************
*** 606,611 ****
--- 611,625 ----
}
req->state = STATE_IORESP_READY;
+ if (send_vcpu != 0) {
+ if (fd == -1)
+ fd = open("/tmp/qemu_delay", O_RDONLY);
+ if (fd >= 0) {
+ pread(fd, buf, sizeof buf, 0L);
+ udelay = atoi(buf);
+ usleep(udelay);
+ }
+ }
xc_evtchn_notify(xce_handle, ioreq_local_port[send_vcpu]);
}
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-01-07 20:48 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <f4527be0812290132p2f29afe1k5dbad3888ee552ba@mail.gmail.com>
2009-01-02 18:33 ` BSOD "A clock interrupt was not recevied ona secondary processor within the allocated time interval" Andrew Lyon
[not found] ` <B99564216C25704085A82B41C46DD342088343FA@exchange.katana.local>
2009-01-05 20:24 ` Re: BSOD "A clock interrupt was not recevied onasecondary " Andrew Lyon
2009-01-05 20:55 ` Steve Prochniak
2009-01-05 21:32 ` Ben Guthro
2009-01-05 21:51 ` Keir Fraser
2009-01-06 9:34 ` Andrew Lyon
2009-01-06 9:44 ` Keir Fraser
2009-01-06 10:39 ` Steven Smith
2009-01-06 12:13 ` Ben Guthro
2009-01-07 17:42 ` Frank van der Linden
2009-01-07 19:33 ` [Xen-devel] " Andrew Lyon
2009-01-07 20:48 ` Frank van der Linden
2009-01-05 22:07 ` Andrew Lyon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.