Bug 25102 - Installer doesn't update module for enterpriser kernel from driver disk
Installer doesn't update module for enterpriser kernel from driver disk
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Erik Troan
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-01-27 20:32 EST by Tesfamariam Michael
Modified: 2005-10-31 17:00 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-30 16:25:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tesfamariam Michael 2001-01-27 20:32:07 EST
I created a driver disk for Perc2, Perc2/Si, Perc3/Si, Perc2/Di and 
Perc3/Di (AACRAID driver) with modules for UP, SMP, and enterprise kernel 
in modules.cgz. After installing RH7.0 with the driver disk, the modules 
in /lib/modules/ tree have the new modules for UP and SMP but old module 
for enterprise kernel. The enterprise kernel is gererating a "Kernel 
Panic..." when installed on Perc3/Di that changed a PCI IDs.
Comment 1 Michael Fulbright 2001-01-29 19:22:33 EST
Assigning to a developer.
Comment 2 Erik Troan 2001-01-30 15:27:38 EST
This works in 7.1, but was broken in 7.0.

You can work around this in %post quite easily, and I may be able to get you an
updated todo.py, but I can't test it easily...
Comment 3 Tesfamariam Michael 2001-01-30 16:21:53 EST
Is the work around during post, to replace the aacraid for enterprise kernel 
and re-make its initrd image? 
Can you send me the updated todo.py script?
Comment 4 Erik Troan 2001-01-30 16:25:55 EST
Yes, that's the workaround.

In your todo.py, look around line 1335. You'll see a section like this:

if (self.hdList.has_key('kernel-enterprise') and
            version = (self.hdList['kernel-enterprise'][rpm.RPMTAG_VERSION] + "-" +
                   self.hdList['kernel-enterprise'][rpm.RPMTAG_RELEASE] + "smp")

The "smp" at the end of the next to last line needs to say "ent" instead. That
*should* fix this.

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