RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 720540 - [WHQL][viostor] Failed to install viostor dirver on Windows XP and Windows 2k3 32/64 bits
Summary: [WHQL][viostor] Failed to install viostor dirver on Windows XP and Windows 2k...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virtio-win
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-12 01:42 UTC by Min Deng
Modified: 2013-01-10 00:03 UTC (History)
7 users (show)

Fixed In Version: virtio-win-prewhql-0.1-13
Doc Type: Bug Fix
Doc Text:
Do not document.
Clone Of:
Environment:
Last Closed: 2011-12-06 21:17:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error screen shot (173.56 KB, image/png)
2011-07-12 01:42 UTC, Min Deng
no flags Details
guest hang when restarting (11.38 KB, image/png)
2011-07-13 06:38 UTC, dawu
no flags Details
Device Manager (51.70 KB, image/png)
2011-07-19 08:56 UTC, Min Deng
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1542 0 normal SHIPPED_LIVE virtio-win bug fix update 2011-12-07 02:13:14 UTC

Description Min Deng 2011-07-12 01:42:17 UTC
Created attachment 512314 [details]
error screen shot

Description of problem:
Install OS and attach a disk with virtio and then update driver from device manager for this disk.These actions will lead to VM quit or guest hangs

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1.install OS with the following cmd -
/usr/libexec/qemu-kvm -m 6G -smp 4 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -drive file=/dev/mike_cao/secondOS,format=qcow2,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup0 -device rtl8139,netdev=hostnet0,mac=00:10:24:3e:45:24,bus=pci.0,addr=0x4,id=net0 -boot dc -uuid 467960a1-de4b-4254-b293-b769a93abc47 -vnc :1 -cdrom /home/en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso -monitor stdio -drive file=/dev/mike_cao/dengmindata,if=none,id=drive-virtio1,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-virtio1,id=virtio-blk-pci1

Notes,
  boot disk is ide
  data disk is virtio (or you can add this disk after finishing installation)


2.after finishing installation ,open the device manager and update data disk dirver
  
Actual results:
              VM  quits automatically or the install process hangs 
Expected results:
              driver can be updated successfully and no any errors 


Additional info:

Comment 2 Min Deng 2011-07-12 01:44:20 UTC
kernel :2.6.32-164.el6.x86_64
qemu   :qemu-kvm-0.12.1.2-2.167.el6.x86_64

Comment 3 Min Deng 2011-07-12 02:07:58 UTC
steps for updating driver
My computer ->Manager -> Device Manager -> update title with 'SCSI...'device.

Comment 4 Qunfang Zhang 2011-07-12 05:50:46 UTC
Hi, Vadim
I re-test again, could not install virtio storage driver. So set a TestBlocker keyword.
Step:
1.Install a winxp guest with IDE block.
2.Shutdown guest after finish installation.
3.Boot guest again with IDE system disk and virtio data disk.
4.Install virtio driver on the data disk. (use 0.1-11)

Result: On my host, guest has not finished installation after 20 mins.

Comment 6 Min Deng 2011-07-12 08:57:06 UTC
  The issue only occurs on windows xp and windows 2003 32/64 bits

Comment 7 dawu 2011-07-13 06:36:39 UTC
Hi Vadim,

There is similar issue for win2k8/win7, but a litter difference in steps and result, please refer to the following details:

Steps:
1.Install a win7/win2k8 guest with IDE block.
2.Shutdown guest after finish installation.
3.Boot guest again with IDE system disk and virtio data disk.
4.Install virtio driver on the data disk,(use 0.1-11). Driver can be installed successfully.
5.Shutdown guest and restart guest with virtio system disk and virtio data disk.

Actually result:
Guest hang at the beginning of starting, please refer to the attached "guest-hang-starting.png".

Note:
I don't know for win7/win2k8, whether the same root cause the issue with winxp/w2k3, so if needed, I can report another new bug for win7/win2k8.

Best Regards,
Dawn

Comment 8 dawu 2011-07-13 06:38:02 UTC
Created attachment 512573 [details]
guest hang when restarting

