Hide Forgot
Description of problem: Install guest on qcow2 file (3TB size, 512 cluster size), guest become pause because of "Unknown error 1535106048" when installing. Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.144.el6.x86_64 How reproducible: 2/2 Steps to Reproduce: 1.create big qcow2 image (3T) with small cluster size(512) # qemu-img create -f qcow2 /dev/vgtest/big 3T -o cluster_size=512 Formatting '/dev/vgtest/big', fmt=qcow2 size=3298534883328 encryption=off cluster_size=512 2.install RHEL6.1 guest on new create big image /usr/libexec/qemu-kvm -enable-kvm -m 4G -smp 2,sockets=2,cores=1,threads=1 -name qcow2 -uuid bb340905-50b0-de70-921b-5c360a945678 -monitor stdio -rtc base=localtime -boot nc -drive file=/dev/vgtest/big,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:04:ad:a1,bus=pci.0,addr=0x7 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -vga qxl -spice port=5910,disable-ticketing Actual results: loop of "block I/O error in device 'drive-ide0-0-0': Unknown error 1535106048 (1535106048)" error happens during installing, and guest become paused, please see attached screen shot when guest become paused. Expected results: guest finish installation, and boot ok. Additional info:
Created attachment 478171 [details] guest screen shot when error happens
Guest : RHEL4.9 64bits Build :http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-4/U9/AS/x86_64/ Host: Intel qemu version, qemu-kvm-tools-0.12.1.2-2.152.el6.x86_64 qemu-img-0.12.1.2-2.152.el6.x86_64 qemu-kvm-0.12.1.2-2.152.el6.x86_64 qemu-kvm-debuginfo-0.12.1.2-2.152.el6.x86_64 kernel version, 2.6.32-125.el6.x86_64 1.create image on OS via - qemu-img create -f raw big.raw 2T 2.Boot guest on Host with the command /usr/libexec/qemu-kvm -enable-kvm -m 6144 -smp 4 -uuid 5c45bd4f-00ab-44ea-87b2-399b6061c6f7 -boot dc -drive file=/home/big.raw,if=none,id=drive-virtio-0-0,format=raw,cache=none -device virtio-blk-pci,drive=drive-virtio-0-0,id=virt0-0-0 -netdev tap,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:40:81:11:53 -usb -device usb-tablet,id=input1 -spice port=8002,disable-ticketing -monitor stdio -balloon virtio -drive file=/root/virtio-win_mike.vfd,if=none,id=f1,format=raw,cache=none -global isa-fdc.driveA=f1 -qmp tcp:0:4444,server,nowait -kernel /root/vmlinuz -initrd /root/initrd.img -append method=http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-4/U9/AS/x86_64/tree/ 3.after finishing installation,boot guest again Notice please remove '-kernel /root/vmlinuz -initrd /root/initrd.img -append method=http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-4/U9/AS/x86_64/tree/' from the command Expected results,The guest can be restarted successfully Actual results, System hangs badly,info is fallowing as below - Booting from DVD/CD Boot failed:could not read from CDROM Booting from Hard disk ...
*** Bug 740455 has been marked as a duplicate of this bug. ***
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
When using small clusters, writing into image takes too long and cause timeout in guest's block driver. Using bigger sectors prevent this errors.