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