All of lore.kernel.org
 help / color / mirror / Atom feed
* win7 stuck on boot occasionally when apicv enabled
@ 2015-06-03  9:31 Sunguodong
  2015-06-03 12:17 ` Jan Beulich
  2015-06-11  8:01 ` Zhang, Yang Z
  0 siblings, 2 replies; 4+ messages in thread
From: Sunguodong @ 2015-06-03  9:31 UTC (permalink / raw)
  To: xen-devel; +Cc: jiongxi.li, Liuqiming (John), Fanhenglong


[-- Attachment #1.1: Type: text/plain, Size: 1123 bytes --]

Hi,
I am getting a vm stuck problem when booting a windows 7 guest on xen-4.6(latest version).
My hvm guest: Windows 7 64bit (installed pvdriver inside, pvdriver is downloaded from 'http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers')
My server's CPU model name : Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz

This happens rarely, maybe only once in hundreds times of rebooting, and when this appens, it stucks on the Windows Logo screen.
In order to know where it stopped, I turned on the Boot message and OS Boot Information in OS. It showed something like bellow:
"
Micfosoft (R) Windows (R) Version 6.1 (Build 7600)
4 System Processors [4088 MB Memory] MultiProcessor Kernel
Boot Logging Enabled
"
then it stucks forever.

Then I turned off apicv with option 'apicv=0' and did the rebooting test again, the stuck problem didn't show up for at least 9000 times of rebooting.
So I think it is related with apicv, maybe interrupts loss occasionally when vm is booting when apicv is enabled.

Has anyone come across this problem before? Or what can I do to solve this?

Thank you.


[-- Attachment #1.2: Type: text/html, Size: 4350 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: win7 stuck on boot occasionally when apicv enabled
  2015-06-03  9:31 win7 stuck on boot occasionally when apicv enabled Sunguodong
@ 2015-06-03 12:17 ` Jan Beulich
  2015-06-11  8:01 ` Zhang, Yang Z
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Beulich @ 2015-06-03 12:17 UTC (permalink / raw)
  To: Sunguodong
  Cc: Kevin Tian, Eddie Dong, xen-devel, Fanhenglong, Jun Nakajima,
	jiongxi.li, Liuqiming (John)

>>> On 03.06.15 at 11:31, <sunguodong@huawei.com> wrote:
> Hi,
> I am getting a vm stuck problem when booting a windows 7 guest on 
> xen-4.6(latest version).
> My hvm guest: Windows 7 64bit (installed pvdriver inside, pvdriver is 
> downloaded from 
> 'http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers')
> My server's CPU model name : Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz
> 
> This happens rarely, maybe only once in hundreds times of rebooting, and 
> when this appens, it stucks on the Windows Logo screen.
> In order to know where it stopped, I turned on the Boot message and OS Boot 
> Information in OS. It showed something like bellow:
> "
> Micfosoft (R) Windows (R) Version 6.1 (Build 7600)
> 4 System Processors [4088 MB Memory] MultiProcessor Kernel
> Boot Logging Enabled
> "
> then it stucks forever.
> 
> Then I turned off apicv with option 'apicv=0' and did the rebooting test 
> again, the stuck problem didn't show up for at least 9000 times of rebooting.
> So I think it is related with apicv, maybe interrupts loss occasionally when 
> vm is booting when apicv is enabled.
> 
> Has anyone come across this problem before? Or what can I do to solve this?

Hmm, I first thought this could very well be the problem we're seeing
as random Windows install or migration failures in osstest, but we're
seeing at least the latter even on 4.3, which doesn't support that
feature. Cc-ing the VMX maintainers...

Jan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: win7 stuck on boot occasionally when apicv enabled
  2015-06-03  9:31 win7 stuck on boot occasionally when apicv enabled Sunguodong
  2015-06-03 12:17 ` Jan Beulich
@ 2015-06-11  8:01 ` Zhang, Yang Z
  2015-06-11  8:41   ` 答复: " Sunguodong
  1 sibling, 1 reply; 4+ messages in thread
From: Zhang, Yang Z @ 2015-06-11  8:01 UTC (permalink / raw)
  To: Sunguodong, xen-devel; +Cc: jiongxi.li, Liuqiming (John), Fanhenglong

Sunguodong wrote on 2015-06-03:
> Hi,
> 
> I am getting a vm stuck problem when booting a windows 7 guest on 
> xen-4.6(latest version).
> 
> My hvm guest: Windows 7 64bit (installed pvdriver inside, pvdriver is 
> downloaded from 
> 'http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-dri
> vers')
> 
> My server's CPU model name : Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz
> 
> 
> 
> This happens rarely, maybe only once in hundreds times of rebooting, 
> and when this appens, it stucks on the Windows Logo screen.
> 
> In order to know where it stopped, I turned on the Boot message and OS 
> Boot Information in OS. It showed something like bellow:
> 
> "
> 
> Micfosoft (R) Windows (R) Version 6.1 (Build 7600)
> 
> 4 System Processors [4088 MB Memory] MultiProcessor Kernel
> 
> Boot Logging Enabled
> 
> "
> 
> then it stucks forever.
> 
> 
> 
> Then I turned off apicv with option 'apicv=0' and did the rebooting 
> test again, the stuck problem didn't show up for at least 9000 times of rebooting.
> 
> So I think it is related with apicv, maybe interrupts loss 
> occasionally when vm is booting when apicv is enabled.
> 
> 
> 
> Has anyone come across this problem before? Or what can I do to solve this?

Can you try to use 'xl destroy && xl create' instead of reboot? I suspect there may be some status in VCPU doesn't be reset correctly during reboot.

btw, I guess you didn't enable the viridian in guest config? It's better to turn off it to help to narrow down the issue.

> 
> 
> 
> Thank you.
> 
>


Best regards,
Yang

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 答复: win7 stuck on boot occasionally when apicv enabled
  2015-06-11  8:01 ` Zhang, Yang Z
@ 2015-06-11  8:41   ` Sunguodong
  0 siblings, 0 replies; 4+ messages in thread
From: Sunguodong @ 2015-06-11  8:41 UTC (permalink / raw)
  To: Zhang, Yang Z, xen-devel; +Cc: jiongxi.li, Liuqiming (John), Fanhenglong

OK, I will test with 'xl destroy && xl create' next.
My current config is:
#######
builder = "hvm"
name = "win7-1"
#viridian = 1	# didn't enable the viridian here
memory = 4096
maxmem = 4096
vcpus = 4
pae=1
acpi=1
apic=1
sdl=0
vif = [ 'mac=00:16:3e:07:37:88,bridge=br0' ]
disk = [ 'file:/home/sda11/sungd/win7_64_2U_vhd-1,xvda,w' ]
vnc = 1
vnclisten = ''
vncdisplay = 0
#######

If I get the result, I'll let you know ASAP.

Thanks!

-----邮件原件-----
发件人: Zhang, Yang Z [mailto:yang.z.zhang@intel.com] 
发送时间: 2015年6月11日 16:01
收件人: Sunguodong; xen-devel@lists.xen.org
抄送: jiongxi.li@intel.com; Liuqiming (John); Fanhenglong
主题: RE: win7 stuck on boot occasionally when apicv enabled

Sunguodong wrote on 2015-06-03:
> Hi,
> 
> I am getting a vm stuck problem when booting a windows 7 guest on 
> xen-4.6(latest version).
> 
> My hvm guest: Windows 7 64bit (installed pvdriver inside, pvdriver is 
> downloaded from 
> 'http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-dri
> vers')
> 
> My server's CPU model name : Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz
> 
> 
> 
> This happens rarely, maybe only once in hundreds times of rebooting, 
> and when this appens, it stucks on the Windows Logo screen.
> 
> In order to know where it stopped, I turned on the Boot message and OS 
> Boot Information in OS. It showed something like bellow:
> 
> "
> 
> Micfosoft (R) Windows (R) Version 6.1 (Build 7600)
> 
> 4 System Processors [4088 MB Memory] MultiProcessor Kernel
> 
> Boot Logging Enabled
> 
> "
> 
> then it stucks forever.
> 
> 
> 
> Then I turned off apicv with option 'apicv=0' and did the rebooting 
> test again, the stuck problem didn't show up for at least 9000 times of rebooting.
> 
> So I think it is related with apicv, maybe interrupts loss 
> occasionally when vm is booting when apicv is enabled.
> 
> 
> 
> Has anyone come across this problem before? Or what can I do to solve this?

Can you try to use 'xl destroy && xl create' instead of reboot? I suspect there may be some status in VCPU doesn't be reset correctly during reboot.

btw, I guess you didn't enable the viridian in guest config? It's better to turn off it to help to narrow down the issue.

> 
> 
> 
> Thank you.
> 
>


Best regards,
Yang


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-11  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-03  9:31 win7 stuck on boot occasionally when apicv enabled Sunguodong
2015-06-03 12:17 ` Jan Beulich
2015-06-11  8:01 ` Zhang, Yang Z
2015-06-11  8:41   ` 答复: " Sunguodong

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.