Skip to contentSkip to conversation

KVM-17 & WinXP network setup hangs

DISCUSSION Alessandro Sardo 3 participants 3 messages Mar 20, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

Hello KVM devs,

I've just downloaded and checked out KVM-17. I tried installing a Windows XP SP2 guest, using the following script (notice how I did NOT use the '-no-acpi' flag):

qemu -hda /var/vm/img/WinXP.img -cdrom
/var/vm/iso/WinXP.iso -boot d -m 512

The first phase of installation went straight without any problem - and it was quite faster than previous releases! Then, when the guest had to reboot, KVM crashed with the following output:

unhandled vm exit: 0x80000021
rax 0000000000000000 rbx 0000000000000000 rcx 0000000000000000 rdx 0000000000000600
rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000000 rbp 0000000000000000
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 000000000000fff0 rflags 00023002
cs f000 (ffff0000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (20850000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gdt 0/ffff
idt 0/ffff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0

Not a big problem though, I just manually restarted it and kept going on with the second phase of the installation.

This is where I got the big problem: after installing the devices and asking for the cd-key (among other things), the guest totally *stalled* while configuring the network. It just says "Installing the network...", but the progress bar is frozen - and there's no output on the shell. I've also tried with the '-net nic,model=rtl8139' flag, but the result was the same. I'm unable to complete the installation.

Is there a work-around for this?

Thanks!

- Alessandro

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

#2 lore raw
Quoted 6 lines · Alessandro Sardo

Hello KVM devs,

I've just downloaded and checked out KVM-17. I tried installing a Windows XP SP2 guest, using the following script (notice how I did NOT use the '-no-acpi' flag):

Quoted 10 lines

qemu -hda /var/vm/img/WinXP.img -cdrom
/var/vm/iso/WinXP.iso -boot d -m 512

The first phase of installation went straight without any problem - and it was quite faster than previous releases! Then, when the guest had to reboot, KVM crashed with the following output:

That's a known issue, we don't handle reboot on Intel.

Quoted 12 lines

Not a big problem though, I just manually restarted it and kept going on with the second phase of the installation.

This is where I got the big problem: after installing the devices and asking for the cd-key (among other things), the guest totally *stalled* while configuring the network. It just says "Installing the network...", but the progress bar is frozen - and there's no output on the shell. I've also tried with the '-net nic,model=rtl8139' flag, but the result was the same. I'm unable to complete the installation.

Quoted 1 line

Is there a work-around for this?

It may be related to unsynced timestamp counters. Can you try prefixing your command with 'taskset 1'? Like so:

taskset 1 qemu -hda ...

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#3 lore raw
In reply to Alessandro Sardo

Hi,
Do you use a software bridge and a tun/tap device ?
If you do, what is your network configuration (host + guest) ?
If you do not, search the list to find how to do it.
You'll need to setup a bridge (either manually or using an init script posted), and add a '-net tap,script=/etc/kvm/qemu-ifup' to qemu command line.

Hope that helps,
Uri.

________________________________

From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org on behalf of Alessandro Sardo
Sent: Tue 20/03/2007 17:23
To: [email protected]
Subject: [kvm-devel] KVM-17 & WinXP network setup hangs

Hello KVM devs,

I've just downloaded and checked out KVM-17. I tried installing a Windows XP SP2 guest, using the following script (notice how I did NOT use the '-no-acpi' flag):

qemu -hda /var/vm/img/WinXP.img -cdrom
/var/vm/iso/WinXP.iso -boot d -m 512

<...snipped...>

This is where I got the big problem: after installing the devices and asking for the cd-key (among other things), the guest totally *stalled* while configuring the network. It just says "Installing the network...", but the progress bar is frozen - and there's no output on the shell. I've also tried with the '-net nic,model=rtl8139' flag, but the result was the same. I'm unable to complete the installation.

Is there a work-around for this?

Thanks!

- Alessandro

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel