Re: mpspec.h, mach_mpspec.h

From: J.A. Magallon
Date: Sun Jan 25 2004 - 17:59:27 EST



On 01.25, Randy.Dunlap wrote:
> On Sun, 25 Jan 2004 20:11:06 +0100 Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>
> | >
> | > Workaround is to add -I/usr/src/linux/include/asm/mach-default.
> |
> | i386 at least always include:
> | -Iinclude/asm-i386/mach-default
> | Which should let gcc include the file in question.
> |
> | Try to compile with V=1 and post the full command line to gcc.
>
> JAM, how are you building the sensors modules?
> I.e., is this just a "make modules" or are you building
> modules that are outside of the kernel tree?
>

Oops, my fault. I was trying to build userspace part from the lm_sensors
tarball, and I did not remember that kernel modules will not build.
Anyways, docs say that you can set COMPILE_KERNEL:=0 in Makefile to build
just userspace, but I think it is outdated. You have to 'make user user_install'.
Variable COMPILE_KERNEL is not used anywhere.

And, after building userspace libsensors, my temperatures still read at 400 C:

werewolf:~# sensors -v
sensors version 2.8.3
werewolf:~# sensors -s
werewolf:~# sensors
w83781d-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore 1: +2.02 V (min = +1.90 V, max = +2.10 V)
VCore 2: +1.98 V (min = +1.90 V, max = +2.10 V)
+3.3V: +3.22 V (min = +3.14 V, max = +3.46 V)
+5V: +5.00 V (min = +4.73 V, max = +5.24 V)
+12V: +12.04 V (min = +11.37 V, max = +12.59 V)
-12V: -12.29 V (min = -12.57 V, max = -11.35 V) ALARM
-5V: -4.98 V (min = -5.25 V, max = -4.74 V) ALARM
CPU0 Fan: 4500 RPM (min = 84375 RPM, div = 2) ALARM
CPU1 Fan: 4383 RPM (min = -1 RPM, div = 2) ALARM
CPU0 Tmp: +380°C (high = +0°C, hyst = +640°C) ALARM
CPU1 Tmp: +390.0°C (high = +800°C, hyst = +750°C)
vid: +2.000 V

???

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.2-rc1-jam3 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-4mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/