This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sata read error

Hi,

    I test Sata disk of 8148 coustom board,When more than 3 disks connect to the board at ont time,the fail appear occasionly.I use the command  "time dd if=/dev/sda1 of=/dev/null bs=1M count=10000". The error is as follows: 

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.04: failed to read SCR 1 (Emask=0x40)

ata1.15: exception Emask 0x10 SAct 0x0 SErr 0x680101 action 0x6 frozen

ata1.15: irq_stat 0x08000000, interface fatal error

ata1.15: SError: { RecovData UnrecovData 10B8B BadCRC Handshk }

ata1.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.01: exception Emask 0x100 SAct 0x3 SErr 0x0 action 0x6 frozen

ata1.01: failed command: READ FPDMA QUEUED

ata1.01: cmd 60/80:00:3f:c4:04/00:00:00:00:00/40 tag 0 ncq 65536 in

         res 40/00:04:3f:c4:04/00:00:00:00:00/40 Emask 0x100 (unknown error)

ata1.01: status: { DRDY }

ata1.01: failed command: READ FPDMA QUEUED

ata1.01: cmd 60/80:08:bf:c4:04/00:00:00:00:00/40 tag 1 ncq 65536 in

         res 40/00:04:3f:c4:04/00:00:00:00:00/40 Emask 0x100 (unknown error)

ata1.01: status: { DRDY }

ata1.02: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.03: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.04: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.15: hard resetting link

ata1.15: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.00: hard resetting link

ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.01: hard resetting link

ata1.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)

ata1.02: hard resetting link

ata1.02: SATA link down (SStatus 0 SControl 320)

ata1.03: hard resetting link

ata1.03: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.04: hard resetting link

ata1.04: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.00: configured for UDMA/133

ata1.01: configured for UDMA/133

ata1.03: configured for UDMA/133

ata1.04: configured for UDMA/133

ata1: 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.04: failed to read SCR 1 (Emask=0x40)

ata1.15: exception Emask 0x10 SAct 0x0 SErr 0x280100 action 0x6 frozen

ata1.15: irq_stat 0x08000000, interface fatal error

ata1.15: SError: { UnrecovData 10B8B BadCRC }

ata1.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.01: exception Emask 0x100 SAct 0x3 SErr 0x0 action 0x6 frozen

ata1.01: failed command: READ FPDMA QUEUED

ata1.01: cmd 60/80:00:3f:7a:05/00:00:00:00:00/40 tag 0 ncq 65536 in

         res 40/00:04:3f:7a:05/00:00:00:00:00/40 Emask 0x100 (unknown error)

ata1.01: status: { DRDY }

ata1.01: failed command: READ FPDMA QUEUED

ata1.01: cmd 60/80:08:bf:7a:05/00:00:00:00:00/40 tag 1 ncq 65536 in

         res 40/00:04:3f:7a:05/00:00:00:00:00/40 Emask 0x100 (unknown error)

ata1.01: status: { DRDY }

ata1.02: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.03: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.04: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.15: hard resetting link

ata1.15: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.02: limiting SATA link speed to 1.5 Gbps

ata1.00: hard resetting link

ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.01: hard resetting link

ata1.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)

ata1.02: hard resetting link

ata1.02: SATA link down (SStatus 0 SControl 310)

ata1.03: hard resetting link

ata1.03: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.04: hard resetting link

ata1.04: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.00: configured for UDMA/133

ata1.01: configured for UDMA/133

ata1.03: configured for UDMA/133

ata1.04: configured for UDMA/133

ata1: 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.04: failed to read SCR 1 (Emask=0x40)

ata1.15: exception Emask 0x10 SAct 0x0 SErr 0x600101 action 0x6 frozen

ata1.15: irq_stat 0x08000000, interface fatal error

ata1.15: SError: { RecovData UnrecovData BadCRC Handshk }

ata1.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.01: exception Emask 0x100 SAct 0x3 SErr 0x0 action 0x6 frozen

ata1.01: failed command: READ FPDMA QUEUED

ata1.01: cmd 60/80:00:3f:4c:1b/00:00:00:00:00/40 tag 0 ncq 65536 in

         res 40/00:04:3f:4c:1b/00:00:00:00:00/40 Emask 0x100 (unknown error)

ata1.01: status: { DRDY }

ata1.01: failed command: READ FPDMA QUEUED

ata1.01: cmd 60/80:08:bf:4c:1b/00:00:00:00:00/40 tag 1 ncq 65536 in

         res 40/00:04:3f:4c:1b/00:00:00:00:00/40 Emask 0x100 (unknown error)

ata1.01: status: { DRDY }

ata1.02: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.03: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.04: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen

ata1.15: hard resetting link

ata1.15: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.02: limiting SATA link speed to 1.5 Gbps

ata1.00: hard resetting link

ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.01: hard resetting link

ata1.01: SATA link up 3.0 Gbps (SStatus 123 SControl 320)

ata1.02: hard resetting link

ata1.02: SATA link down (SStatus 0 SControl 310)

ata1.03: hard resetting link

ata1.03: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.04: hard resetting link

ata1.04: SATA link up 1.5 Gbps (SStatus 113 SControl 320)

ata1.00: configured for UDMA/133

ata1.01: configured for UDMA/133

ata1.03: configured for UDMA/133

ata1.04: configured for UDMA/133

ata1: EH complete

10000+0 records in

10000+0 records out

10485760000 bytes (9.8GB) copied, 228.154578 seconds, 43.8MB/s

real    3m 48.23s

user    0m 0.07s

sys     2m 19.44s

 

How can I solve the problem?

 

Regard,

Chen