linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to debug CompactFlash card fails on PATA port of an SATA controller ?
@ 2006-05-16  8:11 Raphael Bossek
  2006-05-17  5:18 ` Albert Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Raphael Bossek @ 2006-05-16  8:11 UTC (permalink / raw)
  To: linux-ide

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 ?

--
Raphael Bossek
-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
    

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to debug CompactFlash card fails on PATA port of an SATA controller ?
  2006-05-16  8:11 How to debug CompactFlash card fails on PATA port of an SATA controller ? Raphael Bossek
@ 2006-05-17  5:18 ` Albert Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Albert Lee @ 2006-05-17  5:18 UTC (permalink / raw)
  To: Raphael Bossek; +Cc: linux-ide

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-17  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16  8:11 How to debug CompactFlash card fails on PATA port of an SATA controller ? Raphael Bossek
2006-05-17  5:18 ` Albert Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).