Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SATA Boot Kernel Panic (VFS: Cannot open root device)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mvibe
n00b
n00b


Joined: 10 Dec 2005
Posts: 51
Location: Atlanta, GA

PostPosted: Fri Apr 14, 2006 1:25 am    Post subject: SATA Boot Kernel Panic (VFS: Cannot open root device) Reply with quote

Hi all .. 8O

This my P4 Gentoo Box ... no other OS is on this box (hope this makes this easier).
Mobo is a Intel 865D
Sata is ICH5
Drive is Maxtor 200gb Sata

Partitions are
/boot /dev/sda1 *
/swap /dev/sda2
/var /dev/sda3
/ /dev/sda4

All is installed ... Kernel is compiled with libata and ICH Sata support built into the kernel.

Here comes the error:

Code:

VFS: Cannot open root device "804" or unknown block (8,4)
Please append correct "root =" boot option
KERNEL PANIC


I have skimmed through all the other topics in the forum that touch on this error ... but I dont see a definitive answer.
I understand that my Sata device id is 0xD800 so that would make 0xD804 my root partition right?

The part of my lilo.conf that refers to "root ="
is this:
Code:

boot = /dev/sda
root = /dev/sda4


Its kind of hard to cut n paste screen shots ... since I have to use one my other boxes to search for the answers to my problems.

Thanks in Advance!!
Back to top
View user's profile Send private message
mvibe
n00b
n00b


Joined: 10 Dec 2005
Posts: 51
Location: Atlanta, GA

PostPosted: Sat Apr 15, 2006 1:31 am    Post subject: Reply with quote

Wow ... 41 views and no one has a clue?
Come on .. someone must know.

I just recompiled for the 6th time my kernel ... completely from scratch
I see my sata controller load (ICH5)
but for some reason .. its not mapping my sata device properly.

boot = /dev/sda
root = /dev/sda4 <--- that is correct for my lilo.conf

If I only could find out how it is identifying my boot device as (8,4)
At least then I could figure out why I keep seeing the same VFS: Kernel Panic
Back to top
View user's profile Send private message
metadev
n00b
n00b


Joined: 15 Apr 2006
Posts: 2

PostPosted: Sat Apr 15, 2006 7:13 pm    Post subject: Reply with quote

Please post your .config file.
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Sat Apr 15, 2006 10:20 pm    Post subject: Reply with quote

I had a similar problem with a 2.6.16-gentoo-r1 kernel recently on 2 PCs. I used IDE drives though. See here.

In one case, compiling the kernel with genkernel and using the initramfs solved the problem. On the other computer I still wait for a solution.
Back to top
View user's profile Send private message
mvibe
n00b
n00b


Joined: 10 Dec 2005
Posts: 51
Location: Atlanta, GA

PostPosted: Sun Apr 16, 2006 1:27 pm    Post subject: Reply with quote

metadev wrote:
Please post your .config file.


No need...
I am just going to use GenKernel.
It works.


Seems this was an issue with building my controller into my kernel versus modulizing it and loading it at boot time.
The initramfs method seems to solve my problem ....
Back to top
View user's profile Send private message
mvibe
n00b
n00b


Joined: 10 Dec 2005
Posts: 51
Location: Atlanta, GA

PostPosted: Sun Apr 16, 2006 1:28 pm    Post subject: Reply with quote

daemonflower wrote:
I had a similar problem with a 2.6.16-gentoo-r1 kernel recently on 2 PCs. I used IDE drives though. See here.

In one case, compiling the kernel with genkernel and using the initramfs solved the problem. On the other computer I still wait for a solution.

Yep GENKERNEL worked for me .. tho it isn't the solution I want.
It works for now ... eventually I will come across the answer.
Back to top
View user's profile Send private message
benario
n00b
n00b


Joined: 16 Apr 2006
Posts: 3
Location: MEXICO

PostPosted: Thu Apr 20, 2006 4:17 am    Post subject: Reply with quote

Hey, I just had a problem similar to that one you used to have... I solved it setting the SCSI disk support as built in.
I don't know if you still want to try it out or not, but I really rather to have a manually compiled kernel vs the GenKernel one.

Cheers...
<BENAR10>
Back to top
View user's profile Send private message
mvibe
n00b
n00b


Joined: 10 Dec 2005
Posts: 51
Location: Atlanta, GA

PostPosted: Thu Apr 20, 2006 12:01 pm    Post subject: Reply with quote

benario wrote:
Hey, I just had a problem similar to that one you used to have... I solved it setting the SCSI disk support as built in.
I don't know if you still want to try it out or not, but I really rather to have a manually compiled kernel vs the GenKernel one.

Cheers...
<BENAR10>


Me too .. which is why this one is bothering me so much.
I think I had all of the scsi stuff .. built in ... but I will double check to be sure.

All in All ... the genkernel at least lets me know that it is possible :P
Back to top
View user's profile Send private message
Paulten
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 257
Location: Sykkylven, Norway

PostPosted: Fri Apr 21, 2006 10:10 pm    Post subject: Reply with quote

Old post, still, my solution.

In my case leaving out the :
CONFIG_PARTITION_ADVANCED is not set
did the trick.

Paul
_________________
Homepage : http://paul.kde.no Jabber ID : tenfjord@jabber.org
"Dei levde som dyr. Dei verken røykte eller drakk" -Ukjent
Back to top
View user's profile Send private message
Ansuer
n00b
n00b


Joined: 10 May 2006
Posts: 1

PostPosted: Wed May 10, 2006 6:02 pm    Post subject: bzImage issue Reply with quote

I had this same issue, after compiling the kernel for my SATA controller I forgot to copy the latest /usr/src/linux/arch/i386/boot/bzImage

to

/boot/kernel-2.6.16-gentoo-r6 (my current kernel version)

After I copied it the system booted with no issues.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum