Subject: Re: acpitz problem
To: Takayoshi Kochi <kochi@NetBSD.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: current-users
Date: 07/28/2005 13:57:10
Takayoshi Kochi wrote:

>>I just compiled an ACPI-enabled kernel (3.0_BETA) on my
>>VIA EPIA PD8000 motherboard, but for some reason the
>>ACPI Thermal Zone doesn't seem to work. I tried to Google(tm)
>>and "use the source, luke", but I couldn't solve the problem
>>with any BIOS/kernel configuration options. What I get is
>>the ACPI TZ device is recognized but the driver can't read
>>the temperature data. Please find attached the dmesg and
>>the kernel config. Any ideas?
> 
> As christos already said, could you try -current kernel?
> and also, please add 'options ACPI_DEBUG' in your kernel config
> to see more information when error occurs.

Here it is, from fresh sources.. Now there are no more those
_TMP error messages from acpitz, but as I am not using liquid
nitrogen to cool the CPU the temperature value must be wrong
(although I live in Finland ;-)

[root@server ~]# envstat -r
acpitz0 temperature:   -247.700 degC

[root@server ~]# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 3.99.7 (SERVER) #1: Thu Jul 28 13:44:38 EEST 2005
         root@fw.rinta-aho.org:/usr/src/sys/arch/i386/compile/SERVER
total memory = 495 MB
avail memory = 482 MB
BIOS32 rev. 0 found at 0xfad00
mainbus0 (root)
  tbxface-0200 [01] AcpiLoadTables        : ACPI Tables successfully acquired
Parsing all Control 
Methods:.....................................................................................................................................................
Table [DSDT](id f004) - 635 Objects with 57 Devices 149 Methods 31 Regions
ACPI Namespace successfully loaded at root 0xc04d7da4
cpu0 at mainbus0: (uniprocessor)
cpu0: VIA C3 Nehemiah (686-class), 800.10 MHz, id 0x698
cpu0: features 381b83f<FPU,VME,DE,PSE,TSC,MSR,SEP,MTRR>
cpu0: features 381b83f<PGE,CMOV,PAT,MMX>
cpu0: features 381b83f<FXSR,SSE>
cpu0: "VIA Nehemiah"
cpu0: I-cache 64 KB 32B/line 2-way, D-cache 64 KB 32B/line 2-way
cpu0: L2 cache 64 KB 32B/line 8-way
cpu0: ITLB 128 4 KB entries 8-way
cpu0: DTLB 128 4 KB entries 8-way
cpu0: 8 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20050408
acpi0: X/RSDT: OemId <CN400 ,AWRDACPI,42302e31>, AslId <AWRD,00000000>
evxfevnt-0177 [02] AcpiEnable            : Transition to ACPI mode successful
evgpeblk-1153 [08] EvCreateGpeBlock      : GPE 00 to 0f [_GPE] 2 regs on int 0x9
evgpeblk-1161 [08] EvCreateGpeBlock      : Found 7 Wake, Enabled 0 Runtime 
GPEs in this block
Completing Region/Field/Buffer/Package 
initialization:.................................................................................
Initialized 31/31 Regions 19/19 Fields 21/21 Buffers 10/22 Packages (644 nodes)
Executing all Device _STA and_INI 
methods:.................................................
49 Devices found containing: 49 _STA, 2 _INI methods
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi_activate_device: PNP0C0F, old status=9
acpi: activated PNP0C0F
acpi_activate_device: PNP0C0F, new status=b
acpi_activate_device: PNP0C0F, old status=9
acpi: activated PNP0C0F
acpi_activate_device: PNP0C0F, new status=b
acpi_activate_device: PNP0C0F, old status=9
acpi: activated PNP0C0F
acpi_activate_device: PNP0C0F, new status=b
acpi_activate_device: PNP0C0F, old status=9
acpi: activated PNP0C0F
acpi_activate_device: PNP0C0F, new status=b
acpi_activate_device: PNP0C0F, old status=9
acpi: activated PNP0C0F
acpi_activate_device: PNP0C0F, new status=b
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0C01 [System Board] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0C0B [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: active cooling level 0: 50.0C
acpitz0: failed to evaluate _AC1: AE_NOT_FOUND
acpitz0: failed to evaluate _AC2: AE_NOT_FOUND
acpitz0: failed to evaluate _AC3: AE_NOT_FOUND
acpitz0: failed to evaluate _AC4: AE_NOT_FOUND
acpitz0: failed to evaluate _AC5: AE_NOT_FOUND
acpitz0: failed to evaluate _AC6: AE_NOT_FOUND
acpitz0: failed to evaluate _AC7: AE_NOT_FOUND
acpitz0: failed to evaluate _AC8: AE_NOT_FOUND
acpitz0: failed to evaluate _AC9: AE_NOT_FOUND
acpitz0: failed to evaluate _HOT: AE_NOT_FOUND
acpitz0: critical 60.0C passive -273.-3C
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies product 0x0259 (rev. 0x00)
agp0 at pchb0: aperture at 0xea000000, size 0xe500000
pchb1 at pci0 dev 0 function 1
pchb1: VIA Technologies product 0x1259 (rev. 0x00)
pchb2 at pci0 dev 0 function 2
pchb2: VIA Technologies product 0x2259 (rev. 0x00)
pchb3 at pci0 dev 0 function 3
pchb3: VIA Technologies product 0x3259 (rev. 0x00)
pchb4 at pci0 dev 0 function 4
pchb4: VIA Technologies product 0x4259 (rev. 0x00)
pchb5 at pci0 dev 0 function 7
pchb5: VIA Technologies product 0x7259 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8377CE CPU-AGP Bridge 
(rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: VIA Technologies product 0x3118 (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, 
interface 0x10, revision 0x80) at pci0 dev 13 function 0 not configured
viaide0 at pci0 dev 15 function 0
viaide0: VIA Technologies VT8237 SATA Controller (rev. 0x80)
viaide0: bus-master DMA support present
viaide0: primary channel wired to native-PCI mode
viaide0: using irq 15 for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel wired to native-PCI mode
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci2: interrupting at irq 15
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3: VIA Technologies VT83C572 USB Controller 
(rev. 0x81)
uhci3: interrupting at irq 15
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4: VIA Technologies VT8237 EHCI USB Controller 
(rev. 0x86)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8237 (Apollo KT600) PCI-ISA Bridge (rev. 0x00)
vr0 at pci0 dev 18 function 0: VIA VT6102 (Rhine II) 10/100 Ethernet
vr0: interrupting at irq 11
vr0: Ethernet address: 00:40:63:de:0d:15
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0002c6, model 0x0032, rev. 10
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ath0 at pci0 dev 20 function 0
ath0: interrupting at irq 15
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 4.6
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <ST3200822AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus1 drive 0: <ST3200822AS>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 390721792 (190782 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)