Activity log for bug #458521

Date Who What changed Old value New value Message
2009-10-22 20:27:54 trunet bug added bug
2009-10-22 20:27:54 trunet attachment added Stack trace of kvm process crashing http://launchpadlibrarian.net/34172740/strace-kvm.out.gz
2009-10-22 20:28:55 trunet nominated for series Ubuntu Karmic
2009-10-26 16:13:03 Mathias Gug kvm (Ubuntu): importance Undecided Medium
2009-10-26 16:14:59 Dustin Kirkland  affects kvm (Ubuntu) qemu-kvm (Ubuntu)
2009-10-26 16:15:13 Dustin Kirkland  qemu-kvm (Ubuntu): status New Confirmed
2009-10-26 16:15:28 Dustin Kirkland  bug task added qemu
2009-10-26 16:16:47 Dustin Kirkland  qemu: importance Undecided Medium
2009-10-26 18:46:32 Dustin Kirkland  bug task added qemu-kvm (Ubuntu Karmic)
2009-10-26 18:46:52 Dustin Kirkland  qemu-kvm (Ubuntu Karmic): milestone karmic-updates
2009-10-26 18:46:59 Dustin Kirkland  qemu-kvm (Ubuntu Karmic): importance Medium High
2009-10-26 18:47:04 Dustin Kirkland  qemu-kvm (Ubuntu Karmic): assignee Dustin Kirkland (kirkland)
2009-10-26 18:47:08 Dustin Kirkland  qemu: status New Confirmed
2009-10-26 18:47:19 Dustin Kirkland  qemu: assignee Anthony Liguori (anthony-codemonkey)
2009-10-26 18:48:21 Dustin Kirkland  summary kvm crash when using virtio for network kvm crash when using virtio for network, hardy guest
2009-10-28 16:43:19 Dustin Kirkland  bug task added ubuntu-release-notes
2009-10-28 16:43:32 Dustin Kirkland  ubuntu-release-notes: status New In Progress
2009-10-28 16:43:35 Dustin Kirkland  ubuntu-release-notes: assignee Dustin Kirkland (kirkland)
2009-10-28 17:56:15 Dustin Kirkland  description Binary package hint: kvm I was running a kvm host with 5 virtual machines using jaunty. 1 running centos 5.4, 3 running karmic and 1 running hardy. I upgraded the host to karmic to test it and one of my virtual machines(the vm with hardy) crashs after some seconds of boot! I stack traced the kvm process and found a "virtio-net truncating packet" before process crash. No error in any log file. The VM just crash. I changed the model of network interface(the disk is still virtio) in VM.xml to rtl8139, redefined and started. The problem goes away. I don't know if it's a kvm bug or libvirt(regarding the bridge network) bug but definitely is a bug. All other VMs are running OK with virtio for both network and disk. Binary package hint: kvm I was running a kvm host with 5 virtual machines using jaunty. 1 running centos 5.4, 3 running karmic and 1 running hardy. I upgraded the host to karmic to test it and one of my virtual machines(the vm with hardy) crashs after some seconds of boot! I stack traced the kvm process and found a "virtio-net truncating packet" before process crash. No error in any log file. The VM just crash. I changed the model of network interface(the disk is still virtio) in VM.xml to rtl8139, redefined and started. The problem goes away. I don't know if it's a kvm bug or libvirt(regarding the bridge network) bug but definitely is a bug. All other VMs are running OK with virtio for both network and disk. =========================== Karmic Release Notes: KVM Guest Crashes when Guest is Hardy and using Virtio Networking Ubuntu 8.04 LTS (Hardy) KVM guests using virtio networking may crash, when running on top of Ubuntu 9.10 (Karmic) hosts. As a workaround, such guests should use either e1000 or rtl839 as the networking model. A fix for the bug is currently in progress and should be addressed in an update to the qemu-kvm package in Karmic. ===========================
2009-10-28 18:10:20 Mathias Gug ubuntu-release-notes: status In Progress Fix Committed
2009-10-29 00:00:29 Steve Langasek ubuntu-release-notes: status Fix Committed Fix Released
2009-10-29 15:37:15 Dustin Kirkland  qemu-kvm (Ubuntu Karmic): status Confirmed In Progress
2009-10-29 15:38:30 Dustin Kirkland  attachment added patch http://launchpadlibrarian.net/34603683/patch
2009-10-29 16:55:47 Dustin Kirkland  description Binary package hint: kvm I was running a kvm host with 5 virtual machines using jaunty. 1 running centos 5.4, 3 running karmic and 1 running hardy. I upgraded the host to karmic to test it and one of my virtual machines(the vm with hardy) crashs after some seconds of boot! I stack traced the kvm process and found a "virtio-net truncating packet" before process crash. No error in any log file. The VM just crash. I changed the model of network interface(the disk is still virtio) in VM.xml to rtl8139, redefined and started. The problem goes away. I don't know if it's a kvm bug or libvirt(regarding the bridge network) bug but definitely is a bug. All other VMs are running OK with virtio for both network and disk. =========================== Karmic Release Notes: KVM Guest Crashes when Guest is Hardy and using Virtio Networking Ubuntu 8.04 LTS (Hardy) KVM guests using virtio networking may crash, when running on top of Ubuntu 9.10 (Karmic) hosts. As a workaround, such guests should use either e1000 or rtl839 as the networking model. A fix for the bug is currently in progress and should be addressed in an update to the qemu-kvm package in Karmic. =========================== Binary package hint: kvm I was running a kvm host with 5 virtual machines using jaunty. 1 running centos 5.4, 3 running karmic and 1 running hardy. I upgraded the host to karmic to test it and one of my virtual machines(the vm with hardy) crashs after some seconds of boot! I stack traced the kvm process and found a "virtio-net truncating packet" before process crash. No error in any log file. The VM just crash. I changed the model of network interface(the disk is still virtio) in VM.xml to rtl8139, redefined and started. The problem goes away. I don't know if it's a kvm bug or libvirt(regarding the bridge network) bug but definitely is a bug. All other VMs are running OK with virtio for both network and disk. =========================== Karmic Release Notes: KVM Guest Crashes when Guest is Hardy and using Virtio Networking Ubuntu 8.04 LTS (Hardy) KVM guests using virtio networking may crash, when running on top of Ubuntu 9.10 (Karmic) hosts. As a workaround, such guests should use either e1000 or rtl839 as the networking model. A fix for the bug is currently in progress and should be addressed in an update to the qemu-kvm package in Karmic. =========================== =========================== SRU Justification This bug is a regression from the kvm-84 package in 9.04. Karmic users hosting 8.04 KVM guests and using virtio networking *will* crash their VM when the network connection is saturated. As the virtual machine crashes without sync buffers, there could very well be data lost in the guest filesystem or memory. I have posted the patch for review, and acked upstream: * http://lists.gnu.org/archive/html/qemu-devel/2009-10/msg02495.html I am bundling this fix with two other minor fixes, for Bug #452323 and Bug #453441. TEST CASE: 1) Download and uncompress * http://rookery.canonical.com/~kirkland/hardy.img.bz2 2) Download a bridged networking script * http://rookery.canonical.com/~kirkland/bridge.sh 3) Start the vm with virtio and bridged networking * sudo /usr/bin/kvm -m 512 -net nic,model=virtio -net tap,script=bridge.sh -drive file=hardy.img,if=virtio,index=0,boot=on 4) The VM's username and password are both "ubuntu". 5) In the guest, have nc listen on a port * nc -lp 1234 > /dev/null 6) On your host, flood the guest with network traffic on that port * cat /dev/urandom | nc -w 3 guest_ip 1234 7) Without this fix, the guest will crash immediately, saying: * virtio-net truncating packet 8) With the fix, you will be able to send the guest with data over the virtio network ad nauseum. I get about 6MB/s throughput. ===========================
2009-10-29 17:20:09 Dustin Kirkland  attachment added 458521.patch http://launchpadlibrarian.net/34609172/458521.patch
2009-10-29 17:34:49 Dustin Kirkland  qemu: status Confirmed In Progress
2009-10-29 18:22:53 Dustin Kirkland  attachment added sru.debdiff http://launchpadlibrarian.net/34615056/sru.debdiff
2009-10-29 18:23:21 Dustin Kirkland  qemu-kvm (Ubuntu Karmic): status In Progress Fix Committed
2009-10-29 18:37:54 Martin Pitt qemu-kvm (Ubuntu): milestone karmic-updates lucid-alpha-1
2009-10-29 18:38:07 Martin Pitt qemu-kvm (Ubuntu): status In Progress Fix Committed
2009-10-29 18:38:13 Martin Pitt qemu-kvm (Ubuntu): milestone lucid-alpha-1
2009-10-30 08:47:19 Martin Pitt tags verification-needed
2009-10-30 20:29:12 Dustin Kirkland  attachment added out http://launchpadlibrarian.net/34719238/out
2009-10-30 20:30:46 Jamie Strandboge security vulnerability no yes
2009-11-02 16:59:23 Dustin Kirkland  bug task added linux (Ubuntu)
2009-11-02 16:59:39 Dustin Kirkland  linux (Ubuntu Karmic): status New Fix Released
2009-11-02 16:59:54 Dustin Kirkland  nominated for series Ubuntu Hardy
2009-11-02 16:59:54 Dustin Kirkland  bug task added linux (Ubuntu Hardy)
2009-11-02 16:59:54 Dustin Kirkland  bug task added qemu-kvm (Ubuntu Hardy)
2009-11-02 17:00:26 Dustin Kirkland  linux (Ubuntu Hardy): status New Triaged
2009-11-02 17:00:29 Dustin Kirkland  linux (Ubuntu): status New Fix Released
2009-11-02 17:00:34 Dustin Kirkland  linux (Ubuntu Hardy): importance Undecided High
2009-11-02 17:00:44 Dustin Kirkland  qemu-kvm (Ubuntu Hardy): status New Invalid
2009-11-02 17:01:27 Dustin Kirkland  linux (Ubuntu Hardy): assignee John Johansen (jjohansen)
2009-11-03 16:22:49 Martin Pitt tags verification-needed verification-done
2009-11-03 17:49:33 Launchpad Janitor branch linked lp:ubuntu/karmic-proposed/qemu-kvm
2009-11-03 23:33:16 Launchpad Janitor qemu-kvm (Ubuntu Karmic): status Fix Committed Fix Released
2009-11-03 23:34:22 Martin Pitt qemu-kvm (Ubuntu): status Fix Committed Fix Released
2009-11-03 23:34:49 Martin Pitt qemu-kvm (Ubuntu Karmic): status Fix Released Fix Committed
2009-11-09 10:14:25 Launchpad Janitor qemu-kvm (Ubuntu Karmic): status Fix Committed Fix Released
2011-04-28 15:11:46 Jamie Strandboge qemu: status In Progress Fix Released
2011-04-28 15:12:58 Jamie Strandboge linux (Ubuntu Hardy): status Triaged Incomplete
2011-04-29 12:08:50 Jamie Strandboge linux (Ubuntu Hardy): status Incomplete In Progress
2011-05-06 13:03:53 Jamie Strandboge linux (Ubuntu Hardy): status In Progress Fix Released