LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-14-2004, 11:45 PM   #1
ZephyrXero
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.

thanks...
 
Old 05-14-2004, 11:47 PM   #2
ZephyrXero
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-14-2004, 11:55 PM   #3
dawizman
Member
 
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, 12:03 AM   #4
ZephyrXero
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, 09:55 AM   #5
srichand
Member
 
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, 10:29 PM   #6
tsingming
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
#make modules
#make modules_instal
#make install
configure the boot manager
#reboot
Good lucky!
If not succes! please mail to youxia_2008@yahoo.com.cn or tsingming@hotmail.com i'd like help you!
Remember send me the .config file to me!
 
Old 05-21-2004, 10:35 PM   #7
Genesee
Member
 
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??
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 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
Open Source Consulting | Domain Registration