My machine is a portable computer which according to the kernel doesn't have
an APM BIOS. The problem is, power shutdown routines are still run.
I have configured the kernel to shutdown the computer's power when the
system is halted. When I halt my system, the apm_set_power_state() in
apm_bios.c is called, and at the lcall to the apm_bios_entry, a protection
error occurs. I imagine that this is because the apm_bios_entry has never
been setup, since the BIOS is not present.
Anyone want to fix this? It should only be a matter of skipping the routines
if a APM BIOS is not detected.
/Magnus
map@abc.se