LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   upgrading kernel with sata hdd (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-kernel-with-sata-hdd-375602/)

exion 10-21-2005 09:34 PM

upgrading kernel with sata hdd
 
hows it going, running slackware 10.2 with its defulat 2.4.x kernel atm, tried to upgrade to 2.6.13.4 kernel but couldnt get it to boot, does a kernel panic.
hdd is a seagate baracuda 7200rpm 120gb Serial ATA with 8mb cache.

boot loader is lilo (whatever version comes with slack 10.2)

lilo.conf

label = Slackware-2.6
initrd = /boot/initrd
image = /boot/bzImage-2.6.13.4
root = /dev/sdb1

also says something about not having a correct "root=".
the root partition is defently sdb1.

anyway im guessing i made the initrd wrong.
the file system is ext3.

just tried using the command from the initrd readme in /boot.
"mkinitrd -c -k 2.6.13 -m jbd:ext3 -f ext3 -r /dev/hdb3" errored because it couldnt find the modules needed. Do i have to include jbd and ext3 as modules on the kernel build? and which sata module should i use?

what would be a correct mkinitrd command?

thanks

MasterC 10-23-2005 05:22 PM

You don't actually *have* to use an initrd, and the more variables you take out the equation, the easier it will be for you to diagnose where the actual problem lies.

If you really want to use the initrd, I believe you have to include whatever subversion kernel you are using after the -k parameter:
-k 2.6.13.4 (check /lib/modules to see what the directory actually is named).

I'd comment out the initrd entry in lilo, re-run lilo and see what happens. Be sure you included SATA support in your kernel, and as noted libsata is deprecated, check in the low-level drivers directory for your controller.

Cool


All times are GMT -5. The time now is 12:00 AM.