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.

AM5728 mSATA error

Other Parts Discussed in Thread: AM5728, PMP

Hi,

Using AM5728 core to use mSATA part number: SQF-SMSM44-32G-S8C from Advantech.

I haven't configured anything in the device tree and i have been following the instructions as mentioned in SATA user's guide.

Attached here is the log. I had the device connected in the slave port.

****************************************************************************************************************************8


root@am57xx-evm:~# ls
ahci.ko  ahci_platform.ko  libahci.ko  libahci_platform.ko  libata.ko
root@am57xx-evm:~# insmod libata.ko
root@am57xx-evm:~# insmod libahci.ko
root@am57xx-evm:~# insmod libahci_platform.ko
root@am57xx-evm:~# insmod ahci.ko
root@am57xx-evm:~# insmod ahci_platform.ko
[  178.552203] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[  178.562936] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[  178.572167] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[  178.625874] scsi host0: ahci
[  178.651890] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 359
[  188.683988] ata1: softreset failed (device not ready)
[  198.713986] ata1: softreset failed (device not ready)
[  209.343990] ata1: link is slow to respond, please be patient (ready=0)
[  233.763990] ata1: softreset failed (device not ready)
[  233.769187] ata1: limiting SATA link speed to 1.5 Gbps
[  238.983989] ata1: softreset failed (device not ready)
[  238.989306] ata1: reset failed, giving up
[  238.993530] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen t4
[  239.003407] ata1: irq_stat 0x00400040, connection status changed
[  239.009867] ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
[  239.018367] ata1: hard resetting link
[  249.023987] ata1: softreset failed (device not ready)
[  249.029177] ata1: hard resetting link
[  259.033988] ata1: softreset failed (device not ready)
[  259.039179] ata1: hard resetting link
[  270.063988] ata1: link is slow to respond, please be patient (ready=0)
[  294.063987] ata1: softreset failed (device not ready)
[  294.069184] ata1: limiting SATA link speed to 1.5 Gbps
[  294.076033] ata1: hard resetting link
[  299.263989] ata1: softreset failed (device not ready)
[  299.269310] ata1: reset failed, giving up
[  299.273534] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen t3
[  299.283402] ata1: irq_stat 0x00400040, connection status changed
[  299.289870] ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
[  299.298362] ata1: hard resetting link
[  309.303987] ata1: softreset failed (device not ready)
[  309.309174] ata1: hard resetting link
[  319.313989] ata1: softreset failed (device not ready)
[  319.319182] ata1: hard resetting link
[  330.343986] ata1: link is slow to respond, please be patient (ready=0)
[  354.343986] ata1: softreset failed (device not ready)
[  354.349183] ata1: limiting SATA link speed to 1.5 Gbps
[  354.356030] ata1: hard resetting link


^C
[  359.543991] ata1: softreset failed (device not ready)
[  359.549308] ata1: reset failed, giving up
[  359.553534] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen t2
[  359.563424] ata1: irq_stat 0x00400040, connection status changed
[  359.570008] ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
[  359.578500] ata1: hard resetting link


[  362.383984] INFO: task kworker/u2:0:6 blocked for more than 120 seconds.
[  362.390838]       Tainted: G        W       4.1.13-g8dc6617 #6
[  362.398378] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  362.406587] kworker/u2:0    D c05a8f80     0     6      2 0x00000000
[  362.413242] Workqueue: events_unbound async_run_entry_fn
[  362.420282] [<c05a8f80>] (__schedule) from [<c05a92e0>] (schedule+0x40/0x98)
[  362.429767] [<c05a92e0>] (schedule) from [<bf00d520>] (ata_port_wait_eh+0x88/0x114 [libata])
[  362.440139] [<bf00d520>] (ata_port_wait_eh [libata]) from [<bf007d4c>] (ata_port_probe+0x24/0x30 [libata])
[  362.452908] [<bf007d4c>] (ata_port_probe [libata]) from [<bf007d90>] (async_port_probe+0x38/0x64 [libata])
[  362.463778] [<bf007d90>] (async_port_probe [libata]) from [<c0050870>] (async_run_entry_fn+0x48/0x14c)
[  362.475050] [<c0050870>] (async_run_entry_fn) from [<c00491c8>] (process_one_work+0x124/0x368)
[  362.485027] [<c00491c8>] (process_one_work) from [<c0049470>] (worker_thread+0x64/0x550)
[  362.493383] [<c0049470>] (worker_thread) from [<c004e25c>] (kthread+0xd4/0xec)
[  362.502308] [<c004e25c>] (kthread) from [<c000f4a8>] (ret_from_fork+0x14/0x2c)
[  362.509904] Kernel panic - not syncing: hung_task: blocked tasks
[  362.516051] ---[ end Kernel panic - not syncing: hung_task: blocked tasks