Beiträge von vecnar

    Hello,


    I have played with omv vm and decided to go with rockpro64, nas case, pcie sata controller and 2x 3.5 wd red drives.
    Main problem is that when i connect power plug to rockpro64 it boots but not recognizes any drives, i get below errors.
    [ 80.509588] ata1: SATA link down (SStatus 1 SControl 310)
    [ 80.534423] ata1: irq_stat 0x00000040, connection status changed
    [ 80.540057] ata1: SError: { CommWake DevExch }
    [ 80.545230] ata1: limiting SATA link speed to 1.5 Gbps
    [ 80.550431] ata1: hard resetting link


    [ 212.084097] ata2: EH complete
    [ 212.097400] ata2: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
    [ 212.106333] ata2: irq_stat 0x00000040, connection status changed
    [ 212.110266] ata2: SError: { CommWake DevExch }
    [ 212.114038] ata2: limiting SATA link speed to 1.5 Gbps


    After reboot dmesg below shows that everything is good.
    [ 2.807119] ata1: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010100 irq 239
    [ 3.269313] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 3.275468] ata1.00: ATA-10: WDC WD40EFRX-68N32N0, 82.00A82, max UDMA/133
    [ 3.286399] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [ 3.299618] ata1.00: configured for UDMA/133
    [ 10.768358] ata1.00: configured for UDMA/133
    [ 10.781388] ata1: EH complete


    [ 2.809115] ata2: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010180 irq 239
    [ 3.784369] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 3.790628] ata2.00: ATA-10: WDC WD40EFRX-68N32N0, 82.00A82, max UDMA/133
    [ 3.796111] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
    [ 3.802514] ata2.00: configured for UDMA/133
    [ 10.986541] ata2.00: configured for UDMA/133
    [ 10.993483] ata2: EH complete



    Reboot resolves them most of the time but sometimes needs second reboot. I thought adding delay to boot will give sufficient amount of time for drives to spinup and be recognized but it didn't. I modified /boot/extlinux/extlinux.conf and /boot/efi/extlinux/extlinux.conf timeout value to 100 (10 secconds) but it didn't help. I know that it did increase startup time when disks are recognized and when not as well.


    Sata controller card i have is ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01).


    I tried changing sata cables, powering hard drives with atx power supply but i just can't find a consistent pattern as to where the problem is.
    I will try to boot armbian tomorrow after being of all night and not connected to electricity.


    Can anyone advise what logs to look at and how to troubleshoot this problem?


    Thanks in advance