Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 02:14:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 254651] Failed to translate resource 0-ffffffffffffffff type 3 for ahci
Message-ID:  <bug-254651-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254651

            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@FreeBSD.org
          Reporter: daniel@morante.net

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

When booting off any of the installation ISO images the OS is failing to lo=
ad
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@pci0:0:16:0:    class=3D0x010601 rev=3D0x00 hdr=3D0x00 vendor=3D0x14e4
device=3D0x9027 subvendor=3D0x0000 subdevice=3D0x0000
    vendor     =3D 'Broadcom Inc. and subsidiaries'
    device     =3D 'CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controll=
er'
    class      =3D mass storage
    subclass   =3D SATA
    cap 11[80] =3D MSI-X supports 4 messages
                 Table in map 0x18[0x0], PBA in map 0x18[0x8000]
    cap 09[90] =3D vendor (length 112)
none1@pci0:0:16:1:    class=3D0x010601 rev=3D0x00 hdr=3D0x00 vendor=3D0x14e4
device=3D0x9027 subvendor=3D0x0000 subdevice=3D0x0000
    vendor     =3D 'Broadcom Inc. and subsidiaries'
    device     =3D 'CN99xx [ThunderX2] Integrated AHCI/SATA 3 Host Controll=
er'
    class      =3D mass storage
    subclass   =3D SATA
    cap 11[80] =3D MSI-X supports 4 messages
                 Table in map 0x18[0x0], PBA in map 0x18[0x8000]
    cap 09[90] =3D 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 pan=
ics
when trying to load the driver.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254651-7>