Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
misc:acpi_patch [2025/04/27 01:28] – 92.40.46.249 | misc:acpi_patch [2025/04/29 00:10] (current) – rqm | ||
---|---|---|---|
Line 104: | Line 104: | ||
After you reboot, the new kernel should be the one in use. It will be easy to tell whether the patch worked, because if your system boots " | After you reboot, the new kernel should be the one in use. It will be easy to tell whether the patch worked, because if your system boots " | ||
+ | |||
+ | |||
---- | ---- | ||
+ | FIXME FIXME FIXME | ||
+ | PLEASE DISREGARD BELOW FOR THE TIME BEING, IT IS A WIP AND KNOWN TO BE INCORRECT. | ||
+ | FIXME FIXME FIXME | ||
+ | ---- | ||
+ | |||
=== II. The Custom Installer Way === | === II. The Custom Installer Way === | ||
Line 138: | Line 145: | ||
When updating it will skip " | When updating it will skip " | ||
< | < | ||
- | # cd / | + | # cd /usr/src/sys/dev/acpi/ |
# cvs update -C acpi.c | # cvs update -C acpi.c | ||
</ | </ | ||
Line 149: | Line 156: | ||
If the only two lines that differ are the ones you commented out with the above patch, just '' | If the only two lines that differ are the ones you commented out with the above patch, just '' | ||
- | You now need to build the kernel as above, but **without** running '' | + | === Download |
- | + | Fetch the release you are upgrading to, but without rebooting | |
- | You then need to fetch the release you are upgrading to, but without rebooting. | + | |
On '' | On '' | ||
Line 163: | Line 169: | ||
</ | </ | ||
- | Then sysupgrade | + | Sysupgrade |
+ | |||
+ | === Make and install the Ramdisk === | ||
+ | To build '' | ||
+ | < | ||
+ | $ doas -s | ||
+ | # cd / | ||
+ | # make obj | ||
+ | # make config | ||
+ | # make | ||
+ | [...eventually...] | ||
+ | ctfstrip -S -o bsd bsd.gdb | ||
+ | # install -bp / | ||
+ | </ | ||
+ | |||
+ | This will give you a " | ||
+ | |||
+ | === Make and install the patched kernel again === | ||
+ | |||
+ | Before rebooting, you need to re-compile '' | ||
- | You will then need to swap out the '' | ||
< | < | ||
- | # install -bp /usr/obj/ | + | $ doas -s |
+ | # cd / | ||
+ | # make obj | ||
+ | # make config | ||
+ | # make | ||
+ | [...eventually...] | ||
+ | ctfstrip -S -o bsd bsd.gdb | ||
+ | # install -bp / | ||
</ | </ | ||
Reboot... Done! | Reboot... Done! |