"ahci0: AHCI v1.30 with 6 6Gbps ports" while only 2 of those are SATA3

Yuri Pankov yuripv at yuripv.dev
Mon Apr 12 20:28:56 UTC 2021

That is on somewhat older Supermicro X9DRI-LN4F+ board:

ahci0: <Intel Patsburg AHCI SATA controller> port
mem 0xdfa21000-0xdfa217ff irq 18 at device 31.2 numa-domain 0 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported

and then I was confused by messages about SATA3 drives connected to
ports 2-5 (see the "transfers" line):

ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <WDC WD40PURZ-85AKKY0 80.00A80> ACS-3 ATA SATA 3.x device
ada1: Serial Number WD-WX32D7088CCV
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors)

Checking the board manual made it clear than only ports 0-1 are SATA3,
and 2-5 are indeed SATA2.  While the issue is purely cosmetic, I wonder
if it's possible to print real port speeds for the controller, i.e. if
this information is available to driver?

More information about the freebsd-current mailing list