LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot make 2.6.* Kernel work! (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-make-2-6-%2A-kernel-work-181633/)

ZephyrXero 05-14-2004 11:45 PM

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...

ZephyrXero 05-14-2004 11:47 PM

also, you may need to know.... I'm using xt3 filesystem and am running Slackware 9.1

dawizman 05-14-2004 11:55 PM

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.

ZephyrXero 05-15-2004 12:03 AM

I'm pretty sure I did on both of those... any other ideas?

srichand 05-15-2004 09:55 AM

are you sure you created the initrd image?
could you post the contents of your grub.conf file?

tsingming 05-21-2004 10:29 PM

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!

Genesee 05-21-2004 10:35 PM

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


All times are GMT -5. The time now is 11:09 AM.