[Bug 269936] AHCI generic driver does not detect SATA drives on Marvell armada-3700-ahci

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Mar 2023 16:06:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269936

            Bug ID: 269936
           Summary: AHCI generic driver does not detect SATA drives on
                    Marvell armada-3700-ahci
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: testo@post.cz
                CC: mw@FreeBSD.org, mw@semihalf.com

Created attachment 240556
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240556&action=edit
bootlog

Booting R13.1 and CURRENT on ESPRESSObin SBC detects the SATA controller but
not able to detect/attach a SATA device:

ahci0: <AHCI SATA controller> mem 0xe0000-0xe0177 irq 27 on simplebus1
ahci0: AHCI v1.30 with 1 6Gbps ports, Port Multiplier supported with FBS
ahcich0: <AHCI channel> at channel 0 on ahci0
device_attach: ahcich0 attach returned 6

The controller is supported since the patch that adds FDT tag armada-3700-ahci
to ahci_generic.c kernel driver:

https://cgit.freebsd.org/src/patch/sys/dev/ahci/ahci_generic.c?id=e75791056badad2053542fd64101d47cbfe519a6

review D12254


Booting other OS works.

Already reproduced by some people.

Bootlog attached

-- 
You are receiving this mail because:
You are the assignee for the bug.