Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] SATA disc and kernel (probably)
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
danrok^
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 117
Location: Poland, Zabrze

PostPosted: Wed Feb 01, 2006 9:30 am    Post subject: [SOLVED] SATA disc and kernel (probably) Reply with quote

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
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Wed Feb 01, 2006 3:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
danrok^
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 117
Location: Poland, Zabrze

PostPosted: Wed Feb 01, 2006 9:20 pm    Post subject: Reply with quote

That work's for me. Thanks!! :)
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Wed Feb 01, 2006 10:10 pm    Post subject: Reply with quote

No problem :)
Back to top
View user's profile Send private message
bdm
Guru
Guru


Joined: 20 Jan 2006
Posts: 305
Location: Canada, Barrie, Ontario

PostPosted: Thu Feb 02, 2006 5:15 am    Post subject: Reply with quote

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
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Thu Feb 02, 2006 6:58 am    Post subject: Reply with quote

Code:
Support for SATA (deprecated; conflicts with libata driver)
Back to top
View user's profile Send private message
danrok^
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 117
Location: Poland, Zabrze

PostPosted: Thu Feb 02, 2006 9:19 am    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
bdm
Guru
Guru


Joined: 20 Jan 2006
Posts: 305
Location: Canada, Barrie, Ontario

PostPosted: Thu Feb 02, 2006 2:48 pm    Post subject: Reply with quote

crudh wrote:
Code:
Support for SATA (deprecated; conflicts with libata driver)


Thanks man, i'll try unchecking that option after classes.
Back to top
View user's profile Send private message
bdm
Guru
Guru


Joined: 20 Jan 2006
Posts: 305
Location: Canada, Barrie, Ontario

PostPosted: Fri Feb 03, 2006 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Sat Feb 04, 2006 12:11 am    Post subject: Reply with quote

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
View user's profile Send private message
step
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 198

PostPosted: Tue Mar 21, 2006 5:27 pm    Post subject: Reply with quote

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