[Bug 254651] Failed to translate resource 0-ffffffffffffffff type 3 for ahci

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 30 02:14:26 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254651

            Bug ID: 254651
           Summary: Failed to translate resource 0-ffffffffffffffff type 3
                    for ahci
           Product: Base System
           Version: 13.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm at FreeBSD.org
          Reporter: daniel at morante.net

Created attachment 223700
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223700&action=edit
R281-T91_13.0-RC3_dmesg.boot

When booting off any of the installation ISO images the OS is failing to load
or detect the onboard SATA controller.  I'm not sure exactly what this error
means.

The system is a new Gigabyte R281-T91.  It's a dual Cavium ThunderX2 ARM64 CPU,
and the controller having trouble is the "CN99xx [ThunderX2] Integrated
AHCI/SATA 3 Host Controller".

The full output of dmesg.boot and pciconf are attached, but here are the
relevant sections:

```
ahci0: <AHCI SATA controller> mem 0x42220000-0x4222ffff at device 16.0
numa-domain 0 on pci0
pcib0: Failed to translate resource 0-ffffffffffffffff type 3 for ahci0
ahci0: 0x10000 bytes of rid 0x18 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci0 attach returned 6
ahci0: <AHCI SATA controller> mem 0x42200000-0x4220ffff at device 16.1
numa-domain 0 on pci0
pcib0: Failed to translate resource 0-ffffffffffffffff type 3 for ahci0
ahci0: 0x10000 bytes of rid 0x18 res 3 failed (0, 0xffffffffffffffff).
device_attach: ahci0 attach returned 6
```

```
none0 at pci0:0:16:0:    class=0x010601 rev=0x00 hdr=0x00 vendor=0x14e4
device=0x9027 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controller'
    class      = mass storage
    subclass   = SATA
    cap 11[80] = MSI-X supports 4 messages
                 Table in map 0x18[0x0], PBA in map 0x18[0x8000]
    cap 09[90] = vendor (length 112)
none1 at pci0:0:16:1:    class=0x010601 rev=0x00 hdr=0x00 vendor=0x14e4
device=0x9027 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controller'
    class      = mass storage
    subclass   = SATA
    cap 11[80] = MSI-X supports 4 messages
                 Table in map 0x18[0x0], PBA in map 0x18[0x8000]
    cap 09[90] = vendor (length 112)
```

The problem occurs on 13.0-RC3 and 13.0-RC4. I also see it occurring on a
14.0-CURRENT snapshot from 2021-Mar-18.  On 12.2-RELEASE it just kernel panics
when trying to load the driver.

For troubleshooting purposes I am able to install and boot the OS from a volume
attached to the onboard LSI SAS RAID controller (after doing "kldload mpr").

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


More information about the freebsd-arm mailing list