View previous topic :: View next topic |
Author |
Message |
danrok^ Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/966292951445bad4ddb6ad.jpg)
Joined: 11 Sep 2004 Posts: 117 Location: Poland, Zabrze
|
Posted: Wed Feb 01, 2006 9:30 am Post subject: [SOLVED] SATA disc and kernel (probably) |
|
|
Hi all.
I've got Gentoo on AMD64. My motherboard is DFI Lan Party nF3 350GB, and my SATA controllers are Marvell on 1 and 2 port and NVIDIA on 3,4 port. Becouse I have my disc on 3 port I put nvidia drivers into my kernel and compiled it. On booting I got such error:
Code: |
VFS: Cannot open root device "sda7" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
|
My kernel config is there: http://alfa.lo3.zabrze.pl/~danrok/config
My grub config is there: http://alfa.lo3.zabrze.pl/~danrok/grub.conf
fstab: http://alfa.lo3.zabrze.pl/~danrok/fstab
fdisk -l http://alfa.lo3.zabrze.pl/~danrok/fdisk
On Genkernel everything works fine, but I want to use my own kernel config without Intel drivers etc.
I'm fightwing with this problem for almost week and I'm tired now, maybe someone will know what cause the problem? I will be really greatful.
Last edited by danrok^ on Wed Feb 01, 2006 9:20 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crudh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/384542204564b31e574b3.jpg)
Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Wed Feb 01, 2006 3:59 pm Post subject: |
|
|
Remove the following one in the kernel config:
Code: | CONFIG_BLK_DEV_IDE_SATA=y |
and try again. It's in Device Drivers -> ATA/ATAPI/MFM/RLL support.
If you look at the text on it it says that it is deprecated and conflicts with the new support that is included in the SCSI drivers. So make sure you have SCSI device, disk and maybe generic support in your kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
danrok^ Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/966292951445bad4ddb6ad.jpg)
Joined: 11 Sep 2004 Posts: 117 Location: Poland, Zabrze
|
Posted: Wed Feb 01, 2006 9:20 pm Post subject: |
|
|
That work's for me. Thanks!! ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crudh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/384542204564b31e574b3.jpg)
Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Wed Feb 01, 2006 10:10 pm Post subject: |
|
|
No problem ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdm Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/166612326444aecc834b7c1.gif)
Joined: 20 Jan 2006 Posts: 305 Location: Canada, Barrie, Ontario
|
Posted: Thu Feb 02, 2006 5:15 am Post subject: |
|
|
If that worked for him, I really hope it works for me when I try it tomorow.
And when you're modifying the kernel, what option does 'CONFIG_BLK_DEV_IDE_SATA' show up as? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crudh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/384542204564b31e574b3.jpg)
Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Thu Feb 02, 2006 6:58 am Post subject: |
|
|
Code: | Support for SATA (deprecated; conflicts with libata driver) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
danrok^ Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/966292951445bad4ddb6ad.jpg)
Joined: 11 Sep 2004 Posts: 117 Location: Poland, Zabrze
|
Posted: Thu Feb 02, 2006 9:19 am Post subject: |
|
|
I was fightwing with this problem for week and I couldn't find answer or irc and google, Everybody told to add SATA drivers in kernel. Big Thanks one more time ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdm Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/166612326444aecc834b7c1.gif)
Joined: 20 Jan 2006 Posts: 305 Location: Canada, Barrie, Ontario
|
Posted: Thu Feb 02, 2006 2:48 pm Post subject: |
|
|
crudh wrote: | Code: | Support for SATA (deprecated; conflicts with libata driver) |
|
Thanks man, i'll try unchecking that option after classes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdm Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/166612326444aecc834b7c1.gif)
Joined: 20 Jan 2006 Posts: 305 Location: Canada, Barrie, Ontario
|
Posted: Fri Feb 03, 2006 9:39 pm Post subject: |
|
|
How to post your Kernel config?
I have a feeling someone here could help me fix it if they saw what I had. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crudh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/384542204564b31e574b3.jpg)
Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Sat Feb 04, 2006 12:11 am Post subject: |
|
|
It's in .config in your kernel directory.
/usr/src/linux/.config if you have the symlink set correctly, otherwise /usr/src/<kernel version>/.config. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
step Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1399241541d05a707e358.jpg)
Joined: 16 May 2002 Posts: 198
|
Posted: Tue Mar 21, 2006 5:27 pm Post subject: |
|
|
I can not figure out why can I boot my PC with 2.6.14-gentoo-r4 kernel and not with 2.6.15-gentoo-r1 kernel
with 2.6.15 I get the "kernel panic"
Quote: | VFS: Cannot open root device "sda8" or unknown-block(0,0)
Please append a correct "root="" boot option |
I use "make oldconfig" to generate the new .config for 2.6.15 an I did not change any settings.
In my old config, I have no "Support for SATA (deprecated; conflicts with libata driver)" nor is it selected in my new config file
Nothing! It ends with kernel panic and thats it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|