SV: After an update som modules points to the old kernel

"Henrik Grevelund" <[email protected]>
Newsgroups gmane.linux.redhat.release.shrike
Message-ID <[email protected]>
Hi Michael

depmod -ae says:
depmod: Can't open /lib/modules/2.4.20-8/modules.dep

/boot
Contains:
config-2.4.20-31.9
config-2.4.20-31.9smp

initrd-2.4.20-31.9.img
initrd-2.4.20-31.9smb.img

module-info-2.4.20-31.9
module-info-2.4.20-31.9smp
module-info -> module-info-2.4.20-31.9

system.map-2.4.20-31.9
system.map-2.4.20-31.9smp
system.map -> system.map-2.4.20-31.9

vmlinux-2.4.20-31.9
vmlinux-2.4.20-31.9smp

vmlinuz-2.4.20-31.9
vmlinuz-2.4.20-31.9smp
vmlinuz -> vmlinuz-2.4.20-31.9

boot.b
chain.b
grub
kernel.h
message
message.ja
os2_d.b


/lib/modules
contains 2 dirs:
2.4.20-31.9
2.4.20-31.9smp

What does the smart man do ?


Henrik


-----Oprindelig meddelelse-----
Fra: Michael Schwendt [mailto:[email protected]] 
Sendt: 15. september 2004 07:23
Til: Discussion of Red Hat Linux 9 (Shrike)
Emne: Re: After an update som modules points to the old kernel

On Tue, 14 Sep 2004 21:33:03 +0200, Henrik Grevelund wrote:

> I just downloaded all the updates for the RH9 and the i runned:
> rpm -Fhv *.rpm
> 
> That was including the kernel upgrade. Now i have no cdrom and
network.
> 
> /var/log/messages:
> server modprobe: modprobe: Can't open dependencies file 
> /lib/modules/2.4.20-8/modules.dep (No such file or directory)
> 
> how come this didn't get updated, and how do i correct this.

With the new kernel running, run "depmod -ae" as root user.
What do /boot and /lib/modules look like?
 
--
Fedora Core release 2 (Tettnang) - Linux 2.6.7-1.494.2.2
loadavg: 1.01 0.98 0.67


-- 
Shrike-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/shrike-list


-- 
Shrike-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/shrike-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.