[ kvm-Bugs-2076615 ] Win2K does not boot anymore

SourceForge.net
2008-08-29T04:42:37Z

Bugs item #2076615, was opened at 2008-08-27 01:34
Message generated for change (Settings changed) made by amitshah
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2076615&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Marco Menardi (markit)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win2K does not boot anymore

Initial Comment:
cpu: AMD Phenom(tm) 9550 Quad-Core Processor
RAM: 4GB
kvm: 73 from sourceforge tar.gz
host kernel version/arch : 2.6.26-1-amd64
guest: Windows 2000 SP4 + 32 bit
command line:
/opt/kvm/bin/qemu-system-x86_64 -boot c -hda win2Ksp4_Tormen.img -m 640 -localtime -net nic,model=e1000 -net user -usb -usbdevice tablet

behaviour with some switches:
normal:
blue screen and reboot never ending cycle (too fast to read error message)

-no-kvm-irqchip
blue screen with message
INACESSIBLE_BOOT_DEVICE

-no-kvm-pit
freezes at the end of "white" initial graphical boot screen

-no-kvm switch
boots fine

Long time I don't try this image, so can't tell what KVM version broke the boot.

----------------------------------------------------------------------

Comment By: Marco Menardi (markit)
Date: 2008-08-29 04:35

Message:
Logged In: YES
user_id=113918
Originator: YES

Updating BIOS from 0501 to 1001 FIXED the issue, now win2k VM boots fine
as did time ago! (probably was with AMD X2, never tried with phenom
before).
Btw, in dmesg I have:
[ 1500.359224] apic write: bad size=1 fee00030
[ 1500.362508] Ignoring de-assert INIT to vcpu 0
[ 1500.378512] Ignoring de-assert INIT to vcpu 0
but as stated the VM boots fine, thanks! (issue can be closed)

----------------------------------------------------------------------

Comment By: Amit Shah (amitshah)
Date: 2008-08-28 12:00

Message:
Logged In: YES
user_id=201894
Originator: NO

Can you update the BIOS on the host machine (not bochs)? There are
microcode problems in some older BIOSes and updating has known to fix
problems.

----------------------------------------------------------------------

Comment By: Marco Menardi (markit)
Date: 2008-08-28 00:30

Message:
Logged In: YES
user_id=113918
Originator: YES

Same problem with ntp=0
If you are referring to bochs BIOS, I've bochsbios package version
2.3.7-1
Win2K HAL is PC Uniprocessor ACPI
kvm-68 does not compile, can't test
kvm-70 same problem

dmseg output: (my comments in parenthesis)

(loaded module)
[336700.174807] kvm: Nested Paging enabled
[336700.174807] loaded kvm module (kvm-73)

(this after running win2k that crashed)
[336736.428383] apic write: bad size=1 fee00030
[336736.428506] Ignoring de-assert INIT to vcpu 0
[336736.453380] Ignoring de-assert INIT to vcpu 0
asgard64:~#

Hope this will help further

----------------------------------------------------------------------

Comment By: Avi Kivity (avik)
Date: 2008-08-27 17:24

Message:
Logged In: YES
user_id=539971
Originator: NO

Make sure you have the latest BIOS on your host.

Try loading the kvm-amd module with the parameter 'npt=0'.

What is the HAL in use in your guest?

----------------------------------------------------------------------

Comment By: Marco Menardi (markit)
Date: 2008-08-27 02:30