Re: 2.6.18-rc7-git1: AHCI not seeing devices on ICH8 mobo (DG965RY)
From: Robin H. Johnson
Date: Sat Sep 16 2006 - 16:34:38 EST
On Thu, Sep 14, 2006 at 01:50:50PM -0700, Robin H. Johnson wrote:
> > Unfortunately the SATA phy isn't showing that a SATA device (hd or cdrom
> > or anything) is connected. So can't do anything much at all, if that is
> > the case.
> >
> > Perhaps re-check all the power connections, cables, etc.
> I neglected to say, that the BIOS sees it perfectly fine, and the
> initial boot sequence perfectly with ISOLINUX (everything just falls
> over later when the initrd tries to load up a squashfs image from the
> CD).
Ok, I picked up some SATA hard drives now, and the AHCI driver DOES see them.
However, it gets more interesting now.
The board has 4 SATA ports.
In the BIOS, all 4 of them work, and can start the bootloader from any
of them.
In the kernel, ONLY the first two ports work.
The only thing I see on this, is that in my original dmesg, when the DVD
drive was connected to the 4th port, and nothing connected on SATA1-3,
SControl was 300 for 1/2 and 0 for 3/4.
libata version 2.00 loaded.
ahci 0000:00:1f.2: version 2.0
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 19 (level, low) -> IRQ 193
PCI: Setting latency timer of device 0000:00:1f.2 to 64
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 0xFFFFC20000040100 ctl 0x0 bmdma 0x0 irq 74
ata2: SATA max UDMA/133 cmd 0xFFFFC20000040180 ctl 0x0 bmdma 0x0 irq 74
ata3: SATA max UDMA/133 cmd 0xFFFFC20000040200 ctl 0x0 bmdma 0x0 irq 74
ata4: SATA max UDMA/133 cmd 0xFFFFC20000040280 ctl 0x0 bmdma 0x0 irq 74
scsi1 : ahci
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7, max UDMA/133, 488397168 sectors: LBA48
ata1.00: ata1: dev 0 multi count 0
ata1.00: configured for UDMA/133
scsi2 : ahci
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7, max UDMA/133, 488397168 sectors: LBA48
ata2.00: ata2: dev 0 multi count 0
ata2.00: configured for UDMA/133
scsi3 : ahci
ata3: SATA link down (SStatus 0 SControl 0)
scsi4 : ahci
ata4: SATA link down (SStatus 0 SControl 0)
Vendor: ATA Model: WDC WD2500JS-00M Rev: 02.0
Type: Direct-Access ANSI SCSI revision: 05
...
(picks up the second drive, and continues)
--
Robin Hugh Johnson
E-Mail : robbat2@xxxxxxxxxx
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
Attachment:
pgp00000.pgp
Description: PGP signature