Red Hat Bugzilla – Bug 907397
Patch "e1000: no need auto-negotiation if link was down" may break e1000 guest
Last modified: 2013-11-21 01:33:33 EST
Can reproduce this issue by using qemu-kvm-355. Steps: 1. boot guest with e1000(netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=e100-1,mac=2C:41:38:B6:40:44,bus=pci.0,addr=0x6,bootindex=2 ) #/usr/libexec/qemu-kvm -M rhel6.4.0 -cpu SandyBridge,+sep -enable-kvm -m 2048 -smp 4,sockets=2,cores=2,threads=1 -no-kvm-pit-reinjection -usb -device usb-tablet,id=input0 -name test-sluo -uuid bef435d2-6d6d-4faf-9936-bc02ac89082a -rtc base=localtime,clock=host,driftfix=slew -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pci.0,addr=0x3 -chardev socket,id=channel1,path=/tmp/helloworld1, server,nowait -device virtserialport,chardev=channel1,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1 -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtserialport,chardev=channel2,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port2 -drive file=/home/RHEL6.4-Snapshot-3.0_Server_x86_64.raw,if=none,id=system-virtio-disk,format=raw,cache=none,aio=native,werror=stop,rerror =stop,serial="QEMU-DISK1" -device virtio-blk-pci,bus=pci.0,addr=0x4,scsi=off,drive=system-virtio-disk,id=system-disk,bootindex=1 -device virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x5 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=e100-1,mac=2C:41:38:B6:40:44,bus=pci.0,addr=0x6,bootindex=2 -k en-us -boot menu=on -spice port=5931,disable-ticketing -vga qxl -monitor stdio 2. In guest #reboot Result Guest lose ip. Additional infos: 1. This issue can not be reproduced by using qemu-kvm-0.12.1.2-2.344.el6.x86_64. This issue should be introduced from bz890288. 2. This issue can not be reproduced if KVM QE uses "system_reset" instead of "reboot" in guest. 2.1 In guest#reboot Reproduced ratio : 3/3 2.2 (qemu)system_reset Reproduced ratio : 0/3
> 2. This issue can not be reproduced if KVM QE uses "system_reset" instead of > "reboot" in guest. > 2.1 In guest#reboot Reproduced ratio : 3/3 > 2.2 (qemu)system_reset Reproduced ratio : 0/3 Hi Jason/Mst Would you please have a look this comment? What's the difference between "issue reboot command in guest" and "issue system_reset"? Why the "issue reboot command in guest" can reproduce this issue 100%, however, "issue system_reset" can not? Thanks. Best Regards & Thanks, Junyi
I am guessing you need a longer time between system reset commands. reboot from guest adds delay since guest needs to boot.
(In reply to comment #4) > I am guessing you need a longer time between system reset commands. > reboot from guest adds delay since guest needs to boot. Ok, KVM QE will have a try this method as well.
(In reply to comment #4) > I am guessing you need a longer time between system reset commands. > reboot from guest adds delay since guest needs to boot. This issue can be reproduced as well if KVM QE repeatedly resets by using system_rest guest with random timing by script.
*** Bug 908077 has been marked as a duplicate of this bug. ***
Test with qemu-kvm-0.12.1.2-2.381.el6.x86_64: With steps in comment 2, pass. Also do extra test during verifiying: Bug 907716 - use set_link to change rtl8139 and e1000 network card's status but fail to make effectively after reboot guest Test result is in: https://bugzilla.redhat.com/show_bug.cgi?id=907716#c26 All pass, based on above, i am willing to test this one verified.
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/RHSA-2013-1553.html