helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
805 stars 58 forks source link

acpi_video: module already loaded or in kernel #401

Open grahamperrin opened 1 year ago

grahamperrin commented 1 year ago

helloSystem 0.7.0, FreeBSD 13.0-RELEASE-p13:

acpi_video

kldload: can't load acpi_video: module already loaded or in kernel

https://github.com/helloSystem/ISO/commit/b158ece4249c961d26298a372664b7832f69ce4d#diff-ed559147af536020ba4ab28e08b4965092f7c5266c97d2c6e64c62ab10af4c4fR59-R68

https://github.com/helloSystem/ISO/commit/b158ece4249c961d26298a372664b7832f69ce4d#diff-ed559147af536020ba4ab28e08b4965092f7c5266c97d2c6e64c62ab10af4c4fR59-R68

probonopd commented 1 year ago

Thanks @grahamperrin. Do you know what the solution would be?

grahamperrin commented 1 year ago

If the module is already loaded or in kernel, then do the linked parts of overlays/uzip/hello/files/etc/rc.d/load_acpi (loading the module) make sense?

probonopd commented 1 year ago

The question is, how can we find out whether the module is already loaded (and why) or in the kernel?

grahamperrin commented 1 year ago

(and why)

Try debug.verbose_sysinit=1 in loader.conf(5).

https://github.com/freebsd/freebsd-src/commit/c7962400c9a7500eed8822218cae6e8ec7ac0c2d

Postscript: that'll not work in distributions that are based on STABLE or RELEASE.

https://github.com/freebsd/freebsd-src/commit/be352d20d5198f55ed91c3805d5e7272b3f636a7turned off in stable branches …, so no VERBOSE_SYSINIT in releng/13.0 at https://github.com/freebsd/freebsd-src/blob/releng/13.0/sys/amd64/conf/GENERIC, and so on.

grahamperrin commented 1 year ago

kldload: can't load acpi_video: module already loaded or in kernel

I don't see this with an installation of experimental-14.0-0.8.0_0H77:

image