Re: FreeBSD wont boot on AMD Ryzen 9 7950X

2023-05-20 Thread Greg 'groggy' Lehey
On Saturday, 20 May 2023 at 17:15:25 -0400, Mike Jakubik wrote:
> On Sat, May 20, 2023 at 4:49 PM Yuri  wrote:
>> Mike Jakubik wrote:
>>>
>>> Thanks for the info. At least I know it's not specific to my parts. Is
>>> there any knob one can turn in the BIOS to enable/disable this feature?
>>> iirc UART is old school serial ports? Wonder if removing UART support
>>> from the kernel would be a workaround.
>>
>> Try the following from the loader prompt (option 3 from the beastie menu):
>>
>> set hint.uart.0.disabled=1
>> set hint.uart.1.disabled=1
>> boot
>
> That did the job!

Good to hear.  But it's a workaround, of course.  I hope you have
entered a PR so that somebody can fix the problem.

Greg
--
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA.php


signature.asc
Description: PGP signature


Re: FreeBSD wont boot on AMD Ryzen 9 7950X

2023-05-20 Thread Warner Losh
On Sat, May 20, 2023, 5:15 PM Mike Jakubik  wrote:

> Yuri,
>
> That did the job! I assume this could be set in sysctl.conf or something
> similar post-install?
>

Yup. Put them in /boot/loader.conf

Warner

Thanks!
>
> On Sat, May 20, 2023 at 4:49 PM Yuri  wrote:
>
>> Mike Jakubik wrote:
>> > Hello,
>> >
>> > Thanks for the info. At least I know it's not specific to my parts. Is
>> > there any knob one can turn in the BIOS to enable/disable this feature?
>> > iirc UART is old school serial ports? Wonder if removing UART support
>> > from the kernel would be a workaround.
>>
>> Try the following from the loader prompt (option 3 from the beastie menu):
>>
>> set hint.uart.0.disabled=1
>> set hint.uart.1.disabled=1
>> boot
>>
>>


Re: FreeBSD wont boot on AMD Ryzen 9 7950X

2023-05-20 Thread Mike Jakubik
Yuri,

That did the job! I assume this could be set in sysctl.conf or something
similar post-install?

Thanks!

On Sat, May 20, 2023 at 4:49 PM Yuri  wrote:

> Mike Jakubik wrote:
> > Hello,
> >
> > Thanks for the info. At least I know it's not specific to my parts. Is
> > there any knob one can turn in the BIOS to enable/disable this feature?
> > iirc UART is old school serial ports? Wonder if removing UART support
> > from the kernel would be a workaround.
>
> Try the following from the loader prompt (option 3 from the beastie menu):
>
> set hint.uart.0.disabled=1
> set hint.uart.1.disabled=1
> boot
>
>


Re: FreeBSD wont boot on AMD Ryzen 9 7950X

2023-05-20 Thread Yuri
Mike Jakubik wrote:
> Hello,
> 
> Thanks for the info. At least I know it's not specific to my parts. Is
> there any knob one can turn in the BIOS to enable/disable this feature?
> iirc UART is old school serial ports? Wonder if removing UART support
> from the kernel would be a workaround.

Try the following from the loader prompt (option 3 from the beastie menu):

set hint.uart.0.disabled=1
set hint.uart.1.disabled=1
boot



Re: FreeBSD wont boot on AMD Ryzen 9 7950X

2023-05-20 Thread Mike Jakubik
Hello,

Thanks for the info. At least I know it's not specific to my parts. Is
there any knob one can turn in the BIOS to enable/disable this feature?
iirc UART is old school serial ports? Wonder if removing UART support from
the kernel would be a workaround.

Thanks.

On Sat, May 20, 2023 at 4:23 PM Spotlight 
wrote:

> Hi,
>
> I have a Ryzen 7 7700X with an ASRock X670E Pro RS (a similar board) and
> it appears to encounter the same issue across 12/13/14. I narrowed it down to
> an issue possibly involving UART initialization - modifying source to have
> uart_bus_probe/ns8250_probe immediately return ENXIO allowed boot to
> continue without further issue.
>
> Unfortunately I have been too busy to further debug why, or properly file
> an issue. OpenBSD, NetBSD and DragonFly BSD do not encounter this problem
> like FreeBSD does. Hopefully these details can help to better pinpoint :)
>
> Best,
> Spotlight
>
> On May 20, 2023, at 14:28, Mike Jakubik  wrote:
>
> Hi,
>
> I have a new desktop built with a  Ryzen 9 7950X CPU, ASRock X670E Taichi
> MB (Latest BIOS), 64GB G.Skill DDR5 mem, and an AMD Radeon RX 7900 XTX. I
> have tried both snapshots of 13 and 14, and they both lock up in the same
> area when booting (cpu0:  on acpi0). No crashes or errors,  but I
> need to hit the reset button. It works with Windows 11 just fine. Any
> ideas? Below is a link to a screenshot of the boot screen and where it
> stops.
>
> https://photos.app.goo.gl/V6zMs58Qd66qeaQr6
>
> Thanks.
>
>
>


Re: FreeBSD wont boot on AMD Ryzen 9 7950X

2023-05-20 Thread Spotlight
Hi,

I have a Ryzen 7 7700X with an ASRock X670E Pro RS (a similar board) and it 
appears to encounter the same issue across 12/13/14. I narrowed it down to an 
issue possibly involving UART initialization - modifying source to have 
uart_bus_probe/ns8250_probe immediately return ENXIO allowed boot to continue 
without further issue.

Unfortunately I have been too busy to further debug why, or properly file an 
issue. OpenBSD, NetBSD and DragonFly BSD do not encounter this problem like 
FreeBSD does. Hopefully these details can help to better pinpoint :)

Best,
Spotlight

> On May 20, 2023, at 14:28, Mike Jakubik  wrote:
> 
> Hi,
> 
> I have a new desktop built with a  Ryzen 9 7950X CPU, ASRock X670E Taichi MB 
> (Latest BIOS), 64GB G.Skill DDR5 mem, and an AMD Radeon RX 7900 XTX. I have 
> tried both snapshots of 13 and 14, and they both lock up in the same area 
> when booting (cpu0:  on acpi0). No crashes or errors,  but I need 
> to hit the reset button. It works with Windows 11 just fine. Any ideas? Below 
> is a link to a screenshot of the boot screen and where it stops.
> 
> https://photos.app.goo.gl/V6zMs58Qd66qeaQr6
> 
> Thanks.