Bug 1025660
Summary: | [virtio-win][vioser]virtserialport didnot work after continuous hotplug/unplug during virtio serial in use | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | lijin <lijin> |
Component: | virtio-win | Assignee: | Gal Hammer <ghammer> |
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.5 | CC: | bcao, bsarathy, chayang, ghammer, juzhang, lijin, rbalakri, sluo |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-14 09:12:56 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: |
Description
lijin
2013-11-01 08:32:20 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1027181 may dup of this one win2012R2 hit the same issue with virio-win-prewhql-74 package info: qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.x86_64 kernel-2.6.32-433.el6.x86_64 seabios-0.6.1.2-28.el6.x86_64 Reproduced this issue on RHEL7 hosts with virtio-win-1.6.7-2 3.10.0-50.el7.x86_64 qemu-kvm-rhev-1.5.3-19.el7.x86_64 seabios-1.7.2.2-4.el7.x86_64 steps 1.Start VM with virtio-serial-pci and virtserialport CLI:/usr/libexec/qemu-kvm -M pc-i440fx-rhel7.0.0 -cpu SandyBridge -enable-kvm -m 2G -smp 2,cores=2 -name bcao_win-7-32-netkvm -uuid 884e673a-1b4a-4385-a522-b3cc35ef4e18 -rtc base=localtime,clock=host,driftfix=slew -drive file=win8-64.qcow2,if=none,media=disk,serial=aaabbbccc,werror=stop,rerror=stop,cache=none,format=qcow2,id=drive-disk0 -device ide-drive,bus=ide.0,unit=1,physical_block_size=4096,logical_block_size=512,drive=drive-disk0,id=disk0 -drive file=/root/en_windows_8_enterprise_x64_dvd_917522.iso,if=none,media=cdrom,id=aa -device ide-drive,id=aa1,drive=aa,bootindex=1 -drive file=/usr/share/virtio-win/virtio-win.iso,media=cdrom,if=none,id=bb -device ide-drive,id=bb1,drive=bb -netdev tap,vhost=on,id=netdev0 -device e1000,netdev=netdev0,id=nic1,mac=1a:46:0b:ca:bc:7b -vnc :1 -vga std -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor unix:/tmp/tt,server,nowait -device virtio-serial-pci,id=serial0 -chardev socket,path=/tmp/socket,server,nowait,id=chardev0 -device virtserialport,id=port0,name=com.redhat.rhevm.vdsm,chardev=chardev0 2.Transferring data from guest to host in a loop eg:in the guest # for ((;;)) ;do python VirtIOChannel_guest_send.py com.redhat.rhevm.vdsm1; sleep 1; done on the host # for ((;;)) ;do python serial-host-recieve.py /tmp/tt1 ; done 3.(qemu) device_del port0 (qemu) device_add virtserialport,id=port0,name=com.redhat.rhevm.vdsm,chardev=chardev0 4.try to transferring data from guest to hsot again via vioserial on the host #nc -U /tmp/socket in the guest use #vioserial-test.exe to write sth Actual Restult: in the vioserial-test.exe terminal "Write failed but isn't deplayed WriteTest: WriteFile failed : Error 22" I was still unable to reproduce either one of the two scenarios. I tried with qemu-kvm-1.5.3-30.el7 which should be identical to qemu-kvm-rhev. Closing after failing to reproduce w/qemu-kvm-1.5.3-52.el7.x86_64 on a RHEL-7 host. win8.1-32 guest still hit this issue on rhel7 host: steps same as comment#0 actual result: no warning message shown in qemu monitor during hotplug/hotunplug,but still only one port can be seen in guest; after reboot guest,two ports can be detected and neither of them can work normally. expected result: after the unplug/plug loop,two ports can work correctly package infoļ¼ kernel-3.10.0-110.el7.x86_64 qemu-kvm-rhev-1.5.3-53.el7.x86_64 seabios-1.7.2.2-12.el7.x86_64 virtio-win-prewhql-75 Does it reproduce on qemu-kvm-1.5.3-52.el7.x86_64 (non rhev version)? Thanks. (In reply to Gal Hammer from comment #8) > Does it reproduce on qemu-kvm-1.5.3-52.el7.x86_64 (non rhev version)? Thanks. Yes,I can reproduce this issue with qemu-kvm-1.5.3-53.el7.x86_64 test with virtio-win-prewhql-90 and qemu-kvm-0.12.1.2-2.441.el6.bz1027181.x86_64: steps as comment#0,virtserialort can be hot-unplug/hot-plug correctly,and after the loop ends,virtserialport can work well. package info: qemu-kvm-0.12.1.2-2.441.el6.bz1027181.x86_64 virtio-win-prewhql-90 2.6.32-486.el6.x86_64 Hi Mike, Based on comment #13, can we close this one? Second, is this a duplicate of bug 1044341 (or vice verse)? Thanks, Gal. (In reply to Gal Hammer from comment #14) > Hi Mike, > > Based on comment #13, can we close this one? We can not close it as fixed we are using stratch build on #13. As Amit claims 1043403 originally is a RHEL7 bug. The fix in bug 1027181 is targeted for RHEL6. RHEL7 already has the fix mentioned there. I think both of the 2 bugs may close as dup of 1043403 after it fixed. What's your idea ? Thanks, Mike (In reply to Mike Cao from comment #15) > (In reply to Gal Hammer from comment #14) > > Hi Mike, > > > > Based on comment #13, can we close this one? > > We can not close it as fixed we are using stratch build on #13. > As Amit claims 1043403 originally is a RHEL7 bug. The fix in bug 1027181 is > targeted for RHEL6. RHEL7 already has the fix mentioned there. > > I think both of the 2 bugs may close as dup of 1043403 after it fixed. > What's your idea ? Keep just one open for tracking and close the rest as dups. No need to wait for a fix. > Thanks, > Mike Closing as DUPLICATED based on comment #13. *** This bug has been marked as a duplicate of bug 1027181 *** |