Bug 1049264
Summary: | virtio ethernet drivers do not work in Windows 7 SP1 32-bit without disabling TCP/UDP checksum offload | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Marcin Krol <mkebaypl2> |
Component: | virtio-win | Assignee: | Ronen Hod <rhod> |
Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acathrow, bcao, dfleytma, hhuang, juzhang, knoel, mdeng, michen, mmishael, qiguo, simon.neininger, virt-maint, yunzheng, yvugenfi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Windows | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-09 13:22:57 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
Marcin Krol
2014-01-07 10:04:53 UTC
I can not reproduce this issue on RHEL7 versions: virtio-win-prewhql-0.1.74 3.10.0-50.el7.x86_64 seabios-1.7.2.2-4.el7.x86_64 package sgabios is not installed package qemu-kvm is not installed qemu-kvm-rhev-1.5.3-19.el7.x86_64 steps: 1.Start win7-32 bit guest on RHEL7 host /usr/libexec/qemu-kvm -M rhel6.5.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=win7-32.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=en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.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 virtio-net-pci,netdev=netdev0,id=nic1,mac=1a:46:1b:ca:bc:7b -vnc :2 -monitor stdio -usb -device usb-tablet,id=tablet0 -global PIIX4_PM.disable_s3=0 -global PIIX_PM.disable_s4=0 -monitor unix:/tmp/tt,server,nowait -boot menu=on 2.install netkvm driver from virito-win-prewhql-0.1-74 3.disable following options TCP Checksum Offload (IPv4) TCP Checksum Offload (IPv6) UDP Checksum Offload (IPv4) UDP Checksum Offload (IPv6) Actual Restults: guest still can commnunicate with host and other machines Dear Marcin, Thank you for taking the time to enter a bug report with us. We appreciate the feedback and look to use reports such as this to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution. If this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain it receives the proper attention and prioritization to assure a timely resolution. For information on how to contact the Red Hat production support team, please visit: https://www.redhat.com/support/process/production/#howto @Mike Cao: have you tried using the virtio eth card BEFORE disabling TCP/UDP Checksum Offload? AFTER disabling checksum offloads the card works, yes, but not with checksum offload functions enabled. That's what I'm reporting. @Ronen Hod: I do not ask for support here, after all I was able to make the virtio eth card work. Just wanted to let you know there might be a problem. Hi Marcin, Thank you for your report. Can you send the result of "ethtool -k" on the tap device and bridge on the host? Thanks, Yan. % ethtool -k eth0 Features for eth0: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: on tx-checksum-unneeded: off [fixed] tx-checksum-ip-generic: off [fixed] tx-checksum-ipv6: on tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: off [fixed] tx-tcp6-segmentation: on udp-fragmentation-offload: off [fixed] generic-segmentation-offload: on generic-receive-offload: on large-receive-offload: off rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: on highdma: on [fixed] rx-vlan-filter: on [fixed] vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: on loopback: off [fixed] % ethtool -k br0 Features for br0: rx-checksumming: off [fixed] tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-unneeded: off [requested on] tx-checksum-ip-generic: on [fixed] tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp6-segmentation: on udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: off [fixed] tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: on [fixed] tx-gso-robust: off [requested on] tx-fcoe-segmentation: off [requested on] fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] Note: the eth0 card is Intel's I210 Gigabit controller: % lspci | grep -i eth 05:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) 06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) The drivers do not seem to be present in stock kernel, so I used ones provided by Intel, archive: https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=13663 file: igb-5.0.6.tar.gz Modprobe card settings I used are as follows: alias eth0 igb alias eth1 igb options igb IntMode=2,1 P.S. I used defaults everywhere apart from modprobe (did not tweak eth0 settings on host at all, and nothing on guest except disabling those checksum offloads as test) (In reply to Marcin Krol from comment #4) > @Mike Cao: have you tried using the virtio eth card BEFORE disabling TCP/UDP > Checksum Offload? Yes . Pls tell me which operation system/kernel do you use for testing Mike > > AFTER disabling checksum offloads the card works, yes, but not with checksum > offload functions enabled. That's what I'm reporting. > > @Ronen Hod: I do not ask for support here, after all I was able to make the > virtio eth card work. Just wanted to let you know there might be a problem. (In reply to Marcin Krol from comment #6) > % ethtool -k eth0 Marcin, what about tap device that is created as a backend for virtio-net? Check the list of devices with ifconfig, you should see it. Thanks, Yan. Hello, The host OS is actually Debian 7.2 x64: % uname -a Linux irys 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux However, since Intel IGB driver gave me some trouble (e.g. network link state autodetection works erratically) in connection to RH's virtio eth drivers, I posted the bug rep here. @Yan: I presume that TAP device for that bridge is what virt-manager displays on guest hw page? (I have "Host device vnet13 (Bridge 'br0')"): 21: vnet13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500 link/ether fe:54:00:68:4d:b9 brd ff:ff:ff:ff:ff:ff inet6 fe80::fc54:ff:fe68:4db9/64 scope link ethtool info for it: % ethtool -k vnet13 Features for vnet13: rx-checksumming: off [fixed] tx-checksumming: off tx-checksum-ipv4: off [fixed] tx-checksum-unneeded: off [fixed] tx-checksum-ip-generic: off [requested on] tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] scatter-gather: off tx-scatter-gather: off [requested on] tx-scatter-gather-fraglist: on tcp-segmentation-offload: off tx-tcp-segmentation: off [requested on] tx-tcp-ecn-segmentation: off [requested on] tx-tcp6-segmentation: off [requested on] udp-fragmentation-offload: off [requested on] generic-segmentation-offload: off [requested on] generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: off [fixed] tx-vlan-offload: off [fixed] ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: off [fixed] rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: on loopback: off [fixed] I am closing this bug as it does not reproduce on RHEL hosts. Feel free to continue the communication here. Regards, Ronen. |