LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-22-2008, 05:03 PM   #1
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Kernel -> no SATA


Hello, after updating my default (2.6.18) debian kernel to 2.6.24 (debian patched), i'm unable to mount my root partition.

It seems SATA doesn't load properly. I tried to enable about every setting in the menuconfig that had anything to do with SATA, without success. My board is the GigaByte P35C-DS3R (not sure about which SATA chipset, however it worked fine with the default 2.6.18-6 kernel).

The only thing i could find in the device drivers in the menuconfig was 'Serial ata (prod) and Parallel ata (experimental) drivers; enabled everything in there.

Hope someone can help me.
 
Old 06-22-2008, 05:08 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
in the kernel line (in grub) add the option all_generic_ide
 
Old 06-22-2008, 05:20 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I do not know if this applies to debian or not but in Fedora drives used to be labeled hdX(pata) and sdX(sata, usb. etc). Now all the drives are labeled sdX.
 
Old 06-22-2008, 05:37 PM   #4
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the quick replies. I tried several root=hdX and sdX with all_generic_ide, without any luck. However my old kernel outputs SCSI subsystem initialized and continues to boot. This kernel doesn't and just hangs on 'waiting for root filesystem'. Not sure if that has anything to do with it?
 
Old 06-22-2008, 07:01 PM   #5
Scyther
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Ok i got it working now. After compiling about a dozen kernels, it looks like that enabling like every option did work out, i however misplaced the boot files the last time i compiled. Kinda stupid really.

Thanks anyway
 
Old 06-22-2008, 08:53 PM   #6
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
I see you solved your problem but you bring up a good point, in that it is not clear during kernel compile what options are required to get sata to work. For example, if I use the HUGE kernel that has everything compiled in it, my sata dvd shows up as /dev/hdc but if I do a custom kernel, or use the generic kernel with everything as a module, it shows up as /dev/sr0.

I'm kind of confused about whether or not pata replaces ide. If not, how are they different?

For what it is worth, the options below are what I basically use for IDE/SCSI/SATA, or at least to start out with. Sometimes in dmesg you can see which one is chosen. I have a mboard with a sb700 and guessed the AMD pata would load but dmesg shows the ATI one loads instead.

For your specific problem I think/guess all you needed was to add scsi disk support, in addition to the options you already chose.


y Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
-y Include IDE/ATA-2 DISK support
-y Include IDE/ATAPI CDROM support
-y IDE ACPI support
-y legacy /proc/ide/ support
-y Generic PCI IDE Chipset Support
-y AMD and nVidia IDE support
-y JMicron JMB36x support
-y Intel PIIXn chipsets support

y SCSI device support
-y legacy /proc/scsi/ support
-y SCSI disk support
-m SCSI CDROM support
-m SCSI generic support

y Serial ATA (prod) and Parallel ATA (experimental) drivers
-y AHCI SATA support
-y Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
-y NVIDIA SATA support
-y AMD/NVidia PATA support
-y ATI PATA support
-y Generic ATA support
-y JMicron PATA support
-y Intel PATA MPIIX support

y=yes or built in kernel
m=module
 
  


Reply



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
Kernel 2.6 and SATA : kernel panic Venefyxatu Slackware 14 08-23-2007 01:08 AM
kernel compile 2.6.20 - kernel panic - SATA drive bgeddy Slackware 7 04-08-2007 07:59 AM
The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda abefroman Linux - Software 5 07-10-2006 04:42 PM
kernel 2.4 -> kernel 2.6 problems with Maxtor SATA Bultot Linux - Hardware 2 01-19-2005 01:58 AM
RH9 and SATA - Kernel 2.4.27 - how to get SATA to work? rolf_mueller Linux - Hardware 5 10-30-2004 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:41 PM.

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
Open Source Consulting | Domain Registration