From nobody Sat Oct 14 11:07:11 2023 X-Original-To: freebsd-current@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 4S70vW29dXz4xckk for ; Sat, 14 Oct 2023 11:07:19 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from smtp-bc0c.mail.infomaniak.ch (smtp-bc0c.mail.infomaniak.ch [45.157.188.12]) (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 (2048 bits) client-digest SHA256) (Client CN "relay.mail.infomaniak.ch", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S70vT3QfKz3HVY for ; Sat, 14 Oct 2023 11:07:17 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pyret.net header.s=20231006 header.b=mqbdWMXH; spf=pass (mx1.freebsd.org: domain of daniel.engberg.lists@pyret.net designates 45.157.188.12 as permitted sender) smtp.mailfrom=daniel.engberg.lists@pyret.net; dmarc=pass (policy=reject) header.from=pyret.net Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4S70vN1R6bzMpvQs for ; Sat, 14 Oct 2023 11:07:12 +0000 (UTC) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4S70vM6R8xz3Z for ; Sat, 14 Oct 2023 13:07:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pyret.net; s=20231006; t=1697281632; bh=QY3rjCS6ph0xSmLjVbfzLVO3xM0dP1oNgy4DpBJFJrM=; h=Date:Subject:From:Reply-To:To:From; b=mqbdWMXHzEWQjOjoXADIsBmifA8FFA2+TN87HbxV5B0rEYLCrR1rHBUOb6XulVgZt 19BN/8vfMUE7S3RJ1LHnasSwA/rRKgGvJNGBSI1V8an7LsONUI2v51KKTB94QZjkwF tNJnrFsvTgPZORvjOatb3FJjdlMXxvG+yKNG+3lyCeCJFOrY0P93NDrbkpGgkL04xU fQo452EmdhdbieifughliUQlYSOr+8Qboecu4RMJ4LTv4Gqrf0X/varsNq/EIq1DkP kgw8s5LZP0sA8hEbqGGDmhuIsKcRZO/Z5M+AxXMA70SmJNLdrDn0WEYX/j1Y2EkAXF 2Kwy0LRs8bU+Q== Message-ID: Date: Sat, 14 Oct 2023 13:07:11 +0200 Subject: AMD Zen 4 (Ryzen 7000) resource allocation issues (on 14.0) From: Daniel Engberg Reply-To: Daniel Engberg To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_=_swift_1697281631_d4351fc410acd4aad135b08fb6150933_=_" X-WS-User-Origin: eyJpdiI6ImI1UXFXaFRmM2lUZmpRTFdhNGg4RVE9PSIsInZhbHVlIjoiSGV3UmNjcGtBZG9ZeFVtUHYyaWYwUT09IiwibWFjIjoiYjNhMGRjZmVkMmQ4OGI0OTdiZTE1MTFlNDFjYzVhZjc5ZTc2Y2Y2OGI4ZmM1MGQ0MGExNmIyYzBjZmM5NTI5MSIsInRhZyI6IiJ9 X-WS-User-Mbox: eyJpdiI6Ik5vcUxuWEIwZUNqa05xV25NNmFYb1E9PSIsInZhbHVlIjoiTG41czd2RGxiNmVVZkZSNTU1c2hkUT09IiwibWFjIjoiNWYxZWM2MGRlODhkMzQ3Mzg0Mzc2ZDc2NTBjODBjNDQxYzlkZDA4MThlOWJjOWZjNzA4YzFlMmEyYTFlM2E1ZCIsInRhZyI6IiJ9 X-WS-Location: eJxzKUpMKykGAAfpAmU- X-Mailer: Infomaniak Workspace (1.3.569) X-Infomaniak-Routing: alpha X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[pyret.net,reject]; RWL_MAILSPIKE_EXCELLENT(-0.40)[45.157.188.12:from]; R_DKIM_ALLOW(-0.20)[pyret.net:s=20231006]; R_SPF_ALLOW(-0.20)[+ip4:45.157.188.8/29]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[45.157.188.12:from]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:29222, ipnet:45.157.188.0/22, country:CH]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; REPLYTO_EQ_FROM(0.00)[]; DKIM_TRACE(0.00)[pyret.net:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_REPLYTO(0.00)[daniel.engberg.lists@pyret.net] X-Rspamd-Queue-Id: 4S70vT3QfKz3HVY --_=_swift_1697281631_d4351fc410acd4aad135b08fb6150933_=_ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, After updating BIOS on my Asus motherboard (ProArt X670E-CREATOR W= IFI) the kernel fails to allocate resources for a bunch of devices incl= uding USB and built-in SATA. This behaviour is also observed on at least = ASRock boards too so it doesn't seem to be a specific issue to one=C2= =A0manufacturer or model. If anyone has any ideas how to fix this I'd be = grateful. I've tried turning off and on "Fast boot" in BIOS without an= y success, enabing SR-IOV makes the kernel hang during boot. dmesg w= ith older bios (working): https://forums.freebsd.org/threads/sata-driv= es-show-in-bios-but-wont-show-in-dev.89656/page-2#post-620854 dmesg wi= th new bios (not working): https://reviews.freebsd.org/P612 Relat= ed PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272507 = If you need to more information or testing just ask and please CC me w= hen replying. Best regards, Daniel --_=_swift_1697281631_d4351fc410acd4aad135b08fb6150933_=_ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

After updating B= IOS on my Asus motherboard (ProArt X670E-CREATOR WIFI) the kernel fails to = allocate resources for a bunch of devices including USB and built-in SATA. = This behaviour is also observed on at least ASRock boards too so it doesn't= seem to be a specific issue to one manufacturer or model. If anyone h= as any ideas how to fix this I'd be grateful.

= I've tried turning off and on "Fast boot" in BIOS without any success, enab= ing SR-IOV makes the kernel hang during boot.

= dmesg with older bios (working):

<= /div>
dmesg with new bios (not working):
=

Related PR:

If you need to m= ore information or testing just ask and please CC me when replying.

Best regards,
Daniel

=
--_=_swift_1697281631_d4351fc410acd4aad135b08fb6150933_=_--