[ltp] Re: T43 report

Jeff Lessem linux-thinkpad@linux-thinkpad.org
Mon, 04 Apr 2005 09:43:45 -0600


Paul Ionescu <i_p_a_u_l@yahoo.com> writes:

> Hi Jeff,
>
> On Thu, 17 Mar 2005 15:26:15 -0700, Jeff Lessem wrote:
>
>> I just got a new T43 fresh off the plane from Hong Kong.  I got it up and
>> running with minimal fuss.  Instead of doing a fresh install, I copied the
>> hard disk from my recently deceased Dell 4150 laptop over to the T43. 
>> With pretty minimal changes I had a Debian Sid based system up and
>> running.
>> Note:  The 80GB Fujitsu drive is SATA, so I used the Intel ICH SATA
>> driver, and the drive is detected as /dev/sda.  The DVD writer is /dev/hdc
>> and uses the normal PIIX IDE driver.  Without the SATA driver the hard
>> disk is detected as /dev/hda, but runs degraded with no DMA.
>> 
>
> Are you sure your Fujitsu HD is SATA ?
> I had a look in a T43, and while the interface is SATA, and the harddrive
> is seen as sda, the hard itself seems to be PATA (Fujitsu MHT 2080 AH).
> I even pulled out the hard, and the connector seems PATA ( a lot of pins).

I actually had the drive out this last weekend, and you are correct,
the drive has a standard PATA interface, and the replacement drive I
put in also has a PATA interface.  The replacement drive, the 60GB
Toshiba from my old notebook, worked fine.

However, the kernel is definately using the SATA driver from libata to
access the hard disk.  When using the IDE driver I don't get DMA on
the hard disk or DVD drive.  Using the development libata stuff from
http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/ I get
DMA on the hard disk (I get that with the in-kernel driver, too) and
DMA using ATA passthrough to the DVD writer (this currently requires
the development patches).

ata_piix version 1.03
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x18C0 irq 14
ata1: dev 0 cfg 49:2b00 82:346b 83:5b29 84:4003 85:3469 86:1a09 87:4003 88:203f
ata1: dev 0 ATA-6, max UDMA/100, 156301488 sectors: LBA
ata1(0): applying bridge limits
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
  Vendor: ATA       Model: FUJITSU MHT2080A  Rev: 8471
  Type:   Direct-Access                      ANSI SCSI revision: 05
ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x18C8 irq 15
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2(0): applying bridge limits
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
  Vendor: MATSHITA  Model: DVD-RAM UJ-822S   Rev: 1.03
  Type:   CD-ROM                             ANSI SCSI revision: 05
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0,  type 5