From owner-freebsd-arm@freebsd.org Tue Mar 30 02:14:26 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4AB535B57BB for ; Tue, 30 Mar 2021 02:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8Y0y1bN5z3Kdg for ; Tue, 30 Mar 2021 02:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 29B9A1E628 for ; Tue, 30 Mar 2021 02:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12U2EQJc075280 for ; Tue, 30 Mar 2021 02:14:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12U2EQ5Z075279 for freebsd-arm@FreeBSD.org; Tue, 30 Mar 2021 02:14:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254651] Failed to translate resource 0-ffffffffffffffff type 3 for ahci Date: Tue, 30 Mar 2021 02:14:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: daniel@morante.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 02:14:26 -0000 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: 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: 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.=