LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel 2.6.3 on SuSE 9 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-2-6-3-on-suse-9-a-153652/)

CrankyBen 03-04-2004 09:14 PM

Kernel 2.6.3 on SuSE 9
 
Hi,

After building my Compaq Presario 2100 up with SuSE 9.0 Pro over the last few days, I decided to upgrade to Kernel 2.6.3 to take advantage of the enhanced power/cpu throttling features.

I have compiled the kernel, and copied the bzimage into /boot as vmlinuz-2.6.3 and copied the System.map into /boot as System.map-2.6.3

When I try to make a new initrd.img I use the following line:
(logged in as su)
mkinitrd -k vmlinuz-2.6.3 -i initrd.img-2.6.3

And I get:
Root device: /dev/hda1 (mounted on / as reiserfs)
Module list: reiserfs
Kernel Version: 2.6.3 (i386)
Kernel image: /boot/vmlinuz-2.6.3
Initrd image: /boot/initrd.img-2.6.3
No modules found for kernel 2.6.3

What's going on?

Thanks,
Ben.

nerofiend 03-04-2004 11:07 PM

Im having issues with the initrd in 2.3.6 as well although not in Suse as im using Red Hat, I wish I could help but im FAR to new to the linux OS and am still trying to figure it out myself.

I get the error on bootup saying that there is no initrd and I should try passing init= option to Kernel.

Demonbane 03-04-2004 11:44 PM

You probably need to update mkinitrd for 2.6 kernel support, get it here:
http://people.redhat.com/arjanv/2.5/...5.1-2.i386.rpm

If you run into dependency problems you should be able to find them in
http://people.redhat.com/arjanv/2.5/RPMS.kernel/

CrankyBen 03-05-2004 05:38 PM

Thanks! I'll check for a SuSE specific mkinitrd for 2.6.3.

Coproscefalo 03-05-2004 08:17 PM

CrankyBen, the mkinitrd shipped w/ SuSE its OK, i got the kernel 2.6.3 working on a Toshiba Satellite w/ all the tools that came w/ SuSE 9.0.

First make sure you have the modules installed under

/lib/modules/2.6.3

If they are there go to

/lib/modules/2.6.3/kernel/fs/reiserfs

and check for "reiserfs.ko"

If its not there check your kernel configuration and see if you enabled reiserfs as module or built-in the kernel.

The mkinitrd that comes w/ SuSE checks the existence of "reiserfs.ko" since it is included on the initrd image.

Just in case the directory "/lib/modules/2.6.3" is not there go to your "linux-2.6.3" directory and as root type

make modules_install

Hope this helps


All times are GMT -5. The time now is 11:53 PM.