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 03-17-2004, 07:59 AM   #1
roshLame
LQ Newbie
 
Registered: Dec 2003
Location: ~
Distribution: slack9.1
Posts: 2

Rep: Reputation: 0
kernel 2.6.4 boot problem


About a month ago I downloaded the 2.6.2 kernel, compiled it and booted with it. Everything was O.K. But a few days ago i got the full 2.6.4 source, compiled it but it won't boot! I am pretty sure that everything in /etc/lilo.conf is O.K. The kernel is compiled with built-in ext2, ext3 support, my root (/) partition is ext3. Here is the error message I got:
Code:
VFS: Cannot open root device "304" or unknown-block(3,4)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(3,4)
What might the problem be? Any suggestions are welcome.
 
Old 03-17-2004, 08:18 AM   #2
ftetia
LQ Newbie
 
Registered: Mar 2004
Location: Paris
Distribution: Redhat 9
Posts: 17

Rep: Reputation: 0
Hi roshLame,

I don't use lilo but I had used it with Redhat 6 and 7.

You must know you disk partitionning.
If your root filesystem " / " is (/dev/hdc3)

lilo look like :

boot = /dev/hda
delay = 10 (or high value)
vga = normal
root = /dev/hda3
read-only
image = /bzImage-2.6.4 (give the name of you kernel image copied in boot directory)
label = 2.6.4 (for example)

and then you must type
/sbin/lilo in order update lilo configuration.

Another solution: Try to install grub. It"s more pratice.
Good luck
And I hope to help you with this post.
 
Old 03-17-2004, 08:32 AM   #3
roshLame
LQ Newbie
 
Registered: Dec 2003
Location: ~
Distribution: slack9.1
Posts: 2

Original Poster
Rep: Reputation: 0
I am sorry but I don't get you. Why would I put
root = /dev/hda3
if my root partition (/) were on /dev/hdc3? I hope you've made a typing mistake. On my box the (/) partition is on /dev/hda4 so I have put
root = /dev/hda4
in /etc/lilo.conf.
Btw I am using Slackware 9.1
 
Old 03-20-2004, 12:36 PM   #4
ygnas
LQ Newbie
 
Registered: Feb 2004
Location: /home/dorian
Distribution: Slackware 9.1/Mandrake 9.0/Win XP Pro
Posts: 8

Rep: Reputation: 0
Hey,
I'm using Slackware 9.1 and updated my kernel from 2.4.22 to 2.6.4 and i have the same problem. I haven't tried to find a way out. But i just wanted to say that this is known not to you only and btw, i fallowed the kernel compile guide for slackware from here ---> http://www.linuxquestions.org/questi...hreadid=127095 .
ygnas
 
Old 03-20-2004, 03:37 PM   #5
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
I had a similar problem.. you need to check you config for ide chipset support.

btw.. if you had a working 2.6.2 kernel.. you can run make mrproper in the 2.6.4 source.... then copy the config file over and run make oldconfig, then make menuconfig and make changes accordingly.
 
Old 03-21-2004, 12:55 PM   #6
ygnas
LQ Newbie
 
Registered: Feb 2004
Location: /home/dorian
Distribution: Slackware 9.1/Mandrake 9.0/Win XP Pro
Posts: 8

Rep: Reputation: 0
Well... as i said i did that, because i was using the "Linux Kernel 2.6.4 Compile" guide and make mrproper, make oldconfig was included there, so i did that, also i checked all options with make xconfig and ide chipset support is enabled so i don't know what could couse this.

Ygnas
 
Old 03-25-2004, 07:28 AM   #7
ladelberg
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
I have the same problem.

I have noticed that in my 2.4.xx kernels, I get a messsage during boot-up:

"ide: late registration of driver" which is generated by ide.c

I have seen on the kernel develpment list that that was not believed to a bug and was later removed. Do you get a similar message on your older kernels?

I have noticed that the ide_register_driver function has been entirely re-written in the 2.6.4 kernel, don't have any other 2.6 series kernels. I also can't get the 2.6.2 to run.

My system has a via82cxxx pci controller which I have compiled into the kernel, not a module. It may be instructive to know what hardware you have.


Last edited by ladelberg; 03-25-2004 at 12:24 PM.
 
Old 03-26-2004, 06:04 AM   #8
ygnas
LQ Newbie
 
Registered: Feb 2004
Location: /home/dorian
Distribution: Slackware 9.1/Mandrake 9.0/Win XP Pro
Posts: 8

Rep: Reputation: 0
My Linux Kernel is working now, i did forgot to uncoment #export INSTALL_PATH=/boot in /usr/src/Makefile so the kernel image was exported into / instead of /boot, so i had to correct lilo.conf and Makefile, then it worked :). But i'm haveing new problems: My audigy card isn't recognized( i've enabled emu10k1 module :/ also my net connection is gone, since eth0 is my IEEE card and should be my Realtek 8139... ifconfig -a shows only Loop Back and IEEE so i can't understand what's wrong here :(
 
Old 03-26-2004, 09:07 AM   #9
ladelberg
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Glad to hear you got your problem solved. I did as well. My mkinitrd was failing to load the ext3 module so the drive could not be read...
 
  


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
problem to boot with 2.6.7 kernel TroyCoX Slackware - Installation 18 03-19-2006 05:41 PM
Kernel boot problem Bonch Linux - Newbie 2 05-26-2005 12:53 AM
Kernel 2.6.3 boot= problem nerofiend Linux - Newbie 14 03-10-2004 05:25 AM
New 2.4.20 Kernel, boot problem aeath Linux - General 6 02-28-2003 07:51 PM
Kernel Boot Problem enaran Linux - Software 1 05-04-2002 08:27 PM


All times are GMT -5. The time now is 05:04 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