[ltp] Ultrabase X6: No SATA support, just PATA-SATA bridge?

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Tue, 26 Jun 2007 10:15:19 -0300


On Mon, 25 Jun 2007, Andreas Gredler wrote:
> Attached are the outputs of dmesg and lspci (2 versions, one for ahci
> mode and one for compatibility mode).

dmesg for AHCI mode is missing.

> Jun 25 17:47:15 subzero kernel: ICH7: IDE controller at PCI slot
> 0000:00:1f.1
Here, you are using "combined" mode, and you have a SATA and an IDE
controller.  This does **NOT** mean you have a PATA-SATA bridge anywhere, it
is full SATA, but some drives will look like they are behind a ICH5 PATA
controller for Linux.

> Jun 25 17:47:15 subzero kernel: Probing IDE interface ide0...
> Jun 25 17:47:15 subzero kernel: hda: SAMSUNG HM160JI, ATA DISK drive

You see it as a legacy ide PATA device because of the combined mode, and
because you are NOT using libata to drive the PATA logical interface.

You could also have it as a libata SCSI PATA device, if you ditch the ide
drive in a new enough kernel.

> Jun 25 17:47:16 subzero kernel: scsi 0:0:0:0: Direct-Access     ATA      FUJITSU MHV2100B 0084 PQ: 0 ANSI: 5
Another SATA drive... on an AHCI (SATA) head now.

As you guessed, if you want to see both as SATA, you do need to get rid of
the compatibility mode.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh