Hide Forgot
Created attachment 478024 [details] stop at grub loading Description of problem: Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.144.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. boot guest /usr/libexec/qemu-kvm -monitor stdio -drive file='/home/images/RHEL-Server-5.5-64-virtio.qcow2',index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1 -device virtio-net-pci,netdev=idH5Ic1w,mac=9a:51:74:0d:53:69,netdev=idH5Ic1w,id=ndev00idH5Ic1w,bus=pci.0,addr=0x3 -netdev tap,id=idH5Ic1w,ifname='t0-002120-Nf9b',script='/home/scripts/qemu-ifup-switch',downscript='no' -m 2048 -smp 2,cores=1,threads=1,sockets=2 -cpu cpu64-rhel6,+sse2,+x2apic -vnc :0 -rtc base=utc,clock=host,driftfix=none -boot c -usbdevice tablet -no-kvm-pit-reinjection -enable-kvm 2. 3. Actual results: Expected results: Additional info: 1. host 2.6.32-113.el6.x86_64 processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 67 model name : Dual-Core AMD Opteron(tm) Processor 1216 stepping : 3 cpu MHz : 1000.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 2. top 9492 root 20 0 2446m 35m 3376 S 0.7 0.4 0:01.50 poll_sche qemu-kvm 3. kvm_stat kvm statistics efer_reload 0 0 exits 204555 0 fpu_reload 2 0 halt_exits 74 0 halt_wakeup 74 0 host_state_reload 98112 0 hypercalls 0 0 insn_emulation 106818 0 insn_emulation_fail 0 0 invlpg 0 0 io_exits 97793 0 irq_exits 1044 0 irq_injections 90 0 irq_window 0 0 largepages 2 0 mmio_exits 928 0 mmu_cache_miss 115 0 mmu_flooded 0 0 mmu_pde_zapped 0 0 mmu_pte_updated 0 0 mmu_pte_write 0 0 mmu_recycled 0 0 4. guest rhel5.5.64 5. can boot rhel6.64 guest
can work in qemu-kvm-0.12.1.2-2.132.el6.x86_64
Does it work on intel? Which version of bios have you used?
(In reply to comment #4) > Does it work on intel? Which version of bios have you used? seabios-0.6.1.2-3.el6.x86_64 can reproduce on Intel, no bootable device while boot a newly installed guest.
(In reply to comment #5) > (In reply to comment #4) > > Does it work on intel? Which version of bios have you used? > > seabios-0.6.1.2-3.el6.x86_64 > > can reproduce on Intel, no bootable device while boot a newly installed guest. No bootable device is not the same as problem reported at comment #0. Do you see problems (this one or one from comment #0) if you drop "-boot c" from command line?
What are you steps exactly? I can boot any random rhe5 image I have here.
should be installation issue. 1. Can boot up a bootable guest both on AMD and Intel host 2. Install rhel5.5.64 guest on AMD host with qemu-kvm-0.12.1.2-2.144.el6.x86_64 installation cmdline: /usr/libexec/qemu-kvm -monitor stdio -drive file=/home/shuang/images/rhel5.test,index=0,if=none,id=drive-virtio-disk1,media=disk,cache=none,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,id=virtio-disk1 -device virtio-net-pci,netdev=idhIXeNk,mac=9a:51:74:0d:2f:cb,netdev=idhIXeNk,id=ndev00idhIXeNk,bus=pci.0,addr=0x3 -netdev tap,id=idhIXeNk,script='/home/shuang/qemu-ifup-switch',downscript='no' -m 2048 -smp 2,cores=1,threads=1,sockets=2 -cpu cpu64-rhel6,+sse2,+x2apic -vnc :0 -rtc base=utc,clock=host,driftfix=none -boot n -usbdevice tablet -no-kvm-pit-reinjection -enable-kvm 1). guest can be installed successfully 2). the same issue as the description on comment0 when boot up guest 3). the same issue while remove -boot c from cmdline 4). copy image to Intel host, the same issue as comment0 3. Install guest on Intel host with qemu-kvm-0.12.1.2-2.144.el6.x86_64 1). guest can be installed successfully 2). "No bootable device " error while boot it 3). the same issue when drop "-boot c" from cmdline
Can you retry with raw image format?
(In reply to comment #9) > Can you retry with raw image format? can work with raw image format
Looks like http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-February/msg00822.html should fix it. Re-assign to Kevin for him to decide what to do with this BZ.
Quite possible. When you reboot directly after the installation (i.e. without a qemu restart), can you boot?
(In reply to comment #12) > Quite possible. > > When you reboot directly after the installation (i.e. without a qemu restart), > can you boot? can reboot directly after installation (send system_reset)
Thanks. Please retest as soon as -145 is built, it should contain the fix.
(In reply to comment #14) > Thanks. Please retest as soon as -145 is built, it should contain the fix. work well in qemu-kvm-0.12.1.2-2.145.el6.x86_64
Okay, I'm closing this as a duplicate of the qcow2-cache bug as this is the bug that Avi used for the fix, even though it might look a bit strange because the subjects are completely unrelated. *** This bug has been marked as a duplicate of bug 635527 ***