There are 2 SATA ports on my motherboard (ASRock B450 Fatality K4) where HDDs are sometimes detected and sometimes not.

I've read the manual and it says that if one M.2 slot is occupied then SATA3-4 ports won't work. Ok, but I have no M.2 cards and SATA ports that don't work are A1 and A2:

enter image description here

Here is one lucky boot with A1 detected:

enter image description here

But I can reboot and it will disappear; or not. But in most cases it will.

PS. If I shutdown the PC there is a high probability that all HDDs will be detected on boot. The problem often happens exactly after rebooting.

In the picture - there is an SSD in A1 slot, but all of this happened with HDDs. I just want to test every case.

  • Do I understand correctly that there are SATA ports A1, A2 and 1, 2, 3, 4?
    – user1686
    May 29 '19 at 13:11
  • @grawity, yes, 6 in total
    – Sergey
    May 29 '19 at 13:15
  • 1
    I suggest updating UEFI before any other troubleshooting.
    – user931000
    May 29 '19 at 15:02
  • I have same issue with ASrock B450 pro and two SATA ports by asmedia. Other 4 SATA ports by AMD works fine with same cables and drives. BIOS updates do nothing. Solution: never buy ASrock again.
    – Sokolov
    Jan 12 at 11:14

Updating BIOS from 1.80 to 3.21 didn't help.

Those two SATA ports are controlled by ASMedia ASM1061.

I don't know if this controller is garbage or if exactly these 2 ports (controlled by ASM1061) were improperly made. But these 2 SATA ports don't work as they must.


sometimes detected, sometimes not

that is very NOT likely to be fixed with a bios/efi update. Especially for a SATA disk, which is not new technology.

your problems are likely to be, because the connection is intermittent

  • a bad sata cable, with the wiring between the two connectors at each end of the cable, fixable by replacing sata cable, $5.
  • bad physical connection of the sata cable at either end due to the plastic connector, also fixable by replacing the sata cable
  • likewise for the above two for the power sata power connector to the disk; use a different sata power connector from your power supply.
  • bad physical connection caused by the sata connector on the disk, which likely will NOT be fixed by a new sata cable, would require new disk.
  • a bad sata connector on the motherboard, which would not be fixed by replacing the sata cable, use a different sata port on the motherboard.

systematically switch things out between sata data cable, sata power cable, different disk, and different sata port on motherboard until you determine the cause. It could also potentially be a bad disk (bad sata contoller on disk) but my experience is something like that doesn't manifest as a frequently intermittent problem, they just stop working altogether and the disk doesn't show up.

there is nothing wrong with ASmedia.

  • I've tried all my cables including power ones, definitely not a problem with them. Also not a problem with disks - they work with other SATA ports. These 2 ports on MB are bad. They are the only 2 ports with a separate controller that doesn't work as it should.
    – Sergey
    Jul 23 '19 at 17:59

You could try disabling the "fast boot" option in bios. This function speeds up boot time by leaving some devices uninitialized during boot.

In my case, I remember it resulted into similar problems - some HDDs could sometimes be detected and other times not.

  • Yes, checked it. It was never enabled.
    – Sergey
    Jul 23 '19 at 22:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.