Re: mpspec.h, mach_mpspec.h

From: J.A. Magallon (jamagallon_at_able.es)
Date: 01/25/04

  • Next message: Bart Samwel: "Re: Request: I/O request recording"
    Date:	Sun, 25 Jan 2004 23:58:06 +0100
    To: "Randy.Dunlap" <rddunlap@osdl.org>
    
    

    On 01.25, Randy.Dunlap wrote:
    > On Sun, 25 Jan 2004 20:11:06 +0100 Sam Ravnborg <sam@ravnborg.org> 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@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Bart Samwel: "Re: Request: I/O request recording"

    Relevant Pages

    • Re: i2c_adapter i2c-0: Bus collision!
      ... > Are you able to reproduce the same behavior with kernel 2.4.24 and ... > lm-sensors 2.8.2? ... sometime has to reload the modules before "sensors" finds any sensor. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: i2c: lost sensors with 2.6.10(-mm1)
      ... > This basically means that the i2c client was not registered. ... Disabling "Plug and Play ACPI support" freed the ioport range and sensors ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: [ACPI] Re: system slow since ~ 2.6.7
      ... Thanks for the reply and sorry for the delay - was away for 2 days. ... Not sure, if this is still needed, but here goes: before sensors: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.5 Sensors & USB problems
      ... Seems that the w83781d driver no longer detects whatever the sensor chip on ... On Sat, 17 Apr 2004, Ian Morgan wrote: ... >> Your sensors problem will be resolved as soon as you switch to the just ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Q re /proc/bus/i2c
      ... I'm still trying to make sensors work when booted to a ... 2.6.x kernel. ... Copyright 2003 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)