RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 676565 - rhel5.5.64 stop at grub loading while booting
Summary: rhel5.5.64 stop at grub loading while booting
Keywords:
Status: CLOSED DUPLICATE of bug 635527
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: Rhel6KvmTier1
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 09:09 UTC by Suqin Huang
Modified: 2013-01-09 23:32 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-17 08:47:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
stop at grub loading (10.26 KB, image/png)
2011-02-10 09:09 UTC, Suqin Huang
no flags Details

Description Suqin Huang 2011-02-10 09:09:54 UTC
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

Comment 3 Suqin Huang 2011-02-10 10:18:30 UTC
can work in qemu-kvm-0.12.1.2-2.132.el6.x86_64

Comment 4 Gleb Natapov 2011-02-11 11:32:07 UTC
Does it work on intel? Which version of bios have you used?

Comment 5 Suqin Huang 2011-02-12 03:03:29 UTC
(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.

Comment 6 Gleb Natapov 2011-02-12 07:24:36 UTC
(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?

Comment 7 Gleb Natapov 2011-02-12 07:42:27 UTC
What are you steps exactly? I can boot any random rhe5 image I have here.

Comment 8 Suqin Huang 2011-02-12 09:05:19 UTC
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

Comment 9 Gleb Natapov 2011-02-13 11:44:20 UTC
Can you retry with raw image format?

Comment 10 Suqin Huang 2011-02-14 02:29:31 UTC
(In reply to comment #9)
> Can you retry with raw image format?

can work with raw image format

Comment 11 Gleb Natapov 2011-02-14 08:16:49 UTC
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.

Comment 12 Kevin Wolf 2011-02-14 10:04:28 UTC
Quite possible.

When you reboot directly after the installation (i.e. without a qemu restart), can you boot?

Comment 13 Suqin Huang 2011-02-15 05:51:02 UTC
(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)

Comment 14 Kevin Wolf 2011-02-15 10:14:34 UTC
Thanks. Please retest as soon as -145 is built, it should contain the fix.

Comment 15 Suqin Huang 2011-02-17 01:28:39 UTC
(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

Comment 16 Kevin Wolf 2011-02-17 08:47:02 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.