Skip to contentSkip to conversation

Sometimes HVM winxp with gpl PV drivers 0.8.1 drivers boots forever

DISCUSSION Alexander Piavka 3 participants 5 messages Mar 3, 2008 – Mar 4, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

I'm using gpl PV drivers 0.8.1 drivers for HVM winxp and sometimes
it boots forever.

Quoted 1 line

From the iostat in dom0 with xen-3.1.2 is see that there is NO access to

the underlying lvm volume of this winxp HVM.

From strace i see that qemu-dm indefinetly loops with:

read(14, "\34\0\0\0", 4) = 4
write(14, "\34\0\0\0", 4) = 4
clock_gettime(CLOCK_MONOTONIC, {53840, 172326473}) = 0
ioctl(14, EVIOCGKEYCODE, 0x7fff012f0fc0) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172398473}) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172436473}) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172474473}) = 0
select(18, [7 10 12 14 17], [], [], {0, 10000}) = 1 (in [14], left {0, 10000})

and

lsof -p 6602 | awk '$4 ~ /(7|10|12|14|17)/'

qemu-dm 6602 root    7u   CHR             10,200                           1853 /dev/net/tun
qemu-dm 6602 root   10u   CHR                5,2                           2035 /dev/ptmx
qemu-dm 6602 root   12r  FIFO                0,5                          14646 pipe
qemu-dm 6602 root   14u   CHR              10,63                           1819 /dev/xen/evtchn
qemu-dm 6602 root   17u  IPv4              19833                            TCP clustrix20.cs.bgu.ac.il:5911->lesbinux.cs.bgu.ac.il:51837 (ESTABLISHED)

and qemu-dm takes about 10% of cpu

while others HVM qemu-dm, which boot ok, loop indefinetly with:

select(14, [6 8 9 11 13], [], [], {0, 10000}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {54627, 313284473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313366473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313450473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313558473}) = 0

if i reboot this HVM it boots ok , and may boot ok next few times untill it gets stuck the same way on some reboot/start

I'm not 100% sure it never happens without the gpl PV rivers.

Any ideas?

Alex

#3 lore raw
Quoted 8 lines · Alexander Piavka

Hi,

I'm using gpl PV drivers 0.8.1 drivers for HVM winxp and sometimes
it boots forever.

Quoted 2 lines

From the iostat in dom0 with xen-3.1.2 is see that there is NO access to

the underlying lvm volume of this winxp HVM.

I had similar problem on a host with a localized Windows version. When I have switched to engliesh Windows,
OS has booted without any problems.

Quoted 45 lines

From strace i see that qemu-dm indefinetly loops with:

read(14, "\34\0\0\0", 4) = 4
write(14, "\34\0\0\0", 4) = 4
clock_gettime(CLOCK_MONOTONIC, {53840, 172326473}) = 0
ioctl(14, EVIOCGKEYCODE, 0x7fff012f0fc0) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172398473}) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172436473}) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172474473}) = 0
select(18, [7 10 12 14 17], [], [], {0, 10000}) = 1 (in [14], left {0, 10000})

and

lsof -p 6602 | awk '$4 ~ /(7|10|12|14|17)/'

qemu-dm 6602 root    7u   CHR             10,200                           1853 /dev/net/tun
qemu-dm 6602 root   10u   CHR                5,2                           2035 /dev/ptmx
qemu-dm 6602 root   12r  FIFO                0,5                          14646 pipe
qemu-dm 6602 root   14u   CHR              10,63                           1819 /dev/xen/evtchn
qemu-dm 6602 root   17u  IPv4              19833                            TCP clustrix20.cs.bgu.ac.il:5911->lesbinux.cs.bgu.ac.il:51837 (ESTABLISHED)

and qemu-dm takes about 10% of cpu

while others HVM qemu-dm, which boot ok, loop indefinetly with:

select(14, [6 8 9 11 13], [], [], {0, 10000}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {54627, 313284473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313366473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313450473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313558473}) = 0

if i reboot this HVM it boots ok , and may boot ok next few times untill it gets stuck the same way on some reboot/start

I'm not 100% sure it never happens without the gpl PV rivers.

Any ideas?

Alex

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

Signature · 1 line
WBR, i.m.chubin
#4 lore raw

