Date: Sat, 14 Oct 2023 16:29:41 +0200 From: Daniel Engberg <daniel.engberg.lists@pyret.net> To: garyj@gmx.de Cc: freebsd-current@freebsd.org Subject: Re: AMD Zen 4 (Ryzen 7000) resource allocation issues (on 14.0) Message-ID: <39208aff4c6519a80ca0741e41810fc8@mail.infomaniak.com> In-Reply-To: <20231014161204.7845849b@ernst.home> References: <f62a4a2cc2f773e46d4769bb2a5d8e77@mail.infomaniak.com> <cf451c52b7974d96f91da41e8cf3ac4b@mail.infomaniak.com> <20231014161204.7845849b@ernst.home>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2023-10-14T16:12:04.000+02:00, Gary Jennejohn <garyj@gmx.de> wrote: > On Sat, 14 Oct 2023 15:05:22 +0200 > > Daniel Engberg <daniel.engberg.lists@pyret.net> wrote: > >> On 2023-10-14T13:07:11.000+02:00, Daniel Engberg >> >> <daniel.engberg.lists@pyret.net> wrote: >> >>> Hi, >>> >>> After updating BIOS 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 has any ideas how to >>> fix >>> >>> this I'd be grateful. >>> >>> I've tried turning off and on "Fast boot" in BIOS without any >>> >>> success, enabing SR-IOV makes the kernel hang during boot. >>> >>> dmesg with older bios (working): >>> >>> https://forums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/page-2#post-620854 >>> >>> dmesg with new bios (not working): >>> >>> https://reviews.freebsd.org/P612 >>> >>> Related PR: >>> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272507 >>> >>> If you need to more information or testing just ask and please >>> CC me >>> >>> when replying. >>> >>> Best regards, >>> >>> Daniel >> >> In addition to the above, 13.2-RELEASE fails in the same way, >> also >> >> 15.0-CURRENT (20231005-8818f0f1124e-265728). In addition to that, >> USB >> >> also fails to init so USB devices won't work once the kernel >> boots. > > Considering that none of the current FreeBSD versions work I suspect > > that you'll have to flash the previous BIOS version to get a working > > system again. > > -- > > Gary Jennejohn Hi, That's true although I'm going to guess it's going to be an ongoing issue as at least one user with an ASRock board also has similar issues (see PR). Looking into if downgrade is possible too. Best regards, Daniel [-- Attachment #2 --] <div><br></div><div ><div><br></div></div><div><br></div><div class="ik_mail_quote answerContentMessage"><div>On 2023-10-14T16:12:04.000+02:00, Gary Jennejohn <garyj@gmx.de> wrote:<br></div><blockquote class="ws-ng-quote"><pre style="white-space: normal;"><div>On Sat, 14 Oct 2023 15:05:22 +0200<br></div><div>Daniel Engberg <<a href="mailto:daniel.engberg.lists@pyret.net" class="defaultMailLink">daniel.engberg.lists@pyret.net</a>> wrote:<br></div><div><br></div><blockquote class="ws-ng-quote"><div> On 2023-10-14T13:07:11.000+02:00, Daniel Engberg<br></div><div> <<a href="mailto:daniel.engberg.lists@pyret.net" class="defaultMailLink">daniel.engberg.lists@pyret.net</a>> wrote:<br></div><div><br></div><blockquote class="ws-ng-quote"><div> Hi,<br></div><div> <br></div><div> After updating BIOS on my Asus motherboard (ProArt X670E-CREATOR<br></div><div> WIFI) the kernel fails to allocate resources for a bunch of devices<br></div><div> including USB and built-in SATA. This behaviour is also observed on<br></div><div> at least ASRock boards too so it doesn't seem to be a specific issue<br></div><div> to one manufacturer or model. If anyone has any ideas how to fix<br></div><div> this I'd be grateful.<br></div><div> <br></div><div> I've tried turning off and on "Fast boot" in BIOS without any<br></div><div> success, enabing SR-IOV makes the kernel hang during boot.<br></div><div> <br></div><div> dmesg with older bios (working):<br></div><div> <br></div><div> <a href="https://forums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/page-2#post-620854" class="defaultMailLink" target="_blank" rel="noopener noreferrer" data-ik="ik-secure">https://forums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/page-2#post-620854</a><br></div><div> <br></div><div> dmesg with new bios (not working):<br></div><div> <br></div><div> <a href="https://reviews.freebsd.org/P612" class="defaultMailLink" target="_blank" rel="noopener noreferrer" data-ik="ik-secure">https://reviews.freebsd.org/P612</a><br></div><div> <br></div><div> Related PR:<br></div><div> <br></div><div> <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272507" class="defaultMailLink" target="_blank" rel="noopener noreferrer" data-ik="ik-secure">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272507</a><br></div><div> <br></div><div> If you need to more information or testing just ask and please CC me<br></div><div> when replying.<br></div><div> <br></div><div> Best regards,<br></div><div> <br></div><div> Daniel<br></div></blockquote><div> <br></div><div> In addition to the above, 13.2-RELEASE fails in the same way, also<br></div><div> 15.0-CURRENT (20231005-8818f0f1124e-265728). In addition to that, USB<br></div><div> also fails to init so USB devices won't work once the kernel boots.<br></div><div><br></div></blockquote><div> <br></div><div>Considering that none of the current FreeBSD versions work I suspect<br></div><div>that you'll have to flash the previous BIOS version to get a working<br></div><div>system again.<br></div><div><br></div><div>--<br></div><div>Gary Jennejohn<br></div></pre></blockquote></div><div>Hi,<br></div><div><br></div><div>That's true although I'm going to guess it's going to be an ongoing issue as at least one user with an ASRock board also has similar issues (see PR). Looking into if downgrade is possible too.<br></div><div><br></div><div>Best regards,<br></div><div>Daniel<br></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39208aff4c6519a80ca0741e41810fc8>
