Bug 22201 - Win7: KVM VM startet nicht mehr - blue screen
Win7: KVM VM startet nicht mehr - blue screen
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Virtualization - KVM
UCS 2.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-13 12:12 CEST by Felix Botner
Modified: 2023-06-28 10:46 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
win7 blue screen (12.00 KB, image/png)
2011-04-13 12:12 CEST, Felix Botner
Details
kvm info -> debug-collect-kvm (80.67 KB, text/plain)
2011-04-13 12:13 CEST, Felix Botner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-04-13 12:12:07 CEST
Ich habe ein Windows7 + VirtIO 1.1.16 (Festplatte, Netzwerk) als KVM Instanz installiert. Die Images liegen auf einem NFS Share. Hat alles funktioniert. Dann einen Snapshot erstellt und weiter gearbeitet.

Irgendwann wollte ich den Snapshot wiederherstellen. Laut UMC UVMM war das auch erfolgreich, jedoch startet das System nun nicht mehr -> Blue Screen.

In der syslog auf dem KVM Host steht wird folgendes beim Start der Instanz angezeigt:

Apr 13 13:03:56 xen13 kernel: [598254.438629] kvm: 21671: cpu0 unhandled wrmsr: 0x198 data 0

In der qemu/kvm log folgendes:

2011-04-13 13:03:56.367: starting up
LC_ALL=C PATH=/sbin:/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 1024 -smp 1,sockets=1,cores=
1,threads=1 -name win7-felix-basis -uuid 29ce517b-dd05-ef67-8f40-612dce04bd8a -nodefconfig -nodefaults -chardev socket,id=monitor,path
=/var/lib/libvirt/qemu/win7-felix-basis.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot dc -drive file=/m
nt/nfs/images/win7-felix-basis-0.qcow2,if=none,id=drive-virtio-disk0,boot=on,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,dr
ive=drive-virtio-disk0,id=virtio-disk0 -drive file=/mnt/nfs/images/KB3AIK_DE.iso,if=none,media=cdrom,id=drive-ide0-0-0,readonly=on,for
mat=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=/mnt/nfs/images/win_7_pro_32bit.iso,if=none,me
dia=cdrom,id=drive-ide0-0-1,readonly=on,format=raw -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -netdev tap,fd=
16,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:cc:e3:8e,bus=pci.0,addr=0x3 -usb -device usb-tablet,id=inpu
t0 -vnc 0.0.0.0:0 -k de -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
kvm.bin: virtio_ioport_write: unexpected address 0x13 value 0x1
Comment 1 Felix Botner univentionstaff 2011-04-13 12:12:31 CEST
Created attachment 3176 [details]
win7 blue screen
Comment 2 Felix Botner univentionstaff 2011-04-13 12:13:34 CEST
Created attachment 3177 [details]
kvm info -> debug-collect-kvm
Comment 3 Felix Botner univentionstaff 2011-04-13 12:17:50 CEST
KVM Host 64Bit (2.6.32-ucs37-amd64) Wind7 32Bit
Comment 4 Felix Botner univentionstaff 2011-04-13 12:26:48 CEST
Das "kaputte" Image liegt noch (!) auf 10.201.155.13 /mnt/nfs/images/win7-felix-basis-0.qcow2.blue-screen
Comment 5 Andreas Büsching univentionstaff 2011-04-13 13:07:09 CEST
(In reply to comment #0)
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
> kvm.bin: virtio_ioport_write: unexpected address 0x13 value 0x1

Die gleiche Fehlermeldung habe ich auch schon bei Windows XP SP3 Instanzen bekommen. Da allerdings ohne einen Snapshot. Die Maschine lief eine Zeit und konnte benutzt werden. Nach einiger Zeit kam der Bluescreen (Konnte auf dacke und odda nachgestellt werden).
Comment 6 Felix Botner univentionstaff 2011-04-15 14:04:08 CEST
Mit dem Snapshot hat es nichts zu tun (die VM wurde im ausgeschalteten Zustand gesichert, siehe Bug #22221)
Comment 7 Felix Botner univentionstaff 2011-04-15 15:20:15 CEST
Ist mir gerade wieder mit einem anderem Win7 Image passiert.
Comment 8 Felix Botner univentionstaff 2011-04-15 16:24:37 CEST
Habe dann einen Snapshot mit 

-> qemu-img snapshot -a "plain win7 kb3aik" win7-felix-basis-0.qcow2

wiederhergestellt (Bug #22221). Ein weile ließ das System dann, ich konnte auch weitere Snapshots anlegen. Dann kam es aber wieder zu den Blue Screen's. Also den Snapshot wiederhergestellt. Nach ein paar Wiederherstellungen dann aber das hier:

-> qemu-img snapshot -a "plain win7 kb3aik" win7-felix-basis-0.qcow2
qemu-img: Could not apply snapshot 'plain win7 kb3aik': -5 (Input/output error)
Comment 9 Felix Botner univentionstaff 2011-04-15 16:31:03 CEST
Auf dem NFS Server (10.201.155.3) sieht man folgendes:

[   16.706475] NFSD: starting 90-second grace period
[   18.307443] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
[   23.040025] eth0: no IPv6 routers present
[124005.369610] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[124005.449558] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[279851.224406] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[279851.314339] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[358975.934700] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[358976.014747] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[437822.467930] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[437822.557991] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[504930.803691] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping request
[504930.883807] svc: 192.168.0.172, port=22936: bad direction 184549632, dropping reques

http://www.vanade.com/~blc/html/svcbad.html

doch ein NFS Problem?
Comment 10 Felix Botner univentionstaff 2011-04-18 15:23:21 CEST
Bei den beiden oben genannten Images waren jeweils Snapshots im Spiel. Ich habe nun nochmal einiges mit einer Windows 7 Instanz ohne Snapshots gemacht und hier ist mir das Problem bisher nicht aufgefallen. Sind hier vielleicht die Snapshots schuld?
Comment 11 Philipp Hahn univentionstaff 2014-03-03 09:34:47 CET
This sound like the image corruption bug 29355 and bug 22221, which was fixed 2012 and 2011.
Since no similar bug was reported since then, I'm closing this bug as WORKS-4-ME.