acpi - no thermal_zone/THRM - Mandriva

This is a discussion on acpi - no thermal_zone/THRM - Mandriva ; I'm copy-posting this because the thread it got started in a different thread and so far I havnt got it figured out yet. lm_sensors never sees my fans or voltages and it appears that some of the acpi stuff under ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: acpi - no thermal_zone/THRM

  1. acpi - no thermal_zone/THRM

    I'm copy-posting this because the thread it got started in a different thread
    and so far I havnt got it figured out yet.
    lm_sensors never sees my fans or voltages and it appears that some of the acpi
    stuff under /proc/acpi is missing (for example /proc/acpi/thermal_zone is
    empty). dmesg doesnt show any errors
    I'm running a 2.6.18 custom kernel in 64 bit mode on a Q6600 cpu intel DG33TL
    mobo.
    Any ideas?
    Thanks
    Eric

    Here's what i know:
    # service acpi status
    Modules Loaded:
    ac
    battery
    button
    dock
    fan
    processor
    thermal
    video
    # chkconfig --list
    acpi 0ff 1ff 2n 3n 4n 5n 6ff
    acpid 0ff 1ff 2ff 3n 4n 5n 6ff

    # lsmod|grep therm
    thermal 12944 0
    processor 22832 1 thermal

    # ls /proc/acpi/*
    /proc/acpi/dsdt /proc/acpi/fadt /proc/acpi/info
    /proc/acpi/event /proc/acpi/fixed_events /proc/acpi/wakeup

    /proc/acpi/ac_adapter:

    /proc/acpi/battery:

    /proc/acpi/button:
    power/ sleep/

    /proc/acpi/embedded_controller:

    /proc/acpi/fan:

    /proc/acpi/power_resource:

    /proc/acpi/processor:
    CPU0/ CPU1/ CPU2/ CPU3/

    /proc/acpi/thermal_zone:

    /proc/acpi/video:

    # ls /proc/acpi/CPU0
    ls: cannot access /proc/acpi/CPU0: No such file or directory

    # ls /proc/acpi/processor
    CPU0/ CPU1/ CPU2/ CPU3/

    # ls /proc/acpi/processor/C
    CPU0/ CPU1/ CPU2/ CPU3/

    # ls /proc/acpi/processor/CPU0
    info limit power throttling

    # ls /proc/acpi/processor/CPU0/info
    /proc/acpi/processor/CPU0/info

    # cat /proc/acpi/processor/CPU0/info
    processor id: 0
    acpi id: 1
    bus mastering control: yes
    power management: no
    throttling control: yes
    limit interface: yes


    *** This was in the original thread: ***

    > I've been playing with a custom 2.6.22.18-1mdv kernel. I've got acpi

    selected
    > and processor and therm selected as modules, but i cant get anything
    > below /proc/acpi/thermal_zone to show up. I probably missed a dependency
    > somewhere.


    Make sure you don't have acpi turned off in your kernel boot parameters.

    Make sure the thermal module has been created ...
    locate thermal.ko
    /lib/modules/2.6.22.18-1mdvcustom/kernel/drivers/acpi/thermal.ko
    /lib/modules/2.6.22.18-desktop-1mdv/kernel/drivers/acpi/thermal.ko.gz

    Make sure /etc/rc.d/init.d/acpi is selected to run at startup
    chkconfig --list acpi
    acpi * * * * * *0ff * 1ff * 2n * *3n * *4n * *5n * *6ff
    as it will modprobe all of the modules in kernel/drivers/acpi/

    You can run it manually, for testing with "service acpi start"

    Make sure it's loaded ...
    # lsmod | grep thermal
    thermal * * * * * * * *13192 *1
    processor * * * * * * *25008 *1 thermal

    If it fails to load, try loading it, and then check dmesg for any errors.

    Regards, Dave Hodgins

  2. Re: acpi - no thermal_zone/THRM

    On Tue, 26 Feb 2008 21:47:11 -0500, Eric wrote:

    > lm_sensors never sees my fans or voltages and it appears that some of the acpi
    > stuff under /proc/acpi is missing (for example /proc/acpi/thermal_zoneis
    > empty). dmesg doesnt show any errors


    While my cpu is a x86 Celeron D, comparing the following from .config may help.

    [dave@hodgins linux-2.6.22.18-1mdvcustom]$ grep -i therm .config
    CONFIG_X86_MCE_P4THERMAL=y
    CONFIG_ACPI_THERMAL=m
    # CONFIG_USB_CYTHERM is not set
    [dave@hodgins linux-2.6.22.18-1mdvcustom]$ grep -i temp .config
    # CONFIG_SENSORS_K8TEMP is not set
    CONFIG_SENSORS_CORETEMP=y
    [dave@hodgins linux-2.6.22.18-1mdvcustom]$ grep -i acpi .config
    # Power management options (ACPI, APM)
    # ACPI (Advanced Configuration and Power Interface) Support
    CONFIG_ACPI=y
    CONFIG_ACPI_SLEEP=y
    CONFIG_ACPI_SLEEP_PROC_FS=y
    # CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
    CONFIG_ACPI_PROCFS=y
    CONFIG_ACPI_AC=m
    # CONFIG_ACPI_BATTERY is not set
    CONFIG_ACPI_BUTTON=m
    CONFIG_ACPI_VIDEO=m
    CONFIG_ACPI_FAN=m
    # CONFIG_ACPI_DOCK is not set
    CONFIG_ACPI_PROCESSOR=m
    CONFIG_ACPI_THERMAL=m
    # CONFIG_ACPI_ASUS is not set
    # CONFIG_ACPI_TOSHIBA is not set
    # CONFIG_ACPI_CUSTOM_DSDT is not set
    CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
    CONFIG_ACPI_BLACKLIST_YEAR=0
    # CONFIG_ACPI_DEBUG is not set
    CONFIG_ACPI_EC=y
    CONFIG_ACPI_POWER=y
    CONFIG_ACPI_SYSTEM=y
    # CONFIG_ACPI_CONTAINER is not set
    # CONFIG_ACPI_SBS is not set
    CONFIG_X86_ACPI_CPUFREQ=m
    CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
    CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
    CONFIG_PNPACPI=y
    # CONFIG_THINKPAD_ACPI is not set
    CONFIG_BLK_DEV_IDEACPI=y
    CONFIG_ATA_ACPI=y
    # CONFIG_ACER_ACPI is not set

    Also, sections of /var/log/dmesg with Thermal shown ...
    [ 21.323328] CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
    [ 21.323338] monitor/mwait feature present.
    [ 21.323344] using mwait in idle threads.
    [ 21.323354] CPU: Trace cache: 12K uops, L1 D cache: 16K
    [ 21.323359] CPU: L2 cache: 256K
    [ 21.323364] CPU: After all inits, caps: bfebfbff 00000000 00000000 0000b180 0000441d 00000000 00000000
    [ 21.323371] Intel machine check architecture supported.
    [ 21.323381] Intel machine check reporting enabled on CPU#0.
    [ 21.323387] CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
    [ 21.323394] CPU0: Thermal monitoring enabled
    [ 21.323403] Compat vDSO mapped to ffffe000.
    [ 21.323421] CPU: Intel(R) Celeron(R) CPU 2.40GHz stepping 04
    [ 21.323433] Checking 'hlt' instruction... OK.
    [ 21.327321] Early unpacking initramfs... done
    [ 21.368499] Freeing initrd memory: 1318k freed

    [ 33.276708] input: Power Button (FF) as /class/input/input4
    [ 33.276737] ACPI: Power Button (FF) [PWRF]
    [ 33.276805] input: Power Button (CM) as /class/input/input5
    [ 33.276832] ACPI: Power Button (CM) [PWRB]
    [ 33.276893] input: Sleep Button (CM) as /class/input/input6
    [ 33.276917] ACPI: Sleep Button (CM) [SLPB]
    [ 33.293640] ACPI: Fan [FAN] (on)
    [ 33.321901] ACPI: Thermal Zone [THRM] (43 C)

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

+ Reply to Thread