Re: How to debug CompactFlash card fails on PATA port of an SATA controller ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Raphael Bossek wrote:
> Hi,
> 
> I get the PATA interface of my Promise PDC40775 (SATA 300 TX2plus) working.
> But now I run into trouble while connecting a SimpleTech CompactFlash card
> SLCF512J2U-F (512MB). This are are the messages from log:
> 
> sata_promise 0000:00:0a.0: version 1.04
> ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 217       
> sata_promise PATA port found
> ata9: SATA max UDMA/133 cmd 0xBE9D0200 ctl 0xBE9D0238 bmdma 0x0 irq 217
> ata10: SATA max UDMA/133 cmd 0xBE9D0280 ctl 0xBE9D02B8 bmdma 0x0 irq 217
> sata_promiseDisabling SATA for third port
> ata11: PATA max UDMA/133 cmd 0xBE9D0300 ctl 0xBE9D0338 bmdma 0x0 irq 217
> ata9: SATA link down (SStatus 0)
> scsi8 : sata_promise
> ata10: SATA link down (SStatus 0)
> scsi9 : sata_promise
> ata11: dev 0 cfg 49:0300 82:7068 83:4004 84:4000 85:7068 86:0004 87:4000 88:0000
> ata11: dev 0 ATA-0, max MWDMA2, 1000944 sectors: LBA
> ata11: dev 0 configured for MWDMA2
> scsi10 : sata_promise
>   Vendor: ATA       Model: STI Flash 7.3.0   Rev: 06/1
>   Type:   Direct-Access                      ANSI SCSI revision: 05 
> SCSI device sdb: 1000944 512-byte hdwr sectors (512 MB) 
> sdb: Write Protect is off
> sdb: Mode Sense: 00 3a 00 00
> SCSI device sdb: drive cache: write back
> SCSI device sdb: 1000944 512-byte hdwr sectors (512 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: 00 3a 00 00
> SCSI device sdb: drive cache: write back
>  sdb:<3>ata11: command timeout
> ata11: translated ATA stat/err 0xff/00 to SCSI SK/ASC/ASCQ 0xb/47/00
> ata11: status=0xff { Busy }
> sd 10:0:0:0: SCSI error: return code = 0x8000002
> sdb: Current: sense key: Aborted Command
>     Additional sense: Scsi parity error
> Info fld=0xfffffff
> end_request: I/O error, dev sdb, sector 0
> Buffer I/O error on device sdb, logical block 0
> ata11: command timeout
> ata11: translated ATA stat/err 0xff/00 to SCSI SK/ASC/ASCQ 0xb/47/00
> ata11: status=0xff { Busy }
> sd 10:0:0:0: SCSI error: return code = 0x8000002
> sdb: Current: sense key: Aborted Command
>     Additional sense: Scsi parity error
> Info fld=0xfffffff
> end_request: I/O error, dev sdb, sector 0
> Buffer I/O error on device sdb, logical block 0
>  unable to read partition table
> sd 10:0:0:0: Attached scsi disk sdb
> 
> How can I identify the real problem for this device ?
> 

It seems MWDMA2 is turned on for the CF device.
Some CF to IDE adapter doesn't like DMA. Maybe that's the problem.

For debug, could you please #define ATA_DEBUG and ATA_VERBOSE_DEBUG in
<linux/libata.h> and recompile the kernel for detailed log.

Thanks,

Albert


-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux