LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2005, 09:34 PM   #1
exion
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 10-23-2005, 05:22 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA HDD and IDE HDD linuxmandrake Linux - Hardware 3 12-18-2006 07:26 AM
kernel Panic slackware 10.1 (sata) after upgrading to 2.6.10 pkg in /testing sund00bie Slackware 7 07-25-2005 04:59 AM
move linux from IDE HDD to SATA HDD markmalcolm Linux - Hardware 2 05-07-2005 02:24 AM
Sata Hdd gr3ygh0s1 Linux - Hardware 1 04-09-2005 06:34 PM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration