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 question

hi, wanna ask what's the problem of SATA probe

 

ata1.00: qc timeout (cmd 0xec)

ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)

ata1: limiting SATA link speed to 1.5 Gbps

ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

 

what I could do to make SATA work?

 

regards

Pan

  • Can you tell me the make and model of the SATA drive you are using?

    You can view the following post, which suggests patching your Linux kernel to fix some compatibility issues with certain drives:

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/94169/329002.aspx

    Jeff

  • I tried 3 HDDs, none could work. one is 2.5“ 80G with part#:momentus 5400.3 by Seagate.

    I put the other 2 back in case, one 2.5" 320G should be Hitachi, another is 3.5" seagate 1.5T

     

    Pan

  • tried patch, but still errors

     

    ata1.00: exception Emask 0x12 SAct 0x1 SErr 0x1080500 action 0x6 frozen

    ata1.00: irq_stat 0x08000000, interface fatal error

    ata1: SError: { UnrecovData Proto 10B8B TrStaTrns }

    ata1.00: failed command: READ FPDMA QUEUED

    ata1.00: cmd 60/40:00:20:00:00/00:00:00:00:00/40 tag 0 ncq 32768 in

             res 40/00:00:20:00:00/00:00:00:00:00/40 Emask 0x12 (ATA bus error)

    ata1.00: status: { DRDY }

    ata1: hard resetting link

    minix: disagrees about version of symbol module_layout

    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.33-rc4/kernel/fs/minix/minix.ko): Invalid module format

     

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

    ata1.00: configured for UDMA/133

    ata1: EH complete

    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen

    ata1.00: irq_stat 0x08000000, interface fatal error

    ata1: SError: { UnrecovData 10B8B BadCRC }

    ata1.00: failed command: READ FPDMA QUEUED

    ata1.00: cmd 60/20:00:a8:f7:50/00:00:09:00:00/40 tag 0 ncq 16384 in

             res 40/00:00:a8:f7:50/00:00:09:00:00/40 Emask 0x10 (ATA bus error)

    ata1.00: status: { DRDY }

    ata1: hard resetting link

    minix: disagrees about version of symbol module_layout

    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.33-rc4/kernel/fs/minix/minix.ko): Invalid module format

     

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

    minix: disagrees about version of symbol module_layout

    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.33-rc4/kernel/fs/minix/minix.ko): Invalid module format

     

    minix: disagrees about version of symbol module_layout

    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.33-rc4/kernel/fs/minix/minix.ko): Invalid module format

     

    minix: disagrees about version of symbol module_layout

    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.33-rc4/kernel/fs/minix/minix.ko): Invalid module format

     

    ata1.00: qc timeout (cmd 0x27)

    ata1.00: failed to read native max address (err_mask=0x4)

    ata1.00: HPA support seems broken, skipping HPA handling

    ata1.00: revalidation failed (errno=-5)

    ata1: hard resetting link

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

    ata1.00: configured for UDMA/133

    ata1: EH complete

    ata1.00: exception Emask 0x12 SAct 0x2 SErr 0x1080500 action 0x6 frozen

    ata1.00: irq_stat 0x08000000, interface fatal error

    ata1: SError: { UnrecovData Proto 10B8B TrStaTrns }

    ata1.00: failed command: READ FPDMA QUEUED

    ata1.00: cmd 60/00:08:20:01:00/01:00:00:00:00/40 tag 1 ncq 131072 in

             res 40/00:08:20:01:00/00:00:00:00:00/40 Emask 0x12 (ATA bus error)

    ata1.00: status: { DRDY }

    ata1: hard resetting link

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

    ata1.00: configured for UDMA/133

    ata1: EH complete

    ata1: limiting SATA link speed to 1.5 Gbps

    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen

    ata1.00: irq_stat 0x08000000, interface fatal error

    ata1: SError: { UnrecovData 10B8B BadCRC }

    ata1.00: failed command: READ FPDMA QUEUED

    ata1.00: cmd 60/00:00:20:01:00/01:00:00:00:00/40 tag 0 ncq 131072 in

             res 40/00:00:20:01:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)

    ata1.00: status: { DRDY }

    ata1: hard resetting link

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

    ata1.00: configured for UDMA/133

    ata1: EH complete

    minix: disagrees about version of symbol module_layout

    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.33-rc4/kernel/fs/minix/minix.ko): Invalid module format

     

    ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen

    ata1.00: irq_stat 0x08000000, interface fatal error

    ata1: SError: { UnrecovData 10B8B BadCRC }

    ata1.00: failed command: READ FPDMA QUEUED

    ata1.00: cmd 60/08:00:af:e4:50/00:00:09:00:00/40 tag 0 ncq 4096 in

             res 40/00:00:af:e4:50/00:00:09:00:00/40 Emask 0x10 (ATA bus error)

    ata1.00: status: { DRDY }

    ata1: hard resetting link

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

    ata1.00: qc timeout (cmd 0xef)

    ata1.00: failed to set xfermode (err_mask=0x4)

    ata1: hard resetting link

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

    ata1.00: configured for UDMA/133

    ata1: EH complete

    minix: disagrees a

  • ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe frozen

    ata1: irq_stat 0x00000040, connection status changed

    ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }

    ata1: hard resetting link

    ata1: softreset failed (device not ready)

    ata1: hard resetting link

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

    ata1.00: ATA-8: ST31500341AS, CC1H, max UDMA/133

    ata1.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 31/32)

    ata1.00: failed to read native max address (err_mask=0x100)

    ata1.00: HPA support seems broken, skipping HPA handling

    ata1.00: revalidation failed (errno=-5)

    ata1: hard resetting link

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

    ata1.00: qc timeout (cmd 0xec)

    ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)

    ata1.00: revalidation failed (errno=-5)

    ata1: limiting SATA link speed to 1.5 Gbps

    ata1: hard resetting link

    ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

    ata1.00: configured for UDMA/133

    ata1: EH complete

  • Are you using the EVM or your own custom board?

    If it is your own board, does your schematic follow the routing and component rules given in the datasheet for the SATA peripheral? In particular, the coupling capacitors on the data and clock lines should match the values given in the datasheet.

    If it is the EVM, what is the revision number on the SOM you are using?

    Can you give the exact specific part numbers for each drive, ie Barracuda 7200.12, etc?

    Jeff

  • Jeff,

    here is one of the part# ata1.00: ATA-8: ST31500341AS, CC1H, max UDMA/133, by Seagate

    another : part#:momentus 5400.3 by Seagate

    sometimes it detects the HDD, but very low speed while copying something out of the HDD.

    I'm now using EVB to test,  logicPD 1015137 REV2 for som, 1015525 REV1 for the baseboard. my own design follows the rules strictly, will be ready in 3 weeks or so.

     

    Regards,

    Pan

  • Are you seeing the same issues with the LogicPD EVM as well, or just on your board? I want to make sure I understand.

    Jeff

  • Jeff:

    my own board is still being layout. all error comes out from EVB of logicPD. also,  sound card could not be found, don't know why, default kernel by SDK4

     

    usbcore: registered new interface driver usbhid

    usbhid: USB HID core driver

    Advanced Linux Sound Architecture Driver Version 1.0.21.

    usbcore: registered new interface driver snd-usb-audio

    No device for DAI tlv320aic3x

    ALSA device list:

      No soundcards found.

     

    Pan

  • Ok I will work on getting the drives you mentioned tested for functionality on the EVMs.

    I would recommend posting a separate topic for the sound card issue on the Linux forums. Thanks

    Jeff

  • Hi, Jeff

    Found something interesting. SATA HDD works normally occasionally. successfully copied a 200M file into the HDD from SD card one time in 12 seconds.

    here is the summary

    1. Write to HDD will have less error then READ from the HDD. I never saw error free READ.

    2. Power supply of the HDD will affect the error counts while operating the HDD. at the same condition, external 3.5" HDD docking power supply seldom works(12V adapter with internal DC-DC to 5V), but USB power from computer works better, target HDD is ST980811AS (Seagate 2.5" Momentus 5400.3, 80G)

    3. turn off the Port Multiplier support in the AHCI config or patching seems help nothing.

         I tried original uImage, patching uImage, PM off uImage, PM off and patching uImage, almost the same.

     

    I guess the SATA HDD connectionn affects the SOM power sometimes, cause I saw 2-3 times kernel halted during booting with HDD on.  and see no halts without the HDD.

    I saw SOM does not have enough capacitors to make better power supply, and fast transfer rely on good clock source, I happened to have some jitter knowledge. PLL always provides a lot phase noise by internal RC OSC, and SATA uses 2 PLL to work. hope my LDO + lvds 100M OSC SOM will work better.

     

    regards,

    Pan

     

     

  • my own board works very good as I planned. and verified that the logicPD board has problem with the power supply.