ahci: attachment to atapi device

Francois Tigeot ftigeot at wolfpond.org
Mon Jun 15 00:50:11 PDT 2009


Hi,

I just tested the new ahci driver on a Core 2 machine with ICH7 chipset.
It attachs to a SATA DVD burner, which I believe should be left to the nata
driver.
Kernel is 2.3.1 GENERIC with SMP enabled (no apic).

Details of chipset (pciconf -lv):

atapci0 at pci0:31:1:      class=0x01018a card=0x58428086 chip=0x27df8086 rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801G (ICH7 Family) Ultra ATA Storage Controller'
class    = mass storage
subclass = ATA
atapci1 at pci0:31:2:      class=0x010601 card=0x58428086 chip=0x27c18086 rev=0x01 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801GB I/O Controller Hub SATA cc=AHCI'
class    = mass storage
subclass = SATA

Parts of dmesg:

ahci0: <AHCI-PCI-SATA> port 0x30a0-0x30af,0x30e0,0x30e3,0x30c0,0x30c7,0x30e4,0x30e7,0x30c8,0x30cf mem 0xd2204000-0xd22043ff irq 9 at device 31.2 on pci0
match generic sata
ahci0: ahci 1.1 capabilities 0xc320ff03 <S64A,NCQ,SAL,SCL0,PMD,SSC,PSC>, 4 ports, 32 tags/port,gen 1 (1.5Gbps) and 2 (3Gbps)
ahci0.0: sig 00000101
ahci0.0: START SOFTRESET 4c017<HPCP,CR,FR,FRE,POD,SUD,ST>
ahci0.1: sig eb140101
ahci0.1: START SOFTRESET 4c017<HPCP,CR,FR,FRE,POD,SUD,ST>
ahci0.0: sig 00000101
ahci0.1: sig eb140101
ahci0.0: END SOFTRESET
ahci0.1: END SOFTRESET
ahci0.0: Found DISK "WDC WD4000YS-01MPB1 09.02E09" serial="    WD-WCANU207346"
ahci0.0: tags=32/32 satacaps=0706 satafeat=0044 capacity=381554.08MB
ahci0.0: f85=7469 f86=3c41 f87=4163 WC=enabled RA=enabled SEC=frozen
ahci0.1: Found ATAPI "ASUS    DRW-1814BLT 1.04    " serial="                 "
ahci0.1: tags=0/32 satacaps=0602 satafeat=0028 capacity=0.00MB
ahci0.1: f85=0000 f86=0000 f87=0000 WC=notsupp RA=notsupp SEC=notsupp
ahci0.1: cmd 0: error
ahci0.3: sig 00000101
ahci0.3: START SOFTRESET 4c017<HPCP,CR,FR,FRE,POD,SUD,ST>
ahci0.3: sig 00000101
ahci0.3: END SOFTRESET
ahci0.2: Port appears to be unplugged
ahci0.2: No device detected
ahci0.3: Found DISK "WDC WD5002ABYS-01B1B0 02.03B02" serial=" WD-WCASY3848290"
ahci0.0: tags=32/32 satacaps=0506 satafeat=0044 capacity=476940.02MB
ahci0.0: f85=7469 f86=be41 f87=4163 WC=enabled RA=enabled SEC=frozen

[...]

da0 at ahci0 bus 0 target 0 lun 0
da0: <SATA WDC WD4000YS-01M 09.0> Fixed Direct Access SCSI-4 device
da0: 300 MB/s transfers
da0: 381554MB (781422768 512 byte sectors: 255H 63S/T 48641C)
da1 at ahci0 bus 3 target 0 lun 0
da1: 300 MB/s transfers
da1: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)

[...]

Mounting root from ufs:da0s1a
cd0 at ahci0 bus 1 target 0 lun 0
cd0: <ASUS DRW-1814BLT 1.04> Removale CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers
cd0: cd present [490912 x 2048 byte records]
ahci0.0: CMD TIMEOUT state=5 slot=22
        cmd-reg 0x4d617<HPCP,CR,FR,FRE,POD,SUD,ST>
		sactive=00400000 active=00000000 expired=00000000
		   sact=000000000    ci=00000000
ahci0.0: disk rw: timeout

This last part (timeout) repeats forever, with about a 10 second pause between
each printing.

-- 
Francois Tigeot





More information about the Bugs mailing list