Bug 23245 - Missing Enterprise kernel in lilo.conf (Florence)
Summary: Missing Enterprise kernel in lilo.conf (Florence)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.1
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Erik Troan
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-03 20:11 UTC by Rogelio Noriega
Modified: 2007-03-27 03:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-15 17:06:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Rogelio Noriega 2001-01-03 20:11:16 UTC
Test System is Precision 620 w/ 2 CPUs and 2GB RDRAM.

When installing "everything" from CDROM,  the lilo options are for smp and 
up kernels only.
An enterprise kernel is installed in the /boot directory but there is no 
matching initrd file or lilo.conf entry.

The initrd file can be manually created and the enterprise stanza can be 
manually added to lilo.conf.  The
enterprise kernel then boots and runs correctly.

Comment 1 Michael Fulbright 2001-01-03 23:06:43 UTC
Assigning to a developer.

Comment 2 Glen Foster 2001-01-11 21:16:58 UTC
This defect is considered MUST-FIX for Florence Gold release

Comment 3 Erik Troan 2001-01-17 22:21:40 UTC
Done.

Comment 4 Brock Organ 2001-02-12 21:50:43 UTC
This is still NOT resolved in the fisher public beta:

$ cat /etc/lilo.conf 
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.0-0.99.11smp
        label=linux
        read-only
        root=/dev/hda5

image=/boot/vmlinuz-2.4.0-0.99.11
        label=linux-up
        read-only
        root=/dev/hda5
$ rpm -q kernel-enterprise
kernel-enterprise-2.4.0-0.99.11
$ rpm -ql kernel-enterprise | grep vmlinuz
/boot/vmlinuz-2.4.0-0.99.11enterprise
$ 


Comment 5 David Sainty 2001-02-14 21:20:07 UTC
In Red Hat Linux 7.0, the enterprise kernel is only installed if you manually
specify packages and select it, or choose "Everything". If you have an SMP
system and have installed the kernel, the enterprise kernel blindly becomes the
default.

In Fisher and company, you _only_ get the lilo entry for the enterprise kernel
in the lilo.conf file if needsEnterpriseKernel() in lilo.py (for Intel)
determines that you need it. needsEnterpriseKernel() does:

rc = 0
f = open("/proc/e820info", "r")
for l in f.readlines():
    l = string.split(l)
    if l[3] == '(reserved)': continue
    regionEnd = (string.atol(l[0], 16) - 1) + string.atol(l[2], 16)
    if regionEnd > 0xffffffffL:
    rc = 1
return rc

The Precision 620 does not match this criteria by the look of it. I have tested
this on a Precision 620 with 512MB of RAM myself...

From the two non (reserved) lines in /proc/e820info :

00000000000a0000 @ 0000000000000000
00000000afe9e000 @ 0000000000100000

in both cases rc != 1, hence no enterprise kernel in lilo.conf. This is even
after I did an Everything install (as was done for this bug report).


David S..


Comment 6 Erik Troan 2001-02-20 17:31:53 UTC
You don't need the enterprise kernel. As of the next beta (Wolverine), the
kernels work with up to 4gig out of the box.


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