LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-14-2006, 09:10 PM   #1
Tony/osIRIs
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 13

Rep: Reputation: 0
kernel upgrade issues...


Hi everyone,
I have installed Slackware 10.2 2.4.x to a Compaq Proliant Server with a SMART ARRAY Controller. during the install i had chose the raid.s kernel. I was successful. now i want to upgrade my kernel to 2.6.10 but i am having some trouble. i followed the instructions here:http://www.linuxquestions.org/linux/...Slackware_10_1 writen by acid juice. i have follwed this instruction before on another PC with IDE drives and had no issues.

when i finshed the proceedure i got the following error:

VPS: Cannot open root device "4801" or unknown-block (72.1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VPA: Unable to mount root fs on unknown-block(72.1)

Now i know this has something to do with that config file i used. ( i used the one mentioned in acidjuice's tutorial). wouldn't i have to specify the raid.s kernel somewhere along the line? confused...

I can still boot to the old kernel but i would like use of the 2.6.10.

Where did i go wrong? any help is definitely appreciated.

Thanks
Tony
 
Old 04-15-2006, 12:39 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Bad kernel guide that one. Use this Kernel Rebuild Guide.

That error (didn't find it on Google?) means you don't have support for your root filesystem and/or controller in your kernel.
 
Old 04-15-2006, 03:46 PM   #3
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
I have compiled many kernels in my time & probably the single most important thing I've found is that a good configuration for one PC is NOT necessarily good for another! In fact, a config for one PC simply won't work for another unless they have identical hardware, even then each user will want their PC to perform different tasks so although the configs will work, the kernel you end up with might not do what you personally what it to!
You can, of course, do what most distro's do & compile every driver that the kernel has to offer as a module but this defeats the purpose of compiling a kernel for YOUR system!

My advice would be to get ALL the info about YOUR system, sift through EVERY SINGLE config option by means of :
Code:
make xconfig
or, if your not running X you will need to use :
Code:
make menuconfig
learning about what each one does as you go, then select only the options that YOUR system will need & then compile.

This WILL take you many attempts as it did me when I first started building my own kernels but once you understand what you want from your kernel then you will be able to compile a kernel that makes your system boot much faster, run smoother & utilize all your hardware to it's maximum performance!

But as for the error message you posted, basically it means that the kernel cannot find the harddrive that your root filesystem (/) is installed on & so can't mount it to read all the data it needs to boot the system. This is usually because the driver that it needs to load in order access your particular HDD wasn't compiled with the kernel. So again, you need to know what config options are required for the HDD that YOU have installed!

Compiling your own kernel can be a very fulfilling & educational experience, but it does take patience & persistence but by the end of it you will know a great deal more about Linux, hardware & computers in general, things you should know if you wish to conquer the world of Linux!

I hope this has not scared you away from compiling your own kernel, it's not really as hard as it sounds! The guide Chinaman suggested is one of the best around but there is literally thousands of pages out there devoted to the subject!

Good Luck!
 
Old 04-15-2006, 04:06 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
I'll second all that fuzzyash said and add a bit. Learning to compile a kernel for your hardware means the difference between being a user and being an admin of your system. It's really something everyone using a Linux distro should learn to do. In Windows and Mac you cannot recompile the kernel to optimize the operating system for your hardware. Do it like fuzzyash said, and read every HELP option in there. It will take you hours, but you will learn about your computer. You can save your .config file if you have to stop, and start over later. There are 5 computers on my LAN, and they can all boot without an error showing up in the kernel messages. But it took a lot of work to achieve that for each box.
 
Old 04-15-2006, 04:08 PM   #5
fuzzyash
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
Here Here!!
 
Old 04-17-2006, 09:47 PM   #6
Tony/osIRIs
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
WOW! thanks to everyone! You have showed me that it is going to be worth it to sit at my linux box and learn from the compile instead of just asking for a quick fix. And i will do just that, im sure it will be very rewarding. thanks to everyone who posted!

Tony
 
  


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
2.6.8-2 Kernel upgrade issues thebudbottle Debian 3 04-04-2005 03:13 PM
SATA Issues (kernel 2.4.29 upgrade from 2.4.26) davatar Slackware 2 04-04-2005 01:21 PM
kernel upgrade issues soylentgreen Slackware 3 01-11-2005 10:27 AM
Debian Kernel Upgrade from 2.4.26-1-386 to 2.6.6-2-k7 harddrive preformance issues. Cohobin Linux - Software 0 06-29-2004 08:56 PM
Post kernel upgrade issues in Mdk10C repeater75 Mandriva 0 03-29-2004 11:56 AM


All times are GMT -5. The time now is 04:42 PM.

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