Bug 7827

Summary: /proc/acpi/thermal_zone exists, but is empty - IBM/Lenovo C100
Product: ACPI Reporter: Antonin Kolisek (akolisek)
Component: Power-ThermalAssignee: acpi_power-thermal
Status: REJECTED DOCUMENTED    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.19.2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: output from acpidump
output from acpidump -b

Description Antonin Kolisek 2007-01-15 09:22:41 UTC
Distribution: Slackware 11.0
Hardware Environment: Notebook IBM/Lenovo C100 (Pentium M 1.7GHz), chipset i915,
wifi Intel 802.11a/b/g (ipw2200)

Software Environment: linux-2.6.19.2 (vanilla)

Problem Description: 
 /proc/acpi/thermal_zone is empty.

My .config (ACPI):
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_HOTKEY=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
#CPU Frequency scaling
CONFIG_CPU_FREQ=y
CONFIG_CPU_TABLE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_POWERSAWE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y

dmesg | grep ACPI

BIOS-e820: 000000001f7e0000 - 000000001f7fffc0 (ACPI data)
 BIOS-e820: 000000001f7fffc0 - 000000001f800000 (ACPI NVS)
ACPI: RSDP (v000 LENOVO                                ) @ 0x000e5010
ACPI: RSDT (v001 LENOVO TP-60    0x00000015 ABCD 0x00010200) @ 0x1f7fc3bb
ACPI: FADT (v001 LENOVO FACP_000 0x00000100 0000 0x00010200) @ 0x1f7ffb00
ACPI: MADT (v001 STUPID MAPIC_00 0x30307830 ABCD 0x00010200) @ 0x1f7ffb90
ACPI: SSDT (v001  PmRef  Cpu0Ist 0x00003000 INTL 0x20030522) @ 0x1f7fc5c7
ACPI: SSDT (v001  PmRef  Cpu0Cst 0x00003001 INTL 0x20030522) @ 0x1f7fc3ef
ACPI: DSDT (v001 LENOVO TP-60    0x00000015 INTL 0x02002036) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: Core revision 20060707
ACPI: bus type pci registered
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 *3 4 5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
pnp: PnP ACPI init
pnp: PnP ACPI: found 7 devices
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt 0000:01:04.0[A] -> GSI 16 (level, low) -> IRQ 16
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 17
acpi-cpufreq: CPU0 - ACPI performance management activated.
ACPI: (supports S0 S3 S4 S5)
ACPI: PCI Interrupt 0000:01:02.0[A] -> GSI 22 (level, low) -> IRQ 18
ACPI: PCI Interrupt 0000:01:01.0[A] -> GSI 21 (level, low) -> IRQ 19
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 20
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 21
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 20
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 17
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 17 (level, low) -> IRQ 22
ACPI: PCI Interrupt 0000:01:04.2[B] -> GSI 17 (level, low) -> IRQ 22
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 21


I want to know this... I have /proc/acpi/thermal_zone ..empty...it`s
normal? It seems that this problem is in all linux-kernels.

Thanks.
Comment 1 Antonin Kolisek 2007-01-15 12:57:32 UTC
Created attachment 10086 [details]
output  from acpidump 

This is file from acpidump.
Comment 2 Antonin Kolisek 2007-01-15 12:59:23 UTC
Created attachment 10087 [details]
output  from acpidump -b

This is output from acpidump -b
Comment 3 NPetr 2007-01-16 13:56:27 UTC
Hi, I have ACPI problems on Lenovo N100 (quite similar too C100) also. See: 
http://bugzilla.kernel.org/show_bug.cgi?id=7673
Comment 4 Len Brown 2007-01-17 01:21:19 UTC
Thermal zone suport is optional, and this platform doesn't support it.
ie. there is no _TZ in the DSDT or SSDT for this machine.

Yes, it is a bug that /proc/acpi/thermal_zone exists at all when
the platform doesn't have any thermal zone support.
Other directories in /proc/acpi/, such as fan, have the exact same bug.

But we're not going to bother fixing that bug, as it is as old as time,
and we are working on deleting /proc/acpi/ entirely.