Bug 1046275
| Summary: | win8 guest boots with virtio-scsi/blk or ahci as system image interference mutually | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | xhan | ||||
| Component: | virtio-win | Assignee: | Vadim Rozenfeld <vrozenfe> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.0 | CC: | bcao, hhuang, juzhang, kraxel, lijin, mdeng, michen, pbonzini, rbalakri, rhod, scui, sluo, virt-maint, vrozenfe, xwei | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-11-01 11:30:47 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
xhan
2013-12-24 10:17:13 UTC
Created attachment 841171 [details]
screen-shot.jpg
Win8.1/Win2012/Win2012r2 also have this problem. (In reply to xhan from comment #0) > Description of problem: > > After installing Win8.0 i386/x86_64 guest, install virtio-win driver for > virtio-blk/virtio-scsi/ahci drives. > > Then test if the guest can boot up with the drive which is > virtio-blk/virtio-scsi/ahci as a sys image. > > Booting up with ahci sys image failed. See the picture screen-shot.jpg. > Follow the msdn resolution http://support.microsoft.com/kb/2795397. The > Win8.0 i386 guest can recognize the sys drive and boot up successfully. > > Then test booting with virtio-scsi sys image, it would fail with blue screen > with error: INACCESSABLE_BOOT_DEVICE. > Please paste your qemu-kvm command line here. Could you switch to IDE interface to try it, as ahci driver is provided by the windows guest which not belong to virtio-win. And please help to narrow the range for this issue, maybe not related to the virtual block device issue. Thanks. Best Regards, sluo Hi,xhan Pls disable win8/win2012 fast boot option http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html and retest Mike qemu \ -name 'vm1' \ -sandbox off \ -M pc \ -nodefaults \ -vga cirrus \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20131220-100951-hDnnIG42,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20131220-100951-hDnnIG42,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -device virtio-serial-pci,id=virtio_serial_pci0,bus=pci.0,addr=03 \ -chardev socket,id=devvs,path=/tmp/virtio_port-vs-20131220-100951-hDnnIG42,server,nowait \ -device virtserialport,chardev=devvs,name=vs,id=vs,bus=virtio_serial_pci0.0 \ -chardev socket,id=seabioslog_id_20131220-100951-hDnnIG42,path=/tmp/seabios-20131220-100951-hDnnIG42,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20131220-100951-hDnnIG42,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \ -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x05 \ -drive id=drive_image1,if=none,cache=writethrough,snapshot=off,aio=native,file=win8-32-virtio.qcow2 \ -device scsi-hd,id=image1,drive=drive_image1 \ -drive id=drive_stg,if=none,cache=writethrough,snapshot=off,aio=native,file=storage.qcow2 \ -device virtio-blk-pci,id=stg,drive=drive_stg,bus=pci.0,addr=06 \ -device virtio-scsi-pci,id=virtio_scsi_pci1,bus=pci.0,addr=09 \ -drive id=drive_stg1,if=none,cache=writethrough,snapshot=off,aio=native,file=storage1.qcow2 \ -device scsi-hd,id=stg1,drive=drive_stg1 \ -device rtl8139,mac=9a:bc:bd:be:bf:c0,id=idRMlGT0,netdev=idBfdxm2,bus=pci.0,addr=07 \ -netdev tap,id=idBfdxm2,vhost=on,script=qemu-ifup-switch \ -device virtio-net-pci,mac=9a:c1:c2:c3:c4:c5,id=id2n2sPC,netdev=ide4xB37,bus=pci.0,addr=08 \ -netdev tap,id=ide4xB37,vhost=on,script=qemu-ifup-switch \ -m 4096 \ -smp 4,maxcpus=4,cores=2,threads=1,sockets=2 \ -cpu 'SandyBridge' \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=isos/windows/virtio-win.latest_prewhql.iso \ -device ide-cd,id=cd1,drive=drive_cd1,bus=ide.0,unit=1 \ -drive id=drive_virtio,if=none,snapshot=off,aio=native,media=cdrom,file=virtio-win.iso \ -device ide-cd,id=virtio,drive=drive_virtio,bus=ide.1,unit=0 \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -vnc :0 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -balloon virtio \ -enable-kvm (In reply to Mike Cao from comment #5) > Hi,xhan > > Pls disable win8/win2012 fast boot option > http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a. > html and retest > > Mike Test guest with -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 options, the fast startup is enabled in default. (In reply to xhan from comment #7) > (In reply to Mike Cao from comment #5) > > Hi,xhan > > > > Pls disable win8/win2012 fast boot option > > http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a. > > html and retest > > > > Mike > > > Test guest with -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 > options, the fast startup is enabled in default. Disable this fast startup in win8 guest. It doesn't work. Test result: sys image drive result 1) start win8 guest with virtio-blk as sys drive -- ok (guest can start up). 2) change to virtio-scsi ok 3) change to ahci failed 4) change to virtio-scsi failed 5) change to virtio-blk ok Note: The failed error: INACCESSABLE_BOOT_DEVICE (In reply to xhan from comment #8) > (In reply to xhan from comment #7) > > (In reply to Mike Cao from comment #5) > > > Hi,xhan > > > > > > Pls disable win8/win2012 fast boot option > > > http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a. > > > html and retest > > > > > > Mike > > > > > > Test guest with -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 > > options, the fast startup is enabled in default. > > Disable this fast startup in win8 guest. It doesn't work. > Test result: > sys image drive result > 1) start win8 guest with virtio-blk as sys drive -- ok (guest can start > up). > 2) change to virtio-scsi ok Hi xhan, could you pls have a try update this registry during success of virtio-scsi boot(before ahci boot) reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV /v Start /t REG_DWORD /d 0 /f > 3) change to ahci failed > 4) change to virtio-scsi failed > 5) change to virtio-blk ok > > Note: The failed error: INACCESSABLE_BOOT_DEVICE Regards, Xiaoqing. What happens if you try to install Win8 on virtio-block or virtio-scsi drive. It also will be interesting to know if you have the same problem with oter OSes, like Win7 and WS2K8 xwei,
Tried to update registry before ahci boot, and the result is
win2012r2:
sys image drive result
1) start win2012r2 with virtio-blk as sys drive -- ok
2) change to virtio-scsi ok
update registry
3) change to ahci ok
4) change to virtio-scsi failed
5) change to virtio-blk failed
win8:
sys image drive result
1) start win8 with virtio-blk as sys drive -- ok
2) change to virtio-scsi ok
update registry
3) change to ahci ok
4) change to virtio-scsi failed
5) change to virtio-blk failed
Vadim,
The guests are installed with virtio_blk. There is no this issue on Win7 and WS2K8 guests.
(In reply to xhan from comment #11) > xwei, > Tried to update registry before ahci boot, and the result is > > win2012r2: > sys image drive result > 1) start win2012r2 with virtio-blk as sys drive -- ok > 2) change to virtio-scsi ok > update registry > 3) change to ahci ok > 4) change to virtio-scsi failed > 5) change to virtio-blk failed > > win8: > sys image drive result > 1) start win8 with virtio-blk as sys drive -- ok > 2) change to virtio-scsi ok > update registry > 3) change to ahci ok > 4) change to virtio-scsi failed > 5) change to virtio-blk failed > > Vadim, > > The guests are installed with virtio_blk. There is no this issue on Win7 and > WS2K8 guests. Thanks, Vadim. this issue still can be reproduced with virtio-win-1.7.0-1.el7.noarch other packages info: kernel-3.10.0-121.el7.x86_64 qemu-kvm-rhev-1.5.3-60.el7ev.x86_64 seabios-bin-1.7.2.2-12.el7.x86_64 Vadim suspects that the driver has to be installed to the drivers store before the plugin. He will check. *** This bug has been marked as a duplicate of bug 1097078 *** |