Sunday, April 07, 2024

Re: OpenBSD 7.5 bsd.upgrade hangs after sysupgrade

Страхиња Радић <contact@strahinja.org> writes:

> As a follow-up to my previous post, after rereading [1], I tried to compare the
> status of radeondrm, efifb and amdgpu in 7.4 /bsd boot and 7.5 /bsd.upgrade
> boot. I got this (manually retyped to avoid large attachments):
>
> 1. The result of entering `boot -c` at the `boot>` prompt with /bsd.upgrade not
> having the execute bit (so 7.4 /bsd would boot by default):
>
> OpenBSD 7.4 (GENERIC.MP) #1397: Tue Oct 10 09:02:37 MDT 2023
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 6277246976 (5986MB)
> avail mem = 6067273728 (5786MB)
> User Kernel Config
> UKC> find radeondrm
> 242 radeondrm* at pci* dev -1 function -1 flags 0x0
> UKC> find efifb
> 59 efifb0 at mainbus0 apid -1 flags 0x0
> UKC> find amdgpu
> 243 amdgpu* at pci* dev -1 function -1 flags 0x0
> UKC>
>
> 2. The result of entering `boot -c` at the `boot>` prompt with /bsd.upgrade
> having the execute bit set (so 7.5 /bsd.upgrade would boot by default):
>
> OpenBSD 7.5 (RAMDISK_CD) #76: Wed Mar 20 15:53:54 MDT 2024
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> real mem = 6277246976 (5986MB)
> avail mem = 6082772992 (5800MB)
> User Kernel Config
> UKC> find radeondrm
> UKC> find efifb
> 41 efifb0 at mainbus0 apid -1 flags 0x0
> UKC> find amdgpu
> UKC>
>
> So it seems that 7.5 /bsd.upgrade doesn't detect nor configure the radeondrm
> and amdgpu devices?

Here, you are comparing GENERIC.MP kernel with RAMDISK_CD kernel.

A RAMDISK_CD kernel is a reduced kernel with only what is necessary to
install openbsd. radeondrm and amdgpu are NOT part of it, and it is
expected.

--
Sebastien Marie

No comments:

Post a Comment