なにやら、ちょっとうれしい兆し。
◯うれしいこと(その1)
FreeBSD 7.1-BETA2 『Lights-Out 100c無し』で遊んでいたら、『ipmi』なるカーネルモジュールを見つける。
更に markunさんのページにも大変参考になる記載があった。(ML115 G1についてだと思うけど大変参考になる)
http://markun.onohara.to/2008/02/01/ipmi-ml115.html
IPMIを用いてマシンの状態を色々取得できるみたいだ。
portsに sysutils/freeipmi sysutils/ipmitool があるようだ。
こんな状態が取得できた。
ML115-G5# ipmitool sdr list POST Error | 0x01 | ok Memory ECC | Not Readable | ns ACPI State | 0x01 | ok PCI Reset | 0x00 | ok CPU Fan | 2035.00 RPM | ok Rear Fan | 2070.39 RPM | ok CPU Diode | 27 degrees C | ok Front Ambient | 19.50 degrees C | ok System 12V | 11.98 Volts | ok System 5V | 5.15 Volts | ok System AUX 5V | 5.03 Volts | ok System 3.3V | 3.39 Volts | ok System AUX 3.3V | 3.31 Volts | ok CPU Vcore | 1.12 Volts | ok CPU 12V | 11.98 Volts | ok HT 1.2V | 1.20 Volts | ok Mem Vcore | 1.80 Volts | ok MEM VTT | 0.89 Volts | ok MCP55 1.5V | 1.51 Volts | ok MCP55 1.4V | 1.39 Volts | ok Therm-Trip | 0x01 | ok CPU Prochot | 0x01 | ok System Reset | 0x01 | ok NMI | 0x01 | ok PCI Error | Not Readable | ns CPU Socket | 0x02 | ok LO100 Present | 0x02 | ok Watchdog | Not Readable | ns
◯うれしいこと(その2)
更に、IPMIを組み込んだKernelなら『Lights-Out 100cあり』でも落ちない模様。(IPMIの御利役か?)
IPMIあり&100cありでkernelコンパイルは成功。
とても時間のかかるコンパイル editors/openoffice.org-3 を試して確認しようとおもう。
(明日の朝には終わるかな?)
なお、markunさんのページにもあったが、CPUTYPEを指定した方が良いらしい。
CPU: AMD Athlon(tm) Processor 1640B (2700.02-MHz K8-class CPU) CPU: AMD Athlon(tm) Dual Core Processor 4450B (2300.02-MHz K8-class CPU)
の2台あるが、とりあえず /etc/make.conf に CPUTYPE= athlon64を追加してみた。
# 両方ともathlon64でいいのかなぁ?よくわからない・・・・
[memo]
ML115-G5# uname -a
FreeBSD ML115-G5.mk.or.jp 7.1-BETA2 FreeBSD 7.1-BETA2 #3: Fri Oct 31 22:42:57 JST 2008 root@ML115-G5.mk.or.jp:/opt/src.7.1-BETA2/sys/amd64/compile/ML115G5 amd64
ML115-G5# cd /usr/src/sys/amd64/conf
ML115-G5# diff -c GENERIC ML115G5 *** GENERIC Sat Aug 30 03:54:35 2008 --- ML115G5 Fri Oct 31 22:40:28 2008 *************** *** 19,30 **** # $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.484.2.14 2008/08/29 18:54:35 jhb Exp $ cpu HAMMER ! ident GENERIC # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. ! makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption --- 19,30 ---- # $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.484.2.14 2008/08/29 18:54:35 jhb Exp $ cpu HAMMER ! ident ML115G5 # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. ! #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption *************** *** 306,308 **** --- 306,324 ---- device fwip # IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons + + ################################ + options PPS_SYNC + #options UART_PPS_ON_CTS # default DCD pin + device pps + ################################ + device ipmi + device k8temp + ################################ + # This allows you to actually store this configuration file into + # the kernel binary itself, where it may be later read by saying: + # strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL + # + options INCLUDE_CONFIG_FILE + ################################ +