Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-15-2004, 12:45 AM   #1
LQ Newbie
Registered: Apr 2004
Location: Hattiesburg, MS, USA
Distribution: Ubuntu
Posts: 21

Rep: Reputation: 15
Angry Cannot make 2.6.* Kernel work!

Ok, I've tried compiling both 2.6.4 and 2.6.6 numerous times, and no matter how much I try they never ever work. Please help me figure out what I'm doing wrong.

I get a Kernel Panic when I try to run it, and here is the error message I get:
"VFS: Cannot open root device "1607" or unknown-block(22,7)
Please append a correct "root =" boot option
Kernel Panic VFS: Unable to mount root fs on unknown-block(22,7)"

I can't figure it out... I thought maybe I didn't have my hd set up right for the kernel and included anything it could even remotely need for it, still no luck.
If it matters, I am using a Seagate SATA Harddrive on an ASUS P4C-800 mobo w/ P4.

Old 05-15-2004, 12:47 AM   #2
LQ Newbie
Registered: Apr 2004
Location: Hattiesburg, MS, USA
Distribution: Ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
also, you may need to know.... I'm using xt3 filesystem and am running Slackware 9.1
Old 05-15-2004, 12:55 AM   #3
Registered: Feb 2004
Distribution: Gentoo
Posts: 119

Rep: Reputation: 15
Hmm, sounds like 2 things may be wrong:

1) You didnt compile support for your filesystem into the kernel

2) You didnt install the appropriate drivers for SATA support.
Old 05-15-2004, 01:03 AM   #4
LQ Newbie
Registered: Apr 2004
Location: Hattiesburg, MS, USA
Distribution: Ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
I'm pretty sure I did on both of those... any other ideas?
Old 05-15-2004, 10:55 AM   #5
Registered: May 2004
Location: Bangalore, India
Distribution: Fedora Core 2 (modified), Debian
Posts: 34

Rep: Reputation: 15
are you sure you created the initrd image?
could you post the contents of your grub.conf file?
Old 05-21-2004, 11:29 PM   #6
LQ Newbie
Registered: Apr 2004
Location: China
Distribution: Debain(sarge with kernel 2.6.6)
Posts: 8

Rep: Reputation: 0
I am a chinese, maybe you didn't understand what's i say
first change the directory the kernel source, for example:
#cd linux-2.6.6
#make menuconfig
select "Dvice Drivers->ATA/ATAPI/MFM/RLL support->"
you hat to select this "ATA/ATAPI/MFM/RLL support"
#make modules
#make modules_instal
#make install
configure the boot manager
Good lucky!
If not succes! please mail to or i'd like help you!
Remember send me the .config file to me!
Old 05-21-2004, 11:35 PM   #7
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
did you edit /etc/lilo.conf to point to the new kernel, and did you run lilo before rebooting??


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
cannot make a custom kernel work dannyk1 Linux - General 5 06-12-2005 08:20 AM
SOS,please!!i want to make a checksum of kernel ,but it does't work. alphasophie Programming 7 03-29-2005 10:37 AM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-02-2004 12:02 AM
cdrom / burn / ide-scsi + kernel 2.6.0-test11 , how to make it work ? Linux - Hardware 3 12-13-2003 05:14 PM
make limmodem for kernel 2.4.20-8 work on 2.4.22 qwijibow Linux - Hardware 4 11-03-2003 06:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 AM.

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