View previous topic :: View next topic |
Author |
Message |
mvibe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/36050841943d196355e060.gif)
Joined: 10 Dec 2005 Posts: 51 Location: Atlanta, GA
|
Posted: Fri Apr 14, 2006 1:25 am Post subject: SATA Boot Kernel Panic (VFS: Cannot open root device) |
|
|
Hi all ..
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 |
|
![](templates/gentoo/images/spacer.gif) |
mvibe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/36050841943d196355e060.gif)
Joined: 10 Dec 2005 Posts: 51 Location: Atlanta, GA
|
Posted: Sat Apr 15, 2006 1:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
metadev n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2006 Posts: 2
|
Posted: Sat Apr 15, 2006 7:13 pm Post subject: |
|
|
Please post your .config file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
daemonflower Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/13506633894146d4b1d8de3.jpg)
Joined: 17 Jul 2004 Posts: 290
|
Posted: Sat Apr 15, 2006 10:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mvibe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/36050841943d196355e060.gif)
Joined: 10 Dec 2005 Posts: 51 Location: Atlanta, GA
|
Posted: Sun Apr 16, 2006 1:27 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mvibe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/36050841943d196355e060.gif)
Joined: 10 Dec 2005 Posts: 51 Location: Atlanta, GA
|
Posted: Sun Apr 16, 2006 1:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
benario n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Apr 2006 Posts: 3 Location: MEXICO
|
Posted: Thu Apr 20, 2006 4:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mvibe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/36050841943d196355e060.gif)
Joined: 10 Dec 2005 Posts: 51 Location: Atlanta, GA
|
Posted: Thu Apr 20, 2006 12:01 pm Post subject: |
|
|
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 ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Paulten Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/385373341414e8e67ba373.png)
Joined: 28 Mar 2003 Posts: 257 Location: Sykkylven, Norway
|
Posted: Fri Apr 21, 2006 10:10 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Ansuer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 May 2006 Posts: 1
|
Posted: Wed May 10, 2006 6:02 pm Post subject: bzImage issue |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|