Bug 727503 - windows guest Can not load virtio serial driver during guest installation.
Summary: windows guest Can not load virtio serial driver during guest installation.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virtio-win
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-02 10:19 UTC by Mike Cao
Modified: 2011-08-11 06:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-11 06:52:18 UTC
Target Upstream Version:


Attachments (Terms of Use)
screen dump (132.52 KB, image/png)
2011-08-02 10:28 UTC, Mike Cao
no flags Details
info pci (1.56 KB, text/plain)
2011-08-04 05:19 UTC, Mike Cao
no flags Details
setupapi.dev.log (1.09 MB, text/plain)
2011-08-04 05:22 UTC, Mike Cao
no flags Details

Description Mike Cao 2011-08-02 10:19:38 UTC
Description of problem:
win2k8 32 bit /64 bit failed to load virtio serial driver during guest installation ,while win2k8R2 works fine.

Version-Release number of selected component (if applicable):
# uname -r
2.6.32-171.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.175.el6.x86_64
# rpm -q virtio-win
virtio-win-1.3.1-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1.start qemu-kvm with -virtio-serial-pci -virtserialport
CLI:
/usr/libexec/qemu-kvm -m 4G -smp 4 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -boot menu=on -drive file=/home/win2008_32,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none,format=raw -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup,downscript=no -device e1000,netdev=hostnet0,mac=76:0E:40:3F:2F:3F -boot dc -uuid dd5aee77-d635-41d4-92a0-4e59c3b5cb6c -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -name win2k8-storage -vnc :10 -drive file=/home/en_windows_server_2008_datacenter_enterprise_standard_sp2_x86_dvd_342333.iso,if=none,id=drive-ide0-0-2,werror=stop,rerror=stop,cache=none,format=raw,media=cdrom,readonly=on -device ide-drive,drive=drive-ide0-0-2,id=ide0-0-2,bus=ide.0,unit=1 -drive file=/home/virtio-win.iso,if=none,id=drive-ide0-0-3,werror=stop,rerror=stop,cache=none,format=raw,media=cdrom,readonly=on -device ide-drive,drive=drive-ide0-0-3,id=ide0-0-3,bus=ide.1,unit=1 
-device virtio-serial-pci,max_ports=16,indirect_desc=on \
-chardev socket,path=/tmp/virtio3,server,nowait,id=virtio3 \
-device virtserialport,chardev=virtio3,name=com.redhat.virtio.3 

2.in the guest ,during the steps "Where do you want to install Windows?" ,load the right virtio serial driver.
eg :click "Load Driver" -->blowse --->cd Drive (E:) virtio-win-1.3.1--->viroserial-->2k8-->x86--->ok--- "next"

  
Actual results:
load driver failed it prompts "
The virtio-serial Driver could not be installed .Contract your vendor for an updated driver." (referring to screendump)


Expected results:
the driver should be loaded successfully.

Additional info:
Tried win200832 bit ,win2008 64 bit ,both hit this issue.
Tried on win2008R2 ,can *not* hit this issue .

Comment 1 Mike Cao 2011-08-02 10:28:38 UTC
Created attachment 516291 [details]
screen dump

Comment 3 Arkady Frenkel 2011-08-03 10:24:12 UTC
Hi, Mike!
Seems like https://bugzilla.redhat.com/show_bug.cgi?id=727799 define the same issue

Best, Arkady

Comment 4 Vadim Rozenfeld 2011-08-03 16:15:57 UTC
(In reply to comment #0)
> Actual results:
> load driver failed it prompts "
> The virtio-serial Driver could not be installed .Contract your vendor for an
> updated driver." (referring to screendump)

Hi Mike,

Cannot reproduce the problem yet. Could you send C:\Windows\inf\setupapi.dev.log file and "info pci" output?

Best regards,
Vadim.

Comment 5 Mike Cao 2011-08-04 05:16:50 UTC
(In reply to comment #4)
> (In reply to comment #0)
> > Actual results:
> > load driver failed it prompts "
> > The virtio-serial Driver could not be installed .Contract your vendor for an
> > updated driver." (referring to screendump)
> 
> Hi Mike,
> 
> Cannot reproduce the problem yet. Could you send
> C:\Windows\inf\setupapi.dev.log file and "info pci" output?
Hi, Vadim

*note* that ,this is only happened during guest installation ,after guest installation completed ,then I can install virtio serial driver successfully.
I will attach the  C:\Windows\inf\setupapi.dev.log after installation completed with virtio storage & virtio nic .

Additional info:
balloon driver also can not loaded during win2k8 guest installation.

Mike

> 
> Best regards,
> Vadim.

Comment 6 Mike Cao 2011-08-04 05:19:38 UTC
Created attachment 516613 [details]
info pci

Comment 7 Mike Cao 2011-08-04 05:22:59 UTC
Created attachment 516614 [details]
setupapi.dev.log

Comment 8 Vadim Rozenfeld 2011-08-04 11:53:28 UTC
(In reply to comment #7)
> Created attachment 516614 [details]
> setupapi.dev.log

Hi Mike,

in the log file I can only find the following record, related to the vioserial:
>>>  [Setup online Device Install (Hardware initiated) - PCI\VEN_1AF4&DEV_1003&SUBSYS_00031AF4&REV_00\3&13c0b0c5&2&28]
>>>  Section start 2011/08/03 21:13:37.875

vioserial driver cannot be installed at this installation phase,
just because it is not an in-box driver. It needs to be installed/updated manually. But I don't see any DiShowUpdateDevice section, related to vioserial in the log file above. Did you try to update the 'PCI Simple Communications Controller' with the vioserial driver?

best regards,
Vadim.

Comment 9 Mike Cao 2011-08-05 10:19:16 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Created attachment 516614 [details]
> > setupapi.dev.log
> 
> Hi Mike,
> 
> in the log file I can only find the following record, related to the vioserial:
> >>>  [Setup online Device Install (Hardware initiated) - PCI\VEN_1AF4&DEV_1003&SUBSYS_00031AF4&REV_00\3&13c0b0c5&2&28]
> >>>  Section start 2011/08/03 21:13:37.875
> 
> vioserial driver cannot be installed at this installation phase,
> just because it is not an in-box driver. It needs to be installed/updated
> manually. But I don't see any DiShowUpdateDevice section, related to vioserial
> in the log file above. 


Hi, Vadim 

I still think it is a bug .win7 32/64 bit ,win2008R2 guest works when I load virtio balloon/serial driver during *guest installation*
While win2008 32bit/64 bit can not .

>>Did you try to update the 'PCI Simple Communications
> Controller' with the vioserial driver?

did you mean doing this after installation completed ? yes ,all virtio driver could be installed on device manager ,while this bug is about install driver during guest installation.
> 
> best regards,
> Vadim.

Comment 10 Vadim Rozenfeld 2011-08-07 10:59:49 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > Created attachment 516614 [details]
> > > setupapi.dev.log
> > 
> > Hi Mike,
> > 
> > in the log file I can only find the following record, related to the vioserial:
> > >>>  [Setup online Device Install (Hardware initiated) - PCI\VEN_1AF4&DEV_1003&SUBSYS_00031AF4&REV_00\3&13c0b0c5&2&28]
> > >>>  Section start 2011/08/03 21:13:37.875
> > 
> > vioserial driver cannot be installed at this installation phase,
> > just because it is not an in-box driver. It needs to be installed/updated
> > manually. But I don't see any DiShowUpdateDevice section, related to vioserial
> > in the log file above. 
> 
> 
> Hi, Vadim 
> 
> I still think it is a bug .win7 32/64 bit ,win2008R2 guest works when I load
> virtio balloon/serial driver during *guest installation*
> While win2008 32bit/64 bit can not .

No, it is not a driver's bug, but one of many differences in device drivers installation process between W2K8 and W7/W2K8R2. 
W7/W2k8R2 can add a driver into driver store file repository, when on response to the question "Where do you want to install Windows?" you add any device driver, even though it can be irrelevant to the storage stack. W2K8 cannot do it. 
User should make no assumption that a non boot-time device driver
can be installed this way. 

> 
> >>Did you try to update the 'PCI Simple Communications
> > Controller' with the vioserial driver?
> 
> did you mean doing this after installation completed ? yes ,all virtio driver
> could be installed on device manager ,while this bug is about install driver
> during guest installation.
> > 
> > best regards,
> > Vadim.


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