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

Andreas Gredler linux-thinkpad@linux-thinkpad.org
Tue, 26 Jun 2007 18:41:49 +0200


On Tue, Jun 26, 2007 at 10:15:19AM -0300, Henrique de Moraes Holschuh wrote:
> 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.

Sorry. Will post it soon.

> > 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.

Yes thanks. After playing around with the BIOS options I also realized
it :-)

> > 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.

Yes. Done and it works. So both drives are recognized as SATA, but only
in combined mode.

> > 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.

Unfortunately, exactly this is the problem now. It works in combined
mode now, but not in AHCI mode (see my posting in the other thread).

greets Jimmy

P.S.: Sorry about starting two threads. I just realized today :-( 

-- 
                 Andreas "Jimmy" Gredler 
   ,'"`.         http://www.jimmy.co.at/ | jimmy@g-tec.co.at
  (  grml.org -» Linux Live-CD for texttool-users and sysadmins
   `._,          http://www.grml.org/    | jimmy@grml.org