Skip to contentSkip to conversation

sysctl interface to bootflags?

DISCUSSION Thomas Hood 1 participant 1 message Oct 10, 2001

lore
Share & tools
lore
#0 lore raw

Well, it may run, but what it changed was NOT the SBF field. When I restarted my machine the BIOS beeped and told me there was an error in the nonvolatile RAM. I was made to reset the system date, and then the computer rebooted normally.

--
Thomas

Quoted 11 lines

Thanks. I tested the new sbf.c and after hacking it a bit to remove the fail-on-invalid-reg-value, it runs:

root@thanatos:/home/jdthood/src/sbf# ./a.out
BOOT @ 0x07fd0040
CMOS register: 0x33
Read current value := 0x88
Read updated value := 0x89

Here it has set bit 0, the PnP-OS bit. Do you have any plans to enhance the program to allow control of all the flags?