Comment 9 Vadim Rozenfeld 2011-07-13 08:39:35 UTC
(In reply to comment #7)
> Note:
> I don't know for win7/win2k8, whether the same root cause the issue with
> winxp/w2k3, so if needed, I can report another new bug for win7/win2k8.

Hi Down,

Let's keep it as a single bug, 
at least until we are not sure
that there are two different issues. 

Kind regards,
Vadim.

> 
> Best Regards,
> Dawn

Comment 10 Vadim Rozenfeld 2011-07-14 10:32:05 UTC
(In reply to comment #7)
> Hi Vadim,
> 
> There is similar issue for win2k8/win7, but a litter difference in steps and
> result, please refer to the following details:
> 
> Steps:
> 1.Install a win7/win2k8 guest with IDE block.
> 2.Shutdown guest after finish installation.
> 3.Boot guest again with IDE system disk and virtio data disk.
> 4.Install virtio driver on the data disk,(use 0.1-11). Driver can be installed
> successfully.
> 5.Shutdown guest and restart guest with virtio system disk and virtio data
> disk.
> 
> Actually result:
> Guest hang at the beginning of starting, please refer to the attached
> "guest-hang-starting.png".
> 
> Note:
> I don't know for win7/win2k8, whether the same root cause the issue with
> winxp/w2k3, so if needed, I can report another new bug for win7/win2k8.
> 
> Best Regards,
> Dawn

Hi Dawn,

I was able reproduce and track down this issue.
The problem is mostly relevant to XP/W2K3. However,
it can be reproducible on any Windows OS, running 
without MSI (IRQ interrupts only) interrupt support. 

We are going to prepare a new build by end of the week.
If you still will see something strange on Win7/W2k8 -
please open a separate bug.

Best regards,
Vadim.

Comment 11 Vadim Rozenfeld 2011-07-16 21:10:54 UTC
Please check with the latest drivers:

http://download.devel.redhat.com/brewroot/packages/virtio-win-prewhql/0.1/12/win/virtio-win-prewhql-0.1.zip

Thank you,
Vadim.

Comment 12 Mike Cao 2011-07-19 08:20:01 UTC
Tried with win08R2 guest ,still *failed* to install driver.

steps:
1.install guest with ide &e1000 nic
2.boot a with extra virtio data disk
eg:
/usr/libexec/qemu-kvm -m 6G -smp 4 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -drive file=/home/win08R2.raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=/home/snd.raw,if=none,id=virtio1,werror=stop,rerror=stop,cache=none,format=raw -device virtio-blk-pci,drive=virtio1,id=virtio1,bootindex=2 -netdev tap,id=hostnet0,script=/etc/qemu-ifup,downscript=no -device e1000,netdev=hostnet0,mac=76:0E:40:3F:2F:3F -boot dc -uuid cc5aee77-d631-41d4-92a0-4e59c3b5cb6c -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -name win2k8-storage -vnc :10 -device virtio-balloon-pci,id=balloon0 
3.in the guest install driver located in INSTALL\Wlh\amd64\storage

Actual Results:
Guest stop with (qemu) block I/O error in device 'virtio1': Input/output error (5) 
and it can not continue .

Comment 13 Vadim Rozenfeld 2011-07-19 08:38:36 UTC
(In reply to comment #12)
> Tried with win08R2 guest ,still *failed* to install driver.
> 
> steps:
> 1.install guest with ide &e1000 nic
> 2.boot a with extra virtio data disk
> eg:
> /usr/libexec/qemu-kvm -m 6G -smp 4 -cpu cpu64-rhel6,+x2apic -usbdevice tablet
> -drive
> file=/home/win08R2.raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none,format=raw
> -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
> -drive
> file=/home/snd.raw,if=none,id=virtio1,werror=stop,rerror=stop,cache=none,format=raw
> -device virtio-blk-pci,drive=virtio1,id=virtio1,bootindex=2 -netdev
> tap,id=hostnet0,script=/etc/qemu-ifup,downscript=no -device
> e1000,netdev=hostnet0,mac=76:0E:40:3F:2F:3F -boot dc -uuid
> cc5aee77-d631-41d4-92a0-4e59c3b5cb6c -rtc-td-hack -no-kvm-pit-reinjection
> -monitor stdio -name win2k8-storage -vnc :10 -device
> virtio-balloon-pci,id=balloon0 
> 3.in the guest install driver located in INSTALL\Wlh\amd64\storage
> 
> Actual Results:
> Guest stop with (qemu) block I/O error in device 'virtio1': Input/output error
> (5) 
> and it can not continue .

Does it work on XP/W2K3?

Comment 14 Min Deng 2011-07-19 08:54:48 UTC
Hi Vadim,

   I tried the bz with the latest driver on win xp/w2k3 and provided the newest steps
1.boot guest with this command - 
/usr/libexec/qemu-kvm -m 2G -smp 2 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -drive file=/home/win2003-32.qcow2,format=qcow2,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device rtl8139,netdev=hostnet0,mac=00:13:21:29:45:01,bus=pci.0,addr=0x4,id=net0 -boot c -uuid `uuidgen` -monitor stdio -drive file=/home/bug/disk1.raw,if=none,id=drive-virtio1,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-virtio1,id=virtio-blk-pci1 -vnc :1
2.Go to the "Device Manager" and update block driver,the driver can be installed successfully.
3.Shut down the guest and change system disk to 'virtio' via the following command
 ... -device virtio-blk-pci,drive=drive-vide0-0-0,id=ide0-0-0 ...
 and then boot the guest again

Expected results, the driver related info should be provided correctly in 'Device Manager'
Actual   results, the driver provider ,driver name, driver version and driver signer were 'unknow' or 'unavailable'.Only for the system disk.The data disk is good.Attached a scree shot of win2k3.

Comment 15 Min Deng 2011-07-19 08:56:20 UTC
Created attachment 513736 [details]
Device Manager

Comment 16 Vadim Rozenfeld 2011-07-24 13:45:11 UTC
A couple of questions:
- comment 1. As I understand, the system doesn't hang anymore. Am I correct?
- comment 14. What is the version of viostor driver, initially installed on step 1? Did you restart the system after step 3?

Thank you,
Vadim.

Comment 19 Vadim Rozenfeld 2011-08-11 07:02:41 UTC
Hi Min,
What is the status for this bug?
Can we close it?

Best regards,
Vadim.

Comment 20 Min Deng 2011-08-12 02:14:43 UTC
Hi Vadim ,
   QE tested WHQL visotor diver with virtio-win-prewhql-0.1-13 and it seemed all guests worked fine except for windows xp - [727034 - [WHQL][viostor]VM guest failed with "virtio: trying to map MMIO memory"error on Windows XP].
  
   But the bug itself was resolved.so thanks for your hard work.

Best regard,
Min

Comment 21 Vadim Rozenfeld 2011-08-12 06:08:58 UTC
(In reply to comment #20)
> Hi Vadim ,
>    QE tested WHQL visotor diver with virtio-win-prewhql-0.1-13 and it seemed
> all guests worked fine except for windows xp - [727034 - [WHQL][viostor]VM
> guest failed with "virtio: trying to map MMIO memory"error on Windows XP].
> 
Thank you, Min.

With the latest build this bug should be fixed.
Please see the following comment:
https://bugzilla.redhat.com/show_bug.cgi?id=727034#c4

Best regards,
Vadim.


>    But the bug itself was resolved.so thanks for your hard work.
> 
> Best regard,
> Min

Comment 22 Vadim Rozenfeld 2011-08-28 14:16:41 UTC
Hi Min,
Can we close this bug as verified?

Best regards,
Vadim.

Comment 23 Mike Cao 2011-08-28 14:59:14 UTC
based on comment #20 ,move status to VERIFIED.

Comment 24 Vadim Rozenfeld 2011-11-02 20:03:23 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document.

Comment 25 errata-xmlrpc 2011-12-06 21:17:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1542.html


Note You need to log in before you can comment on or make changes to this bug.