日期:2014-05-16  浏览次数:21208 次

SATA读取时 偶尔 发生错误
如题:状况如下:我们做的板子能支持12块高速SATA硬盘(通过PCIE转SATA连接的硬盘),但是在读硬盘的时候 偶尔 会出现错误,写的时候不会出现错误。请各位给分析一下大概是什么原因。是不是高速的SATA硬盘对板子的硬件电路要求特别高才产生的这种现象:



ata4.00: failed to read SCR 1 (Emask=0x40)
ata4.01: failed to read SCR 1 (Emask=0x40)
ata4.02: failed to read SCR 1 (Emask=0x40)
ata4.03: failed to read SCR 1 (Emask=0x40)
ata4.15: exception Emask 0x4 SAct 0x0 SErr 0x400000 action 0x6 frozen
ata4.15: SError: { Handshk }
ata4.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata4.01: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata4.02: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata4.03: exception Emask 0x100 SAct 0xf SErr 0x0 action 0x6 frozen
ata4.03: failed command: READ FPDMA QUEUED
ata4.03: cmd 60/80:00:3f:fc:00/00:00:00:00:00/40 tag 0 ncq 65536 in
  res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.03: status: { DRDY }
ata4.03: failed command: READ FPDMA QUEUED
ata4.03: cmd 60/80:08:bf:fc:00/00:00:00:00:00/40 tag 1 ncq 65536 in
  res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.03: status: { DRDY }
ata4.03: failed command: READ FPDMA QUEUED
ata4.03: cmd 60/80:10:3f:fd:00/00:00:00:00:00/40 tag 2 ncq 65536 in
  res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.03: status: { DRDY }
ata4.03: failed command: READ FPDMA QUEUED
ata4.03: cmd 60/80:18:bf:fd:00/00:00:00:00:00/40 tag 3 ncq 65536 in
  res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata4.03: status: { DRDY }
ata4.15: hard resetting link
ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 330)
ata4.00: hard resetting link
ata4.00: SATA link down (SStatus 0 SControl 320)
ata4.01: hard resetting link
ata4.01: SATA link down (SStatus 0 SControl 320)
ata4.02: hard resetting link
ata4.02: SATA link down (SStatus 0 SControl 320)
ata4.03: hard resetting link
ata4.03: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
ata4.03: configured for UDMA/133
ata4.03: device reported invalid CHS sector 0
ata4.03: device reported invalid CHS sector 0
ata4.03: device reported invalid CHS sector 0
ata4.03: device reported invalid CHS sector 0
ata4: EH complete
ata1.00: failed to read SCR 1 (Emask=0x40)
ata1.01: failed to read SCR 1 (Emask=0x40)
ata1.02: failed to read SCR 1 (Emask=0x40)
ata1.03: failed to read SCR 1 (Emask=0x40)
ata1.15: exception Emask 0x4 SAct 0x0 SErr 0x400000 action 0x6 frozen
ata1.15: SError: { Handshk }
ata1.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.01: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.02: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.03: exception Emask 0x100 SAct 0xf SErr 0x0 action 0x6 frozen
ata1.03: failed command: READ FPDMA QUEUED
ata1.03: cmd 60/10:00:af:0d:01/00:00:00:00:00/40 tag 0 ncq 8192 in
  res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.03: status: { DRDY }
ata1.03: failed command: READ FPDMA QUEUED
ata1.03: cmd 60/70:08:3f:0d:01/00:00:00:00:00/40 tag 1 ncq 57344 in
  res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.03: status: { DRDY }
ata1.03: failed command: READ FPDMA QUEUED
ata1.03: cmd 60/80:10:bf:0d:01/00:00:00:00:00/40 tag 2 ncq 65536 in
  res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.03: status: { DRDY }
ata1.03: failed command: READ FPDMA QUEUED
ata1.03: cmd 60/70:18:3f:0e:01/00:00:00:00:00/40 tag 3 ncq 57344 in
  res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.03: status: { DRDY }
ata1.15: hard resetting link
ata1.15: SATA link up 3.0 Gbps (SStatus 123 SControl 330)
ata1.00: hard resetting link