|

楼主 |
发表于 2003-9-30 11:47:26
|
显示全部楼层
比如我配置apm时:
# Power management support (see NOTES for more options)
device apm
在GENERIC.hints中有这么几句:
hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
在NOTES中有这么几句:
# Notes on APM
# The flags takes the following meaning for apm0:
# 0x0020 Statclock is broken.
# If apm is omitted, some systems require sysctl kern.timecounter.method=1
# for correct timekeeping.
而我将这句
hint.apm.0.flags="0x20" 加到内核配置文件中时,编译时就报这行语法错误,为何?
另外使用命令
#sysctl kern.timecounter.method=1
时也报错,说根本就没有这个内核变量 |
|