Re: Unable to turn cooling device [hex ref] 'off'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rui,

Setting the debug options seems to have changed the problems a
little.  With the debug options set, the fan can either stay on or
stay off.  Also, executing

cat /proc/acpi/thermal_zone/THRM/temperature

caused kacpid to hog almost all system resources at one point, and
cat became unkillable.  Though now, I can find no consisency with
the fan state issue.

Firstly, more info.

Your stanza:

echo 0x1f >/sys/module/acpi/parameters/debug_level

needed to be changed to echo 0x1f > /proc/acpi/debug_level.  No
acpi dir in my /sys/module.

###

Doing the whole dstd decompile, compile thing works fine with no
errors. The decompiled dsdt.dsl is attached below.

###

Doing this pretty much always give me status 'on' regardless of whether
I can hear the fan:

cat /proc/acpi/fan/FAN*/*
status:                  on
status:                  on


###cat /proc/acpi/thermal_zone/THRM/trip_points
critical (S5):           110 C
passive:                 86 C: tc1=3 tc2=1 tsp=336 devices=0xc18f3d74 0xc18f3d60

active[0]:               70 C: devices=0xc18f9428
active[1]:               60 C: devices=0xc18f93c4

###

Here's a snippet from syslog showing the messages associated with
not being able to turn the fan off.

These at 20 secs past the minute.

kernel: Execute Method: [\_TZ_.THRM._TMP] (Node c18f9b44)
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=000000000000006C
kernel: exregion-0291 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=000000000000006C
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=000000000000006C
kernel: exregion-0291 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=0000000000000068
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=000000000000006C
last message repeated 2 times
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=0000000000000068
kernel: acpi_utils-0287 [00] evaluate_integer      : Return value [3160]
kernel: acpi_thermal-0237 [00] thermal_get_temperatur: Temperature is 3160 dK
kernel: acpi_utils-0287 [00] evaluate_integer      : Return value [0]
kernel: acpi_bus-0172 [00] bus_get_power         : Device [FAN0] power
state is D0
kernel: Execute Method: [\_TZ_.PFN0._OFF] (Node c18f94a0)
kernel: exregion-0186 [17] ex_system_memory_space: System-Memory
(width 8) R/W 1 Address=000000003F6EDE5F
kernel: exregion-0186 [17] ex_system_memory_space: System-Memory
(width 8) R/W 1 Address=000000003F6EDE4F
kernel: exregion-0291 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=0000000000000808
kernel: Execute Method: [\_TZ_.PFN0._STA] (Node c18f948c)
kernel: acpi_utils-0287 [00] evaluate_integer      : Return value [1]
kernel: acpi_power-0137 [00] power_get_state       : Resource [PFN0] is on
kernel: ACPI: Transitioning device [FAN0] to D3
kernel: ACPI: Transitioning device [FAN0] to D3
kernel: ACPI: Unable to turn cooling device [c18f9428] 'off'
kernel: acpi_thermal-0750 [00] thermal_check         : THRM:
temperature[3160] sleep[30000]

These at 50 secs past the min:
kernel: Execute Method: [\_TZ_.THRM._TMP] (Node c18f9b44)
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=000000000000006C
kernel: exregion-0291 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=000000000000006C
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=000000000000006C
kernel: exregion-0291 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=0000000000000068
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=000000000000006C
last message repeated 2 times
kernel: exregion-0291 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=0000000000000068
kernel: acpi_utils-0287 [00] evaluate_integer      : Return value [3160]
kernel: acpi_thermal-0237 [00] thermal_get_temperatur: Temperature is 3160 dK
kernel: acpi_utils-0287 [00] evaluate_integer      : Return value [0]
kernel: acpi_bus-0172 [00] bus_get_power         : Device [FAN0] power
state is D0
kernel: Execute Method: [\_TZ_.PFN0._OFF] (Node c18f94a0)
kernel: exregion-0186 [17] ex_system_memory_space: System-Memory
(width 8) R/W 1 Address=000000003F6EDE5F
kernel: exregion-0186 [17] ex_system_memory_space: System-Memory
(width 8) R/W 1 Address=000000003F6EDE4F
kernel: exregion-0291 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=0000000000000808
kernel: Execute Method: [\_TZ_.PFN0._STA] (Node c18f948c)
kernel: acpi_utils-0287 [00] evaluate_integer      : Return value [1]
kernel: acpi_power-0137 [00] power_get_state       : Resource [PFN0] is on
kernel: ACPI: Transitioning device [FAN0] to D3
kernel: ACPI: Transitioning device [FAN0] to D3
kernel: ACPI: Unable to turn cooling device [c18f9428] 'off'
kernel: acpi_thermal-0750 [00] thermal_check         : THRM:
temperature[3160] sleep[30000]


Attached, the dsdt for the machine.

Thanks again for your help.

Best wishes,

===Rich





On 4/16/07, Zhang, Rui <rui.zhang@xxxxxxxxx> wrote:
Make sure CONFIG_ACPI_DEBUG is set first,
#echo 0x1f >/sys/module/acpi/parameters/debug_level
And then probe modules fan and thermal
to get more information.
Or you can file a bug report at bugzilla.kernel.org.

Best regards,
Zhang.Rui(Ray)


-----Original Message-----
From: linux-acpi-owner@xxxxxxxxxxxxxxx [mailto:linux-acpi-owner@xxxxxxxxxxxxxxx] On Behalf Of Richard Hoyle
Sent: 2007年4月15日 3:35
To: linux-acpi@xxxxxxxxxxxxxxx
Subject: Unable to turn cooling device [hex ref] 'off'

Hi,

I'm getting many errors of the sort:

kernel: ACPI: Transitioning device [FAN0] to D3
kernel: ACPI: Transitioning device [FAN0] to D3
kernel: ACPI: Unable to turn cooling device [c18f9428] 'off'

every /proc/acpi/thermal_zone/THRM/polling_frequency seconds.

The machine does not seem to turn the fan off very much, if at all.

The machine is a 'whitebook' built by Stone Computers in the UK.  Its chassis
was built by First International Computers it China.  The cpu is:

model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cache size      : 4096 KB

The kernel version is 2.6.20.3

Distro is a current as of writing Slackware-current (but I get the same probs
under Knoppix 5.1.1).

These mods are loaded:

/sbin/modprobe thermal
/sbin/modprobe button
/sbin/modprobe ac
/sbin/modprobe battery
/sbin/modprobe processor
/sbin/modprobe container
/sbin/modprobe fan
/sbin/modprobe dock
/sbin/modprobe i2c_ec
/sbin/modprobe video
/sbin/modprobe sbs

# And these for speedstep:

/sbin/modprobe freq_table
/sbin/modprobe processor
/sbin/modprobe speedstep_lib
/sbin/modprobe acpi_cpufreq
/sbin/modprobe cpufreq_ondemand

This is for the obvious:

echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

And I do this, as otherwise the fan stays off:
#Turn of thermal polling frequency to 30 secs
echo "30" > /proc/acpi/thermal_zone/THRM/polling_frequency

There seems to be two fans reported by the system:

/proc/acpi/fan
/proc/acpi/fan/FAN1
/proc/acpi/fan/FAN1/state
/proc/acpi/fan/FAN0
/proc/acpi/fan/FAN0/state

Finally, the fan seems to work as and when needed under M$ XP.

More than happy to provide an acpidump listing if I'm not doing
anything obviously stupid.

Thanks for all your work on the kernel, and for any help you
might be able to give me.

All the best,

===Rich
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: dsdt.dsl.bz2
Description: BZip2 compressed data


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux