LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-09-2006, 05:01 PM   #1
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Rep: Reputation: 15
Additional SATA drives not visible to kernel FC6


I have just built a Duo based system on an Intel 965 MBoard. It has an 80Gb drive on SATA port 1 and 2 32Gb SATA drives one each on ports 3 and 4.

I followed the various instructions to actually install FC6 i.e. setting the BIOS SATA mode to AHCI and adding all-generic-ide and pci=nommconf to the kernel options.

The system is running fine on the 80Gb drive but doesn't even see the 2 320s. I am guessing that as this is a new chipset, the kernel 2.6.18-1.2849.fc6 doesn't yet have appropriate drivers. I hope I am wrong and there is some tweak I can make to get the other drives up.

The drives are brand new Seagate SATA, ST3320620AS.

I did note that if I set the BIOS SATA type to IDE, the 3 drives appeared on the various ports. But trying to use them in this manner resulted in an unknown IDE controller message from the kernel and DMA timeouts and lost interrupts. With the type set to AHCI, all ports say 'not installed'.

ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0x33 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part
ata1: SATA max UDMA/133 cmd 0xF8840100 ctl 0x0 bmdma 0x0 irq 58
ata2: SATA max UDMA/133 cmd 0xF8840180 ctl 0x0 bmdma 0x0 irq 58
ata3: SATA max UDMA/133 cmd 0xF8840200 ctl 0x0 bmdma 0x0 irq 58
ata4: SATA max UDMA/133 cmd 0xF8840280 ctl 0x0 bmdma 0x0 irq 58
scsi0 : ahci
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-6, max UDMA/133, 156301488 sectors: LBA48 NCQ (depth 31/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : ahci
ata2: SATA link down (SStatus 0 SControl 300)
scsi2 : ahci
ata3: SATA link down (SStatus 0 SControl 0)
scsi3 : ahci
ata4: SATA link down (SStatus 0 SControl 0)
Vendor: ATA Model: ST380817AS Rev: 3.42
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
 
Old 12-10-2006, 11:32 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
According to the 2.6.19 changelog from kernel.org, there was a patch for the ICH8 in October.

Quote:
commit 158f30c8945fea7cf0d0161cd9463cf2f3d2c19e
Author: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Date: Thu Oct 19 13:27:39 2006 -0700

[PATCH] libata: use correct map_db values for ICH8

Use valid values for ICH8 map_db. With the old values, when the
controller was in Native mode, and SCC was 1 (drives configured for
IDE), any drive plugged into a slave port was not recognized. For
Combined Mode (and SCC is still 1), 2 is a value value for MAP.map_value,
and needs to be recognized.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
I doubt that this patch made it in to FC6 release. YOu might check to see if there is an updated kernel for FC6.
 
Old 01-22-2007, 08:39 PM   #3
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Original Poster
Rep: Reputation: 15
I have upgraded to the 2.6.19 kernel from fedora-testing, it hasn't made any difference. I have also updated the BIOS to the latest for this mboard from the Intel Website, that didn't make any difference either.

A colleague suggested ignoring this issue and installing a 3ware (or similiar) SATA RAID card and fix things that way. I haven't done so but it is an interesting option, just costs money!
 
Old 03-22-2007, 03:32 AM   #4
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Original Poster
Rep: Reputation: 15
Success at last.

Upgrading to the latest BIOS from Intel and then upgrading to the latest 2.6.20 FC6 kernel and voila I now have access to my additional disks.

The BIOS introduced a 'legacy' IDE which is what I believe fixed things.

I am no longer using the generic-ide kernel option.

Strangely I have now lost the CD Drive :-( at this time, the addiiton SATA drives are more important.
 
Old 03-22-2007, 12:43 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
So you lost your CD too? I recently saw another post by someone who ran into the same issue after upgrading to 2.6.20. This is beginning to look like a bug. I guess I'd better not do the upgrade myself.

Btw, what happens if you do use all-generic-ide? Doesn't that turn up the IDE controller/CD?
 
Old 03-22-2007, 02:51 PM   #6
geustace
Member
 
Registered: Mar 2004
Location: Palmerston North, New Zealand
Distribution: Fedora, Red Hat
Posts: 50

Original Poster
Rep: Reputation: 15
I was pushed for time when I did the upgrade, I started at 4:00am and this is a production server.

I removed the kernel options to see if they were needed for the SATA drives, discovering that they were not, I didn't put them back. I discovered the CD-Rom not working a few days later and not wanting to lose my SATA drives again, I haven't played around trying to get it to go.
 
  


Reply

Tags
fc6, sata



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
usb HDD (vfat) not visible fc6 vinster Linux - Hardware 18 01-21-2007 04:13 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
Adding additional drives/resizing drives in RAID arrays kheldar Linux - Hardware 1 10-19-2005 01:21 PM
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 05:55 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