From nobody Fri Jul 14 19:40:37 2023 X-Original-To: bugs@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 4R2hfF6sgSz4nCrP for ; Fri, 14 Jul 2023 19:40:37 +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 4R2hfF3Rfrz4XLc for ; Fri, 14 Jul 2023 19:40:37 +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=1689363637; 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=YtqpCKfjC2qyXuQnfZl7Lx8YP9R4NBEV5ZlOLk6IUSM=; b=OjpydGxm4zSJQ8LdkAcy5RcOstVugEzOQq8Cauk62exw8L6Mmce16TmTlrIlpE3sVUxic4 JMnRsbnvVEEeiG5bjgvKuA8Ws6jMQ7UJP53ksVT8zBJBOerAUDdYi/dShYL7sp59RRNXqc lLi9blEyMIgxvvukAb1w6LOMz3+aB1Mc+HHBjWMkAuCjLagRFw8IIKlSy2q9jMUlaHlP2V MoNWtgu5ScjkngglpENUpEk3s/pHWmOG4bWJ2iqC8PNGx7WLBseWRxr1D92LTaJ/LyiSDW 9p5qbr3YiAxwrci7IouYKaKgGX+D5wwekYOiDYT3JBfx6SpdPHNlojhDQNz3Iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689363637; a=rsa-sha256; cv=none; b=kKYOfMJ59vLaQx8+xR2H1+O9anJsuJMiagYGmpeTzp0TOGHIbS0EkoSZzS1vELrEL0gwZj q6hKd6ezAAiEDgVomRqhsBDUVF3mdI5ed/4kJCX5evdywk66J44inwFXkjfXIVLm3O4vZW D83YLpb3KJ/exEuw/kBscC7m4e2AjPFlt3/he9lriO9J47GX1CASwYw6FJKGVldo4xeDSa YyfMrgUBVKIrzHVH3qOd18gu2j0/y++k6aGbk/x//8lmHY+AmbGr1fGPSnAPzSxV5LxZxJ kpPCM/tNnECgwmWQjvkIDjaxp+WzXbfMhPTEqGYA1FomAaN4v22RgwRjuNKbpg== 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 4R2hfF2WTGzW49 for ; Fri, 14 Jul 2023 19:40:37 +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 36EJebMt026769 for ; Fri, 14 Jul 2023 19:40:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36EJebvn026768 for bugs@FreeBSD.org; Fri, 14 Jul 2023 19:40:37 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: bugs@FreeBSD.org Subject: [Bug 272507] SATA drives show in BIOS but won't show in /dev Date: Fri, 14 Jul 2023 19:40:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: justin@tocci.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272507 Bug ID: 272507 Summary: SATA drives show in BIOS but won't show in /dev Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: justin@tocci.org I have a new X670E Steel Legend motherboard and it's been working fine with SSDs for a couple months now but I never looked closely at dmesg until we t= ried to get the backups set up a few days ago.=20 SATA drives won't show in /dev but show up fine in BIOS. Here is a forum thread where others have posted info, some of which I will reproduce here. https://forums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-i= n-dev.89656/#post-616205 Dmesg output: ... acpi0: Firmware Error (ACPI): Failure creating named object [\134_SB.PCI0.GPP0._PR= W], AE_ALREADY_EXISTS (20201113/dswload2-480) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20201113/psobject-372) ... pcib2: at device 2.1 on pci0 pcib2: failed to allocate initial memory window: 0xfbe00000-0xfc8fffff ... ahci1: at device 0.0 on pci18 ahci1: 0x400 bytes of rid 0x24 res 3 failed (0, 0xffffffffffffffff). full dmesg is at forum link above. pciconf -lv output: none3@pci0:18:0:0: class=3D0x010601 rev=3D0x01 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x43f6 subvendor=3D0x1b21 subdevice=3D0x1062 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D mass storage subclass =3D SATA ... ahci0@pci0:20:0:0: class=3D0x010601 rev=3D0x01 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x43f6 subvendor=3D0x1b21 subdevice=3D0x1062 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D mass storage subclass =3D SATA full output at forum link above pciconf -lb pci0:18:0:0 output: none0@pci0:18:0:0: class=3D0x010601 rev=3D0x01 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x43f6 subvendor=3D0x1b21 subdevice=3D0x1062 bar [24] =3D type Memory, range 32, base 0xfbe80000, size 1024, enabl= ed pciconf -lb pci0:20:0:0 output: ahci0@pci0:20:0:0: class=3D0x010601 rev=3D0x01 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x43f6 subvendor=3D0x1b21 subdevice=3D0x1062 bar [24] =3D type Memory, range 32, base 0xfc580000, size 1024, enabl= ed I have updated bios from 1.11 (shipped) to 1.24 (latest non-beta available)= and the issue persists. A kind gentleman in the forum posted this explanation: The current (as in git head) ahci driver source code shows AMD devices up to 0x43b6, but doesn't cover 0x43f6 and shouldn't be attaching to it. Another gentleman chimed in with: Not really correct. It does not show up in the table of "known devices", but it's not required given the code in ahci_probe(): Code: /* Is this a possible AHCI candidate? */ if (pci_get_class(dev) =3D=3D PCIC_STORAGE && pci_get_subclass(dev) =3D=3D PCIS_STORAGE_SATA && pci_get_progif(dev) =3D=3D PCIP_STORAGE_SATA_AHCI_1_0) valid =3D 1; else if (pci_get_class(dev) =3D=3D PCIC_STORAGE && pci_get_subclass(dev) =3D=3D PCIS_STORAGE_RAID) valid =3D 2; ...and a third gentleman said to file a bug report.=20 I will try to be responsive to all requests. If you need physical access to= the machine contact me and we will do what we can. --=20 You are receiving this mail because: You are the assignee for the bug.=