Bug 50691 - Incorrect operation following upgrade to kernel-2.4.3-12
Summary: Incorrect operation following upgrade to kernel-2.4.3-12
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.1
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-02 09:33 UTC by Dave J
Modified: 2007-03-27 03:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-06 16:24:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Dave J 2001-08-02 09:33:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
During upgrade of kernel

Error: /removal of /lib/modules/2.4.2-2/modules.usbmap failed: No such 
file or directory
( error repeated for modules.pcimap, modules.parportmap, 
modules.isapnpmap, and modules.generic_string )



How reproducible:
Always

Steps to Reproduce:
1. Install RH7.1 
2.install new kernel ( kernel-2.4.3-12 ) ( rpm -v -F kernel-2.12.3-
12.i686.rpm
3.


Actual Results:  On reboot get a number of error, including no networking.

Bootup errors include:

modprobe:Can't open dependencies file /lib/modules/2.4.2-2/modules.dep ( 
no such file or directory ).

depmod: Can't opens /lib/modules/2.4.2-2/modules.dep .......

At login prompt on console, kernel still reported as 2.4.2-2

Also rpm -qa | grep kernel, also still reports 2.4.2-12

Expected Results:  No errors during upgrade
Reboot work fine ( as before )

Additional info:

I was installing several of the security advisory and bug fix rpms at the 
same time ( ie I did rpm -v -F *.rpm ).

The order they installed was
SysVinit-2.78-17
cpp-2.96-85
docbook-styledsssl-1.64-2
gcc-2.96-85
( several other gcc ones )
gftp-2.0.8-1
gnupg-1.0.6-1
kernel-2.4.3-12
error: removal of /lib/modules .... ( as listed above )

Comment 1 Arjan van de Ven 2001-08-02 09:36:35 UTC
2 things: 
1) kernel's shouldn't be "rpm -U'd" but installed first, so that you can always
go back
2) You most likely forgot to rerun lilo so lilo tried to boot the old kernel!

See
       
http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html

for more information on how to upgrade kernels.


Comment 2 Dave J 2001-08-02 11:24:50 UTC
Error messages still exist when installing rpm, but errors on subsequent reboot 
due to forgetfulness on my part !! ( lilo -v !!!!  - remembered to change 
lilo.conf, forgot about outputting it to boot sector !! ).

Can't lilo.conf be updated from rpm ( even lilo -v run ), or is it not done 
because want administrator to check everything OK from install before 
committing it ??

Have downgraded priority and severity !!

Comment 3 Arjan van de Ven 2001-08-02 11:28:57 UTC
I've fixed the modules.usbmap errormessage for the next build. Thanks for the
report on that one.

We don't run lilo for several reasons, the most important one being that people
just don't expect it as a side-effect of rpm -i (it also sucks if you're running
grub :)

the up2date tool will do lilo, but is VERY VERY careful about it, and will only
ADD new kernels, and will not remove old ones.


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