On Fri, Apr 30, 2021 at 01:51:11PM +0200, Peter N. M. Hansteen wrote: > On Fri, Apr 30, 2021 at 12:00:05PM +1000, Jonathan Gray wrote: > > > > If you can build a kernel on another machine try > > > > Index: sys/dev/acpi/acpi.c > > =================================================================== > > RCS file: /cvs/src/sys/dev/acpi/acpi.c,v > > retrieving revision 1.397 > > diff -u -p -r1.397 acpi.c > > --- sys/dev/acpi/acpi.c 15 Mar 2021 22:44:57 -0000 1.397 > > +++ sys/dev/acpi/acpi.c 30 Apr 2021 01:57:00 -0000 > > @@ -262,6 +262,11 @@ acpi_gasio(struct acpi_softc *sc, int io > > dnprintf(50, "gasio: %.2x 0x%.8llx %s\n", > > iospace, address, (iodir == ACPI_IOWRITE) ? "write" : "read"); > > > > + if (access_size == 0) { > > + printf("%s: invalid size 0\n", DEVNAME(sc)); > > + return -1; > > + } > > + > > KASSERT((len % access_size) == 0); > > > > pb = (uint8_t *)buffer; > > I'm building with that now on the older machine. I wonder, is this change > small and non-intrusive enough that we could hope it makes it into an amd64 > snapshot soon? > > (I fully appreciate why developers want faster machines :)) > > - Peter
If you can boot bsd.rd you should be able to mount / and fetch a kernel over http without having to build a snapshot. Or perhaps boot -c and disable acpicpu* if that doesn't break anything.