Date: Sat, 14 Oct 2023 15:05:22 +0200 From: Daniel Engberg <daniel.engberg.lists@pyret.net> To: freebsd-current@freebsd.org Subject: Re: AMD Zen 4 (Ryzen 7000) resource allocation issues (on 14.0) Message-ID: <cf451c52b7974d96f91da41e8cf3ac4b@mail.infomaniak.com> In-Reply-To: <f62a4a2cc2f773e46d4769bb2a5d8e77@mail.infomaniak.com> References: <f62a4a2cc2f773e46d4769bb2a5d8e77@mail.infomaniak.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--_=_swift_1697288722_cd716282394d8355858d63566797c769_=_ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-10-14T13:07:11.000+02:00, Daniel Engberg <daniel.engberg.lists@py= ret.net> wrote: >=C2=A0Hi, >=C2=A0 >=C2=A0After=C2=A0updating= =C2=A0BIOS=C2=A0on=C2=A0my=C2=A0Asus=C2=A0motherboard=C2=A0(ProArt=C2=A0X67= 0E-CREATOR >=C2=A0WIFI)=C2=A0the=C2=A0kernel=C2=A0fails=C2=A0to=C2=A0allo= cate=C2=A0resources=C2=A0for=C2=A0a=C2=A0bunch=C2=A0of=C2=A0devices >= =C2=A0including=C2=A0USB=C2=A0and=C2=A0built-in=C2=A0SATA.=C2=A0This=C2= =A0behaviour=C2=A0is=C2=A0also=C2=A0observed=C2=A0on >=C2=A0at=C2=A0least= =C2=A0ASRock=C2=A0boards=C2=A0too=C2=A0so=C2=A0it=C2=A0doesn't=C2=A0seem= =C2=A0to=C2=A0be=C2=A0a=C2=A0specific=C2=A0issue >=C2=A0to=C2=A0one=C2= =A0manufacturer=C2=A0or=C2=A0model.=C2=A0If=C2=A0anyone=C2=A0has=C2=A0any= =C2=A0ideas=C2=A0how=C2=A0to=C2=A0fix >=C2=A0this=C2=A0I'd=C2=A0be=C2= =A0grateful. >=C2=A0 >=C2=A0I've=C2=A0tried=C2=A0turning=C2=A0off=C2= =A0and=C2=A0on=C2=A0"Fast=C2=A0boot"=C2=A0in=C2=A0BIOS=C2=A0without=C2= =A0any >=C2=A0success,=C2=A0enabing=C2=A0SR-IOV=C2=A0makes=C2=A0the=C2= =A0kernel=C2=A0hang=C2=A0during=C2=A0boot. >=C2=A0 >=C2=A0dmesg=C2= =A0with=C2=A0older=C2=A0bios=C2=A0(working): >=C2=A0 >=C2=A0https://for= ums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656= /page-2#post-620854 >=C2=A0 >=C2=A0dmesg=C2=A0with=C2=A0new=C2=A0bios= =C2=A0(not=C2=A0working): >=C2=A0 >=C2=A0https://reviews.freebsd.org/P6= 12 >=C2=A0 >=C2=A0Related=C2=A0PR: >=C2=A0 >=C2=A0https://bugs.free= bsd.org/bugzilla/show_bug.cgi?id=3D272507 >=C2=A0 >=C2=A0If=C2=A0you= =C2=A0need=C2=A0to=C2=A0more=C2=A0information=C2=A0or=C2=A0testing=C2=A0jus= t=C2=A0ask=C2=A0and=C2=A0please=C2=A0CC=C2=A0me >=C2=A0when=C2=A0replying= . >=C2=A0 >=C2=A0Best=C2=A0regards, >=C2=A0 >=C2=A0Daniel In a= ddition to the above, 13.2-RELEASE fails in the same way, also 15.0-CURRE= NT (20231005-8818f0f1124e-265728). In addition to that, USB also fails to= init so USB devices won't work once the kernel boots. Best regards,= Daniel --_=_swift_1697288722_cd716282394d8355858d63566797c769_=_ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <div>On 2023-10-14T13:07:11.000+02:00, Daniel Engberg <daniel.engberg.li= sts@pyret.net> wrote:<br></div><div class=3D"ik_mail_quote answerContent= Message"><blockquote class=3D"ws-ng-quote"><div class=3D"ws-ng-mail-style--= 691eJwLTs0rAQADzwGb"><div><br></div><div>Hi,<br></div><div><div><br></div><= div>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 boar= ds too so it doesn't seem to be a specific issue to one manufacturer o= r model. If anyone has any ideas how to fix this I'd be grateful.<br></div>= <div><br></div><div>I've tried turning off and on "Fast boot" in BIOS witho= ut any success, enabing SR-IOV makes the kernel hang during boot.<br></div>= <div><br></div><div>dmesg with older bios (working):<br></div><div><a data-= ik=3D"ik-secure" rel=3D"noopener noreferrer" href=3D"https://forums.freebsd= .org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/page-2#pos= t-620854" class=3D"defaultMailLink" target=3D"_blank">https://forums.freebs= d.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/page-2#po= st-620854</a><br></div></div><div><br></div><div>dmesg with new bios (not w= orking):<br></div><div><a data-ik=3D"ik-secure" rel=3D"noopener noreferrer"= href=3D"https://reviews.freebsd.org/P612" class=3D"defaultMailLink" target= =3D"_blank">https://reviews.freebsd.org/P612</a><br></div><div><br></div><d= iv>Related PR:<br></div><div><a data-ik=3D"ik-secure" rel=3D"noopener noref= errer" href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272507" = class=3D"defaultMailLink" target=3D"_blank">https://bugs.freebsd.org/bugzil= la/show_bug.cgi?id=3D272507</a><br></div><div><br></div><div>If you need to= more information or testing just ask and please CC me when replying.<br></= div><div><br></div><div>Best regards,<br></div><div>Daniel<br></div></div><= /blockquote></div><div><br></div><div>In addition to the above, 13.2-RELEAS= E 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.</div><div><br></div><div>Best regards,<br></div><div>Dani= el<br></div> --_=_swift_1697288722_cd716282394d8355858d63566797c769_=_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf451c52b7974d96f91da41e8cf3ac4b>