From nobody Tue Jan 17 00:26:34 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NwqSq14mKz2sp2w for ; Tue, 17 Jan 2023 00:26:35 +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 4NwqSp30j1z4JSF for ; Tue, 17 Jan 2023 00:26:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673915194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vJzhr1uwbVfbAhOuUmALE2ls2nZeoy9tY+q1nPI6gXE=; b=ImtIITHCya6X2t2KCIXtC9V9KGI0YhsX7IpLvyVKxvay0iHmV3VKuzrFVXSQ9+IHtsV5aL KM2jukmJnS6cdeHkbdtZyLc1mZoSHAYKB+UQnT4K9B7ySHWJew7ziyZ0b9BnQZb+3/EvA/ /WE/2l3LaOQqEa+pTODUi7FeHD9Zc2yoNKAcvswEh/29Y2h21GFqvAv/YRdnRl1fh5tR8n cwkHMhqexjKeAtMtFTjC9vIhC440tA/Kgi+4j2bEkDuPy19CyPA2ax6OsrOHbB+PdheP1Z HpzdXcsX2970OWbPelYuX5mzv6F9ilIEMXowRiNf2KnjtcIrI9KfMlaURwfpew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673915194; a=rsa-sha256; cv=none; b=MjCsTeslu/PA39ObvIKvOj0A+vxCW9PU1jncj+aaN3fGWiYqr1GK4NSCxclw9256goC2fX j5TLFG6vK+FiJr8imjMbPdM1RePDWPTC9R6G1n725tjRZe+rFecDlplW+uDNsolJ9ImaEW Xpb5CcJTpABh1bksZVAU2EMcYuf49SNWCy7n0OA5xCWafahkf0CtQDRtZnkO/LzEZNGKCy Bg2ZUXynQIb8DDDRSNoYRVzaXeHdOSrhjt/q6gN+GEmYnt6AT8mmt1Q/cajBnMazGuM1ph 5NH275s7co1pu7cVRSB1ZuVLKjIi3VFDfvXpOJoi9ulqtDQWiN+8hqzXZvc14g== 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 4NwqSp1qTbz1QFn for ; Tue, 17 Jan 2023 00:26:34 +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 30H0QYR8018669 for ; Tue, 17 Jan 2023 00:26:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30H0QYUI018668 for freebsd-arm@FreeBSD.org; Tue, 17 Jan 2023 00:26:34 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 268995] Hardware Probe dies on pci_host_generic_core_alloc_resource FAIL Date: Tue, 17 Jan 2023 00:26:34 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268995 Bug ID: 268995 Summary: Hardware Probe dies on pci_host_generic_core_alloc_resource FAIL Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: daniel@morante.net Created attachment 239519 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239519&action= =3Dedit Failed Boot Log Booting the latest snapshot of 14-CURRENT for aarch64 on my system fails du= ring hardware probe. The system is a Gigbyte R281-T91. Hardware probe dies on the following lines and causes the system to halt: ``` pcib0: numa-domain 0 on acpi0 pci0: numa-domain 0 on pcib0 pcib0: pci_host_generic_core_alloc_resource FAIL: type=3D3, rid=3D24, start=3D4224100042230000, end=3D422410004223ffff, count=3D0000000000010000, flags=3D4040 pcib0: pci_host_generic_core_alloc_resource FAIL: type=3D3, rid=3D24, start=3D4224000042210000, end=3D422400004221ffff, count=3D0000000000010000, flags=3D4040 pcib1: irq 269 at device 1.0 numa-domain 0 on pci0 pci1: numa-domain 0 on pcib1 pcib2: irq 270 at device 2.0 numa-domain 0 on pci0 pci2: numa-domain 0 on pcib2 pcib3: irq 271 at device 3.0 numa-domain 0 on pci0 pci3: numa-domain 0 on pcib3 pcib4: irq 272 at device 4.0 numa-domain 0 on pci0 pci4: numa-domain 0 on pcib4 pcib5: irq 273 at device 5.0 numa-domain 0 on pci0 pci5: numa-domain 0 on pcib5 pcib6: irq 274 at device 6.0 numa-domain 0 on pci0 pci6: numa-domain 0 on pcib6 pcib7: at device 7.0 numa-domain 0 on pci0 pci7: numa-domain 0 on pcib7 pci7: at device 0.0 (no driver attached) pci7: at device 0.1 (no driver attached) pcib8: irq 275 at device 8.0 numa-domain 0 on pci0 pci8: numa-domain 0 on pcib8 pcib9: irq 276 at device 9.0 numa-domain 0 on pci0 pci9: numa-domain 0 on pcib9 pcib10: irq 277 at device 10.0 numa-domain 0 on pci0 pci10: numa-domain 0 on pcib10 pcib11: at device 11.0 numa-domain 0 on pci0 pci11: numa-domain 0 on pcib11 pci11: at device 0.0 (no driver attached) pci11: at device 0.1 (no driver attached) pcib12: at device 12.0 numa-domain 0 on pci0 pcib0: pci_host_generic_core_alloc_resource FAIL: type=3D3, rid=3D32, start=3D0000000040000000, end=3D00000000420fffff, count=3D0000000002100000,= flags=3D0 pcib12: failed to allocate initial memory window: 0x40000000-0x420fffff ``` Full boot log is attached as `14-CURRENT-bd93b5f79ab4.log`. The breaking commit is: https://cgit.freebsd.org/src/commit/?id=3Dbd93b5f79ab489fb0ed6ab25d6be48242= eb8c028 Commits prior to that do not result in the described behavior. Prior to the commit the hardware probe would display the following: ``` 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 ``` A full log of a successful boot is also attached as `14-CURRENT-818cae0ff752.log` --=20 You are receiving this mail because: You are the assignee for the bug.=