Re: could not load /lib/modules/2.6.18.8-03-default_28052007/modules.dep



Henrik Jannasch wrote:

Hi,

i tried to modify my Suse 10.2 default kernel. But I'm still looking for a
solution of this problem if I start the new kernel.
Error message is:
"could not load /lib/modules/2.6.18.8-03-default_28052007/modules.dep"

What did I do before...:
- made an update of my Linux box

- added only support for smb in configuration

- make all && make modules_install

- renamed the kernel to vmlinuz_2.6.18.8-0.3-default_28052007 and moved
to /boot

- renamed the new System.map to System.map-2.6.18.8-0.3-default_28052007
and moved to /boot

- mkinitrd -k vmlinuz_2.6.18.8-0.3-default_28052007 -i
initrd-2.6.18.8-0.3-default_28052007 -M
/boot/System.map-2.6.18.8-0.3-default_28052007

- updated the /boot/grub/menu.lst:
title openSUSE 10.2 - 2.6.18.8-0.3 mit smb
root (hd0,0)
kernel /boot/vmlinuz_2.6.18.8-0.3-default_28052007 root=/dev/hda1
vga=0x314 resume=/dev/hda7 splash=silent showopts
initrd /boot/initrd-2.6.18.8-0.3-default_28052007

I guess there is an simple error. Can somebody give me an advice to find
the reason of the error message above?

Thx in advance
Henrik


Unless you have good reason to build your own kernel...don't !

If you want the newest version built for OpenSuSE add this to your
installation sources:

http://software.opensuse.org/download/Kernel:/SL102_BRANCH/openSUSE_10.2/

Then just do an update using Yast. Also, very important, be safe and run
mkinitrd as root. If you do this then you will probably NEVER run into
problems. Also, if you really need something 'special' for your system
then go ahead and build your own but beware the many pitfalls you
may/have/will face.

P.S. The version you list above is 2.6.18-0.3, while the version you'll get
by adding the source I provided above is 2.6.18-452.1.

:-)
.



Relevant Pages

  • Re: [PATCH] CodingStyle: add typedefs chapter
    ... The reason we have them for things like pte_t etc. is that there ... then by all means go ahead and use a typedef. ... New types which are identical to standard C99 types, ... covers RTL which is used frequently with assembly language in the kernel. ...
    (Linux-Kernel)
  • Re: Forth for Mac OS X Leopard (Intel) - what are the options?
    ... As I understand it even FreeBSD binaries are elf. ... If the .data section works for the kernel part of xina, ... The official way is to use linker scripts. ... For some reason a normal start address in linux32 is around ...
    (comp.lang.forth)
  • Re: SuSE: migrating tot linux software RAID?
    ... > third machine with a megaraid that crashed because of this kernel ... >> The reason that you had data loss at all... ... > I had backups and successfully restored the system after a full install. ...
    (alt.os.linux.suse)
  • Re: eradicating out of tree modules (was: : Linux Security *Module* Framework)
    ... reasons, won't ever be accepted into the mainline kernel tree, what you ... crashes of "the Linux kernel" caused by some binary-only driver. ... it's still a reason for fixing the real problem. ...
    (Linux-Kernel)
  • Re: RFT: updatedb "morning after" problem [was: Re: -mm merge plans for 2.6.23]
    ... Upon completion, it actually frees enough memory that swap-prefetch _could_ help on some boxes, while the real issue is that they should first and foremost dump GNU locate. ... I'm not saying the kernel needs to fix the software itself, but the kernel should try and keep such software from hurting the rest of the system where it can. ... (reading this thread it sometimes seems like the downside is that updatedb shouldn't cause this problem and so if you fixed updatedb there wold be no legitimate benifit, or alturnatly this patch doesn't help updatedb so there's no legitimate benifit) ... it's not that they shouldn't have been swapped out, it's that the reason they were swapped out no longer exists. ...
    (Linux-Kernel)