Bug 187522 - Inconsistent behaviour with anaconda and no kernel package - "You are trying to install on a machine that isn't supported by this release.."
Summary: Inconsistent behaviour with anaconda and no kernel package - "You are trying ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-31 16:53 UTC by Darragh Bailey
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: RHEL5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-14 22:03:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda-10.1.1.19_kernel_arch_check.patch - patch allows kernel-smp to be used as the only kernel package on i386 (1.22 KB, patch)
2006-03-31 16:53 UTC, Darragh Bailey
no flags Details | Diff

Description Darragh Bailey 2006-03-31 16:53:40 UTC
Description of problem:

If you generate a custom install CD image with the kernel-smp package as the
only available kernel to be installed anaconda will fail to install on i686 with
the message:
"You are trying to install on a machine that isn't supported by this release of
RedHat Enterprise.."

This was previous reported as a bug for RHEL3 in bug106590 and was closed since
it was stated that it was a requirement that the kernel package be available.

We've noticed with our custom CD generation that this behaviour is limited to
i?86 architecture's only.

Removing the kernel package and regenerating the necessary files for x86_64 will
produce a CD that installs without this problem.


Version-Release number of selected component (if applicable):
10.1.1.19-1

How reproducible:
Always

Steps to Reproduce:
1. Remove all kernel images except the kernel-smp package from the source
install media
2. Change the comps file to just use kernel-smp
3. Regnerate the hdlist files and stage images (+ cd image in not using network
install)
4. Begin install
  
Actual results:
x86_64 - installs
i386 - install fails with message that it is not supported
ia64 - not tested but from analysis of the code expect this to be same as x86_64

Expected results:
Install should fail on all architectures or succeed on all architectures

Additional info:

Since we wanted to only have the kernel-smp package in the custom install image
we made the changes in the attached patch


A more ideal solution would be to make this consistent across all architectures.

I see two solutions 
1) Test for the present of the kernel package on all architectures, not just i386
2) Test for the present of any suitable kernel package on all architectures,
i.e. kernel, kernel-smp & kernel-hugemem

Obviously would prefer solution 2 since it would suit our requirements as well,
but at the very least would expect the behaviour to be consistent across all
architectures.

Comment 1 Darragh Bailey 2006-03-31 16:53:40 UTC
Created attachment 127133 [details]
anaconda-10.1.1.19_kernel_arch_check.patch - patch allows kernel-smp to be used as the only kernel package on i386

Comment 2 Chris Lumens 2007-03-14 22:03:43 UTC
This shouldn't be a problem in RHEL5 as this code has completely changed.  If
you need a fix in an update release of RHEL4, please contact your support
representative who will raise this issue through the appropriate methods. 
Thanks for the report.


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