From: "James Song" Subject: Re: RE: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval" Date: Mon, 05 Jan 2009 23:17:43 -0700 Message-ID: <496392BA020000200000A252@lucius.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1485881739==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-devel-request@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --===============1485881739== Content-Type: multipart/alternative; boundary="=__Part230B0597.0__=" This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part230B0597.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable yes, the cause of BSOD 0x101 is that watchdog time interrupt was not = received by the vcpu in a certain timeout in Windows kernel . this is = taken place especially in vista kernel. Generally speaking, we have some = ways to fix this, one is that we an write a programme whitch can intercept = the trigger of BSOD 0x101, on the other word, we make kernel don't care = the watchdog time interrrupt. the second way, we try make vcpu of windows = get more physical cpu slice which can make window take watchdog time = interrupt back from io-apic when vmexit happened.=20 In my view, optimize the scheduler and io process and irq injects = process can make BSOD 0x101 reduced mostly. thanks. -- Song Wei > > -----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 > 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 =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=3Dxxxxxxxx00010000xx= xxx > xxxxxxxxxxx','4,0:eax=3D001111xxxxxxxxxxxxxxxxxxxxxxxxxx'] >> 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 > > _______________________________________________ --=__Part230B0597.0__= Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable yes, the cause of BSOD 0x101 is that watchdog time = interrupt was not received by the vcpu in a certain timeout in Windows = kernel . this is taken place especially in vista kernel. Generally = speaking, we have some ways to fix this, one is that we an write a = programme whitch can intercept the trigger of BSOD 0x101, on the other = word, we make kernel don't care the watchdog time interrrupt. the second = way, we try make vcpu of windows get more physical cpu slice which can = make window take watchdog time interrupt back from io-apic when vmexit = happened.
   In my view, optimize the scheduler and io = process and irq injects process can make BSOD 0x101 reduced mostly.

= thanks.
-- Song Wei

>
> -----Original Message-----
&g= t; From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bo= unces@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.
>&g= t;
>> 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=3Dxxx1= xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=3Dxxxxxxxx00010000xxxxx
> xxxxxxxxxx= x','4,0:eax=3D001111xxxxxxxxxxxxxxxxxxxxxxxxxx']
>> keymap=3D'en-g= b'
>>
>> Andy
>>
>
> I think this = is a known issue which has incorrectly been marked as
> FIXED in = bugzilla:
>
> http://bugzilla.xensource.com/bugzilla/show_bug.c= gi?id=3D1117
>
> there is a second bug report of the same = problem, this time with more
> details:
>
> http://bugzil= la.xensource.com/bugzilla/show_bug.cgi?id=3D1065
>
> Is there = a fix?
>
> Andy
>
> _______________________________= ________________





--=__Part230B0597.0__=-- --===============1485881739== 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 --===============1485881739==--