LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2009, 12:32 PM   #1
powah1234
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Unhappy upgrade kenrel 2.6.18-6-686 -->2.6.20.8 - Waiting for root file system SCSI & SATA


hello,

I'm trying to recompile my kernel with debian.
I have copied /boot/config for my new kernel configuration.

When i have choosed load a configuration file in menuconfig, i see few errors that tells me there is a problem with my sata hard drive.

After a few search on internet, i saw that section for sata have changed in sata sections.Also, i have decided to activate all in the menuconfig in hard with Y option.


My first question is, how to know which driver to activate instead of activate all ?


My second question : what is the best options ? module [M] or hard[*]




After have activate all options in device drivers sata section, i have recompiled all.

But at reboot, i have this message :

Code:
Waiting for root file system ... then 
alert! dev/sda1 does not exist. dropping to a shell.
for information,


config file for 2.6.20.8 (work)

Code:
tux:/boot# cat config-2.6.18-6-686 |grep -i sata
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SCSI_SATA=m
CONFIG_SCSI_SATA_AHCI=m
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_SATA_MV=m
CONFIG_SCSI_SATA_NV=m
CONFIG_SCSI_SATA_QSTOR=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_SX4=m
CONFIG_SCSI_SATA_SIL=m
CONFIG_SCSI_SATA_SIL24=m
CONFIG_SCSI_SATA_SIS=m
CONFIG_SCSI_SATA_ULI=m
CONFIG_SCSI_SATA_VIA=m
CONFIG_SCSI_SATA_VITESSE=m
config file for 2.6.20.8 (doesnt work)

Code:
tux:/boot# cat config-2.6.20.8 |grep -i sata
CONFIG_BLK_DEV_IDE_SATA=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_SVW=y
CONFIG_SATA_MV=y
CONFIG_SATA_NV=y
CONFIG_SATA_QSTOR=y
CONFIG_SATA_PROMISE=y
CONFIG_SATA_SX4=y
CONFIG_SATA_SIL=y
CONFIG_SATA_SIL24=y
CONFIG_SATA_SIS=y
CONFIG_SATA_ULI=y
CONFIG_SATA_VIA=y
CONFIG_SATA_VITESSE=y

I really don't understand ! why it doens't work ?
Have i forget an option ?

Thanks in advance
 
Old 01-02-2009, 01:39 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
If you want Linux to boot from an SATA disk you'll need to configure SATA support into the kernel and the initrd image for that kernel (but that happens automatically when you build it, IIRC) It should not be a module!

In any case, the 2.6.20 kernel is old, my advise is to get latest stable kernel (2.6.28) from the kernel.org guys and use that instead. This kernel is more secure and supports more devices then the old 2.6.20 branch you're using now.
 
Old 01-02-2009, 01:52 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,333

Rep: Reputation: 126Reputation: 126
Did you change your device.map? It's been a long time since I crossed 2.6.18 boundary, but I think I had to change the device.map to /dev/sda. You'll need CONFIG_SCSI set, of course. From my config:
Code:
CONFIG_SCSI=m
CONFIG_SATA_AHCI=m
Oh, and you'll need CONFIG_ATA, as well, I think.

Last edited by Quakeboy02; 01-02-2009 at 02:18 PM.
 
Old 01-04-2009, 02:57 PM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
did 2.6.18-6-686 differentiate between sata and pata?
 
Old 05-14-2009, 05:53 AM   #5
kallel
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
I had the same problem when I tried to compile kernel 2.6.20 on my debian kernel 2.6.18.
The problem is related to the SATA disk driver. you have to configure your sata disk driver before compilation.
to do: in make menu config go to :
1- Device Drivers --->
2- Serial ATA (prod) and Parallel ATA (experimental) drivers --->
3- select the "<M> ATA device support"
4- select your sata disk related modules or select all modules
and then continue your compilation

KALLEL
 
  


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
Waiting for root file system... (kernel ypgrade) crabsody Debian 18 07-08-2008 02:09 PM
Waiting for root file system... ... atheist Linux - Hardware 3 06-15-2008 05:58 PM
Kernel 2.6.22.5: waiting for root file system drpixel404 Linux - General 12 09-19-2007 10:31 AM
new etch kerneland Begin waiting for root file system... knobby67 Debian 5 09-05-2007 05:02 AM
New Kernel, RAID-1, "Waiting for root file system" a_l_a_n Linux - General 1 12-10-2006 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:59 AM.

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