Hardware monitoring

Shane Ambler Shane at 007Marketing.com
Tue Feb 15 09:05:19 PST 2005


I am attempting to make use of hardware monitoring to monitor temperatures
while the machine is running.
I have tried to build a couple of tools from ports and get an error of smb
device not present.

I then tried to compile a kernel with "device smb" enabled but have been
unsuccessful.

I have added various options for ipfw, squid diskd and to increase available
connections for pgsql.
Most devices have been disabled - only ones I know I need are enabled.

I have 5.3 release installed on an Asus P4P800S-SE.

Since my first attempt I have cvsup'd the source tree to RELENG_5_3.

It would seem that smbus_if.h is missing.

I can locate several copies of smbus_if.h
- within usr/obj/.../modules/i2c/...

There is also smbus_if.m in usr/src/sys/dev/smbus/

Is this not working or am I just missing something here?
 
The end of the compile is -

awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/isa/isa_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/pci/agp_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m
-h
if [ -f .olddep ]; then mv .olddep .depend; fi
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc"
xargs mkdep -a -f .newdep -O -pipe -march=pentium4 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding
/usr/src/sys/dev/smbus/smb.c:42:22: smbus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/obj/usr/src/sys/tower-smp.
*** Error code 1

Stop in /usr/obj/usr/src/sys/tower-smp.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.



More information about the freebsd-hardware mailing list