Sata ports not recognized - armbian 24.04 kernel 6.1

I am experiencing problems with sata drives being recognized.
It works on first boot and next boot no sata ports/ drives are found.
Using armbian-config >update firmware brings ports back after reboot.

I found a github issue related here

FWIW I tested a very early 6.1 kernel on my 5 ITX a while back when it started to appear and found that PCIe was not detected (hence no SATA), so I reverted to 5.10, considering that this kernel was still under active development by then.

It might be possible you’d be facing the same problem. If you can issue “lspci -nn”, it would be useful. Maybe 6.1 doesn’t support the 2x2 split for example, I don’t know.

$ lspci -nn
0001:10:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01)
0001:11:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1164 Serial ATA AHCI Controller [1b21:1164] (rev 02)
0003:30:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01)
0003:31:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
0004:40:00.0 PCI bridge [0604]: Rockchip Electronics Co., Ltd RK3588 [1d87:3588] (rev 01)
0004:41:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)

1 Like

OK thanks, so at least the SATA controller is properly detected, thus the 2x2 bifurcation seems correct in this kernel. However i don’t understand why it doesn’t see your ports if it recognizes the controller :-/ Have you checked for hints in dmesg ? The SATA controller must be detected and will either indicate what it finds, or an error which justifies why it doesn’t go further. Often, “dmesg|grep -i ata” is sufficient to list most of the relevant messages (plus a few that contain “data” but you don’t care).

I had the same issue and am using 5.1 for now.

Running on Armbian.

same. changed used kernel via armbian-config.
works now

Same issue here, in dmesg I see some errors, I think those two are important:
[ 11.384685] ahci 0001:11:00.0: controller reset failed (0xffffffff)
[ 12.951128] rk-pcie fe170000.pcie: PCIe Link Fail, LTSSM is 0x3, hw_retries=0

Everyting except SATA works fine.
On some cold boots everything works fine.

@matrycy Please try again with the most recent Armbian version. This issue should be fixed for a while now

The issue is I want to use OMV and afaik bookworm is a must.

@matrycy Armbian does have many flavours like debian bookworm, ubuntu jammy / noble,…
For Rock5 ITX there is also official endorsed OMV image available at https://www.armbian.com/radxa-rock-5-itx/when you scroll down to the “Dedicated applications” section

But whats the use of OMV without disks? It is still the same armbian, bookworm, vendor provided kernel 6.1.75 under the hood. SATA drives support is random