Re: Sometimes HVM winxp with gpl PV drivers 0.8.1drivers boots forever

Quoted 6 lines · Igor Chubin
Quoted 5 lines · Alexander Piavka

Hi,

I'm using gpl PV drivers 0.8.1 drivers for HVM winxp and sometimes
it boots forever.

Quoted 8 lines
Quoted 3 lines
Quoted 2 lines

From the iostat in dom0 with xen-3.1.2 is see that there is NO access to

the underlying lvm volume of this winxp HVM.

I had similar problem on a host with a localized Windows version. When I have switched to engliesh Windows,
OS has booted without any problems.

Well i'm using English only Windows & the boot problem appears randomly
and boot ok most of the times.

Alex

Quoted 38 lines
Quoted 38 lines

From strace i see that qemu-dm indefinetly loops with:

read(14, "\34\0\0\0", 4) = 4
write(14, "\34\0\0\0", 4) = 4
clock_gettime(CLOCK_MONOTONIC, {53840, 172326473}) = 0
ioctl(14, EVIOCGKEYCODE, 0x7fff012f0fc0) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172398473}) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172436473}) = 0 clock_gettime(CLOCK_MONOTONIC, {53840, 172474473}) = 0
select(18, [7 10 12 14 17], [], [], {0, 10000}) = 1 (in [14], left {0, 10000})

and

lsof -p 6602 | awk '$4 ~ /(7|10|12|14|17)/'

qemu-dm 6602 root    7u   CHR             10,200                           1853 /dev/net/tun
qemu-dm 6602 root   10u   CHR                5,2                           2035 /dev/ptmx
qemu-dm 6602 root   12r  FIFO                0,5                          14646 pipe
qemu-dm 6602 root   14u   CHR              10,63                           1819 /dev/xen/evtchn
qemu-dm 6602 root   17u  IPv4              19833                            TCP clustrix20.cs.bgu.ac.il:5911->lesbinux.cs.bgu.ac.il:51837 (ESTABLISHED)

and qemu-dm takes about 10% of cpu

while others HVM qemu-dm, which boot ok, loop indefinetly with:

select(14, [6 8 9 11 13], [], [], {0, 10000}) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {54627, 313284473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313366473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313450473}) = 0 clock_gettime(CLOCK_MONOTONIC, {54627, 313558473}) = 0

if i reboot this HVM it boots ok , and may boot ok next few times untill it gets stuck the same way on some reboot/start

I'm not 100% sure it never happens without the gpl PV rivers.

Quoted 11 lines
Quoted 8 lines

Any ideas?

Alex

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

Signature · 1 line
WBR, i.m.chubin

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#5 lore raw

RE: Sometimes HVM winxp with gpl PV drivers 0.8.1 driversboots forever

In reply to Alexander Piavka
Quoted 5 lines

Hi,

I'm using gpl PV drivers 0.8.1 drivers for HVM winxp and sometimes
it boots forever.

Quoted 1 line

From the iostat in dom0 with xen-3.1.2 is see that there is NO access

to

Quoted 2 lines

the underlying lvm volume of this winxp HVM.

Once the gplpv drivers take over you won't see any access from qemu.

Try 0.8.4, I fixed a race somewhere around there that would cause a hang on boot.

James

#6 lore raw

RE: Sometimes HVM winxp with gpl PV drivers 0.8.1driversboots forever

Quoted 10 lines · James Harper
Quoted 5 lines

Hi,

I'm using gpl PV drivers 0.8.1 drivers for HVM winxp and sometimes
it boots forever.

Quoted 1 line

From the iostat in dom0 with xen-3.1.2 is see that there is NO access

to

Quoted 2 lines

the underlying lvm volume of this winxp HVM.

Once the gplpv drivers take over you won't see any access from qemu.

Yes , but i still will always see all disk HVM access with iostat on the
lvm volume device, no matter there is PV driver or qemu disk. So i ment to say that HVM is doing both no PV driver & no qemu disk access while it gets stuck in the boot process.

Quoted 2 lines

Try 0.8.4, I fixed a race somewhere around there that would cause a hang on boot.

Possible race condition explains the lack of disk access, i'll try this version. Thanks a lot.
Alex

Quoted 7 lines

James

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users