Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 862206

Summary: Buggy error checking and reporting for -kernel
Product: Red Hat Enterprise Linux 6 Reporter: michal novacek <mnovacek>
Component: qemu-kvmAssignee: Markus Armbruster <armbru>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, areis, bsarathy, chayang, dallan, juzhang, lnovich, mkenneth, qzhang, sradvan, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1011010 (view as bug list) Environment:
Last Closed: 2013-09-23 13:26:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1011010    

Description michal novacek 2012-10-02 09:33:17 UTC
Description of problem: 
I have x86_64 hardware and I tried to virt-install virtual machine using ia64
vmlinuz and initrd. This obviously ended up in failure but the error message
gave me several hours of wondering what went wrong.

Version-Release number of selected component (if applicable):
rhel 6.3
python-virtinst-0.600.0-8.el6.noarch
qemu-kvm-0.12.1.2-2.295.el6.x86_64
kernel-2.6.32-279.el6.x86_64

How reproducible: always

Steps to Reproduce:
1. run
/usr/sbin/virt-install \
--name rhel59-node01 --ram=1024 --vcpus=1 --nodisks --debug \
--location http://sts.lab.msp.redhat.com/dist/released/RHEL-5-Server/U8/ia64/tree/
  
Actual results:
Installation fails with "qemu: linux kernel too old to load a ram disk"

Expected results:
Installation should not lie about the reason of failure and fail with something
more meaningful like "This kernel cannot be run because it has architecture
(ia64) that cannot be virtualized on this architecture (x86_64)".

Comment 2 Dave Allan 2012-10-02 13:01:25 UTC
This message comes from qemu and is simply being reported by virt-install, so I'm changing the component to qemu.  If I can help, please let me know.

Comment 3 Markus Armbruster 2012-10-12 12:29:20 UTC
Error checking and reporting for -kernel is very poor in general.  For instance,
"-kernel /dev/null" is rejected with

qemu: could not load kernel '/dev/null': Argument list too long

Changing bug summary accordingly.

Comment 11 Ademar Reis 2013-09-23 13:26:52 UTC
WONTFIX for RHEL6. Clone for RHEL7: 1011010