Sunday, January 29, 2023

Re: Recent problem when compiling GENERIC.MP

On 2023-01-29, Leonardo Moreno <leonardo.moreno.urbieta@gmail.com> wrote:
> That was it. I used make clean and was able to compile.
>
> I feel guilty for not doing it before.
>
> Thanks!
>
> 2 reasons why I don't use a snapshot.
>
> 1) When updating to the most recent snapshot, the installer
> doesn't seem to recognize the multi-core processor and uses bsd instead
> of bsd.mp. I then have to build GENERIC.MP and the rest of the cores are
> recognized.
>
> I'm multi-booting with REFIND (Linux & OpenBSD). I don't know if that may be the cause.

That's unexpected.

The installer code around this is fairly simple, it checks sysctl hw.ncpu,
if >1 cpu is seen then it adds bsd.mp to the list of files to fetch by
default, then as long as that was fetched it installs it as /bsd.

I use rEFInd to dual-boot on my laptop and don't have problems with that,
so I think the cause is different.

> 2) I wrote a driver that allows me to control the display backlight using wsconsctl.
> Building the kernel is the only way I know to add this driver.

Fair enough, that's a good reason :)

No comments:

Post a Comment