[Bug 511620] Re: write errors on virtual disc during install
Hi, where do I get qemu-kvm (0.12.3-0ubuntu15)? I have a lucid amd64 KVM host with similar symptoms but the available qemu-kvm version is only 0.12.3+noroms-0ubuntu9. -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Just tested with the 0.12.3-0ubuntu15 on the 2.6.32-16-generic #25-Ubuntu host kernel. All looks good. Thanks, Dave -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
** Changed in: qemu-kvm (Ubuntu Lucid) Status: Confirmed = Triaged ** Changed in: qemu-kvm (Ubuntu Lucid) Importance: Medium = High ** Changed in: qemu-kvm (Ubuntu Lucid) Assignee: (unassigned) = Dustin Kirkland (kirkland) -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
I just sent a build to my PPA. If someone could test and confirm qemu-kvm_0.12.3-0ubuntu15~ppa1 when it's built at: * https://edge.launchpad.net/~kirkland/+archive/ppa that would really help! Thanks! ** Changed in: qemu-kvm (Ubuntu Lucid) Status: Triaged = In Progress -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Hi Dustin, That seems to work - thanks Bernhard, Dustin ; just done a lucid3 install in it (64bit) - worked fine! (Note I realised the test I did today has my host is currently running 2.6.33-999-generic #201002211003 from the daily kernel ppa rather than the standard one, I'll try and remember to redo this test using the standard kernel tomorrow - but I doubt this kernel helped). Thanks for the great work! Dave r...@major:~/tmp/qemu# dpkg -l |grep -i kvm ii kvm 1:84+dfsg-0ubuntu16+0.12.3+0ubuntu15~ppa1 dummy transitional pacakge from kvm to qemu-kvm ii qemu-kvm 0.12.3-0ubuntu15~ppa1 Full virtualization on i386 and amd64 hardware r...@major:~/tmp/qemu# dpkg -l |grep -i qemu ii kvm 1:84+dfsg-0ubuntu16+0.12.3+0ubuntu15~ppa1 dummy transitional pacakge from kvm to qemu-kvm ii qemu-common 0.12.3-0ubuntu15~ppa1 qemu bios roms ii qemu-kvm 0.12.3-0ubuntu15~ppa1 Full virtualization on i386 and amd64 hardware -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 511620] Re: write errors on virtual disc during install
Excellent, thanks for the testing. I just uploaded to Lucid. However, it's awaiting approval in the queue. Hopefully your confirmation here will help nudge that approval along. -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
This bug was fixed in the package qemu-kvm - 0.12.3-0ubuntu15 --- qemu-kvm (0.12.3-0ubuntu15) lucid; urgency=low * debian/patches/block_avoid_creating_too_large_iovecs_in_multiwrite_merge.patch: - block: avoid creating too large iovecs in multiwrite_merge, fixes LP: #511620, cherry pick from upstream git -- Dustin Kirkland kirkl...@ubuntu.com Fri, 12 Mar 2010 13:30:30 -0600 ** Changed in: qemu-kvm (Ubuntu Lucid) Status: In Progress = Fix Released -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Applying http://article.gmane.org/gmane.comp.emulators.kvm.devel/45983 (also applied upstream, see http://git.kernel.org/?p=virt/kvm/qemu- kvm.git;a=commit;h=e2a305fb13ff0f5cf6ff80aaa90a5ed5954c) on top of 0.12.3-0ubuntu11 fixes this problem for me. This patch is also referenced in the above mentioned sourceforge.net bug (https://sourceforge.net/tracker/?func=detailatid=893831aid=2941282group_id=180599) -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Hi Dustin, Apologies for the delay (I mostly do stuff at the weekend). I've just tried current Lucid with qemu-kvm 0.12.3-0ubuntu7and kernel 2.6.32-15-generic #22-Ubuntu and the lucid-alpha3 desktop amd64 iso for the guest, and the problem is the same. The backing disk is a raw lvm2 logical volume (/dev/mapper/main-fiddle2disk), it's in a normal volume group with a single physical volume of /dev/sda3 which is a partition on the SATA disk. The failure seems to be 100% repeatable - the block number it fails at is non-repeatable - I have tried this about 5 times now (once with this latest version, a few more times with previous versions) and have not had a successful installation. I have managed an installation using an emulate SCSI disk rather than virtio. One thing I saw today which I don't believe I had previously seen is in the host dmesg I'm seeing some audit entries: [10772.370241] type=1503 audit(1267889473.222:28): operation=capable pid=5766 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_ptrace [10772.370528] type=1503 audit(1267889473.222:29): operation=capable pid=5789 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_ptrace [10772.379636] type=1503 audit(1267889473.232:30): operation=capable pid=5792 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_ptrace [10788.216465] type=1503 audit(1267889489.092:31): operation=capable pid=5767 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_rawio [10788.247112] type=1503 audit(1267889489.122:32): operation=capable pid=5766 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_rawio [10791.174155] type=1503 audit(1267889492.052:33): operation=capable pid=5766 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_rawio [10791.429616] type=1503 audit(1267889492.312:34): operation=capable pid=5767 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_rawio [10820.832664] type=1503 audit(1267889521.762:35): operation=capable pid=5766 parent=1 profile=libvirt-fd06659e-3354-cb8e-71d9-cfeeff86e60f name=sys_rawio but it's not clear to me that's related and you would have thought it would have failed earlier if it couldn't do any IO?? Todays failure happened about 5% through the install and the errors in the guest's dmesg were: end_request: I/O error, dev vda, sector 25702959 Buffer I/O error on device vda1, logical block 3212862 SMART on the host disk still looks good ('No Errors logged'). Dave -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Jamie- Can you confirm that these libvirt audit messages are benign? ** Changed in: qemu-kvm (Ubuntu Lucid) Status: Incomplete = Confirmed -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
The backing disk is a raw lvm2 logical volume ... Interesting... Out of curiosity, would you try with a qcow2 backing disk image? Just as another data point... -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Have you got a pointer to something on how to ask it to do qcow2? I've been using the libvirt manager and I have a choice of raw devices or file backed. Dave -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Hi Dave- I just uploaded qemu-kvm 0.12.3 to Lucid, which includes a number of storage fixes, according to the changelog. It would be great if you could give that a test run and report back! ** Description changed: Binary package hint: qemu-kvm - (This may be #420423 but we're running a much newer kernel on lucid). + (This may be Bug #420423 but we're running a much newer kernel on + lucid). Host: Lucid 64bit uptodate as of 23rd January - i7-860 - 2.6.32-11-generic #15-Ubuntu qemu-kvm: Version: 0.12.2-0ubuntu1 Guest: lucid alpha 2 64bit iso (having pressed update-installer on it on 23rd Jan). Symptom: During install at a non-repeatable point the root filesystem of the guest becomes RO and there are dmesg logs on the guest says that there were write errors on vda1. The block numbers are different on repeated installs. There are no errors on the hosts dmesg. The disc is backed by a lvm lv, and I've tried writing it with dd if=/dev/zero of=/dev/main/fiddle2disk bs=1024k and the whole disc writes OK. Dave ** Changed in: qemu-kvm (Ubuntu Lucid) Status: Confirmed = Incomplete -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Also, what's your backing disk format? Raw? QCOW2? -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Also, I understand this happens at random... Does it happen *every* time? Do you ever get an install to succeed completely? -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
** Changed in: qemu-kvm (Ubuntu Lucid) Status: New = Confirmed -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
I have some more interesting things to report. I'm using karmic libvirt and if I use virtual drive the lucid daily live installs fine but at reboot I get input/output errors on the virtual drive. If I emulate the hard-disk as sda drive no input/output errors are present. If you need further information I've kept all the VM's and iso to reproduce the errors I get. Maybe it's problem with lucid not the qemu-kvm? ** Changed in: qemu-kvm (Ubuntu Lucid) Status: Incomplete = New -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
I agree, that bug you reference looks like the same one. Including a dmesg from the guest, on the host in /var/log/libvirt/fiddle2.log it ends with: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin XAUTHORITY=/home/dg/.Xauthority DISPLAY=:0.0 /usr/bin/kvm -S -M pc-0.11 -enable-kvm -m 2048 -smp 2 -name fiddle2 -uuid fd06659e-3354-cb8e-71d9-cfeeff86e60f -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/fiddle2.monitor,server,nowait -monitor chardev:monitor -boot d -drive file=/media/more/isos/ubuntu-lucid-alpha2-desktop-64.iso,if=ide,media=cdrom,index=2 -drive file=/dev/main/fiddle2disk,if=virtio,index=0 -net nic,macaddr=54:52:00:32:5a:59,vlan=0,model=virtio,name=virtio.0 -net tap,fd=46,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 -parallel none -usb -vga cirrus -soundhw es1370 char device redirected to /dev/pts/4 d...@major:/var/log/libvirt/qemu$ ** Attachment added: Log from inside the kvm image with the writes breaking http://launchpadlibrarian.net/38580243/kvmlog -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Hi Dave- Does this look like your bug: * https://sourceforge.net/tracker/?func=detailatid=893831aid=2941282group_id=180599 I saw this reported upstream recently... :-Dustin ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium ** Also affects: qemu-kvm (Ubuntu Lucid) Importance: Medium Status: Incomplete ** Changed in: qemu-kvm (Ubuntu Lucid) Milestone: None = ubuntu-10.04-beta-1 ** Bug watch added: SourceForge.net Tracker #2941282 http://sourceforge.net/support/tracker.php?aid=2941282 -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 511620] Re: write errors on virtual disc during install
Can you also attach your dmesg with the errors? -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
** Attachment added: libvirt config file for the VM in question http://launchpadlibrarian.net/38306239/fiddle2.xml -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 511620] Re: write errors on virtual disc during install
Two more data points: 1) This still happens with the host running todays 2.6.33 daily (2.6.33-999-generic #201001221151) 2) It works if I give the guest an emulated scsi disk rather than a virtio disk. -- write errors on virtual disc during install https://bugs.launchpad.net/bugs/511620 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs