LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-26-2007, 09:00 PM   #1
rpg
Member
 
Registered: Dec 2002
Distribution: OpenSUSE
Posts: 58

Rep: Reputation: 15
Can't read SATA drives in new kernel


I have just tried to roll my own 2.6.21.5 kernel for my x86_64 machine. I copied over the .config for my Mandriva system (from 2.6.14), and tried to build the new kernel (my old one couldn't see all of the memory I had, and I was also hoping to pick up the jmicron_pata driver, since my ASUS P5B deluxe uses the Jmicron chip).

Unfortunately, when I build and install the kernel, the boot crashes at the point of trying to check for suspend signatures. It complains that it can't read my /dev/sda5.

My guess is that somehow I've gaffed the configuration so that the kernel can't read my SATA drives, but I'm at a bit of a loss for how to proceed. Can anyone offer any suggestions?

Many thanks,

Robert
 
Old 06-26-2007, 09:48 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Libata changed at 2.6.19 - see this thread.
Don't use your old config like that (on this occasion).
 
Old 06-26-2007, 10:18 PM   #3
rpg
Member
 
Registered: Dec 2002
Distribution: OpenSUSE
Posts: 58

Original Poster
Rep: Reputation: 15
Thank you!

Thank you very much. I'm back to being a newbie --- it's been years since I compiled my own kernel --- and it would have taken me forever to stumble on this myself.

Is there a source for a good beginner's configuration for a Dual Core x86_64 machine that one could use as a starting point? I've always just modified my distro's configs; I'm not sure how to just go from zero. Also I'm not sure how the short names like the ones in that thread map to the longer names in xconfig.

Thanks again; I'm sure you saved me a ton of time. It's hard to keyword search for this particular query because SATA config and kernel are such commonly used phrases...
 
Old 06-26-2007, 10:24 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Try this: copy the old config, but then run "make menuconfig" and manually set "Device Drivers->Serial ATA (etc)" to enable the controller you have for your SATA drive. I can't help you with the compile and install for Mandrake, though.
 
Old 06-27-2007, 11:28 AM   #5
rpg
Member
 
Registered: Dec 2002
Distribution: OpenSUSE
Posts: 58

Original Poster
Rep: Reputation: 15
Hm. This is for an ASUS P5B deluxe, which I believe has a JMicron chipset, but I still get this problem. Should I turn on JMB36x as well?

I may well be goofing something up.... Is there another chip there?

About the Southbridge, we read "The Southbridge used on this motherboard is the Intel ICH8R. The ICH8R Southbridge supports ten USB 2.0 ports, six PCI Express x1, Intel Gigabit LAN, Intel AMT, Intel High-Definition Audio, six Serial ATA 2.0 ports, and Intel Matrix Storage technology." But I'm not sure what this translates into for kernel configuration. Under SATA I see "Intel PATA MPIIX support" and "Intel PATA old PIIX support". Should I select one of these? Or is there some other thing I should be using?

Thanks
 
Old 06-27-2007, 07:32 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I think that this is what you want:

CONFIG_ATA_PIIX: │
│ │
│ This option enables support for ICH5/6/7/8 Serial ATA │
│ and support for PATA on the Intel PIIX3/PIIX4/ICH series │
│ PATA host controllers.

It's at Device Drivers->Serial ATA ...->Intel PIIX/ICH SATA Support
 
  


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
Additional SATA drives not visible to kernel FC6 geustace Linux - Hardware 5 03-22-2007 02:51 PM
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
latest linusx kernel does not recognize sata drives nanjil SUSE / openSUSE 5 02-05-2006 05:23 PM
kernel 2.6.8.1 - very slow read from sata asm Linux - Hardware 2 10-07-2004 07:49 AM
Booting from SATA Drives w/Kernel 2.6.8.1 t-peters1975 Slackware 7 09-29-2004 06:03 AM

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

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration