I’m not sure if this is related to the OPs sata problems, but I have similar issues. I am testing a newly arrived board with 24gb memory and booting Armbian Noble 24.04 from a NVMe. The sata controller init randomly completes between reboots. Somes times the drives are seen other times they are not. The drives are: /dev/sda:
Model=SanDisk SSD PLUS 120 GB, FwRev=UE4500RL, SerialNo=180510A00C5C
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=unknown, MaxMultSect=1, MultSect=off
(maybe): CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234455040
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-4,5,6,7
- signifies the current active mode
/dev/sdb:
Model=ST2000DX002-2DV164, FwRev=CC41, SerialNo=Z4Z7A8DR
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=3907029168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Reserved: ATA/ATAPI-4,5,6,7
- signifies the current active mode
A quick scan through syslog for the word error on a boot when sata fails gives:
2024-10-13T05:51:48.641104+01:00 rock-5-itx kernel: fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
2024-10-13T05:51:48.641105+01:00 rock-5-itx kernel: fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
2024-10-13T05:51:48.641505+01:00 rock-5-itx kernel: dw-pcie: probe of fe180000.pcie failed with error -22
2024-10-13T05:51:48.641507+01:00 rock-5-itx kernel: dw-pcie: probe of fe150000.pcie failed with error -22
2024-10-13T05:51:48.641511+01:00 rock-5-itx kernel: dw-pcie: probe of fe160000.pcie failed with error -22
2024-10-13T05:51:48.641513+01:00 rock-5-itx kernel: dw-pcie: probe of fe170000.pcie failed with error -22
2024-10-13T05:51:48.642538+01:00 rock-5-itx kernel: optee: probe of firmware:optee failed with error -22
2024-10-13T05:51:48.642747+01:00 rock-5-itx kernel: dw-pcie: probe of fe190000.pcie failed with error -22
2024-10-13T05:51:48.642936+01:00 rock-5-itx kernel: mpp_rkvenc2 fdbd0000.rkvenc-core: error -ENODEV: _opp_set_regulators: no regulator (venc) found
2024-10-13T05:51:48.642963+01:00 rock-5-itx kernel: mpp_rkvenc2 fdbe0000.rkvenc-core: error -ENODEV: _opp_set_regulators: no regulator (venc) found
2024-10-13T05:51:48.642993+01:00 rock-5-itx kernel: rockchip-vop2 fdd90000.vop: error -ENODEV: _opp_set_regulators: no regulator (vop) found
2024-10-13T05:51:48.643743+01:00 rock-5-itx kernel: ahci: probe of 0001:11:00.0 failed with error -5
2024-10-13T05:53:34.096443+01:00 rock-5-itx kernel: fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
2024-10-13T05:53:34.096444+01:00 rock-5-itx kernel: fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
2024-10-13T05:53:34.096747+01:00 rock-5-itx kernel: dw-pcie: probe of fe180000.pcie failed with error -22
2024-10-13T05:53:34.096749+01:00 rock-5-itx kernel: dw-pcie: probe of fe150000.pcie failed with error -22
2024-10-13T05:53:34.096757+01:00 rock-5-itx kernel: dw-pcie: probe of fe160000.pcie failed with error -22
2024-10-13T05:53:34.096764+01:00 rock-5-itx kernel: dw-pcie: probe of fe170000.pcie failed with error -22
2024-10-13T05:53:34.097660+01:00 rock-5-itx kernel: optee: probe of firmware:optee failed with error -22
2024-10-13T05:53:34.098251+01:00 rock-5-itx kernel: dw-pcie: probe of fe190000.pcie failed with error -22
2024-10-13T05:53:34.098439+01:00 rock-5-itx kernel: mpp_rkvenc2 fdbd0000.rkvenc-core: error -ENODEV: _opp_set_regulators: no regulator (venc) found
2024-10-13T05:53:34.098467+01:00 rock-5-itx kernel: mpp_rkvenc2 fdbe0000.rkvenc-core: error -ENODEV: _opp_set_regulators: no regulator (venc) found
2024-10-13T05:53:34.098494+01:00 rock-5-itx kernel: rockchip-vop2 fdd90000.vop: error -ENODEV: _opp_set_regulators: no regulator (vop) found
Additionally, when I power down the ITX board my ATX PSU does not switch off.