It does and yay for miod for picking this up.  This was way long on my
list.

On Fri, Sep 12, 2008 at 11:51:40AM +0300, Denis Doroshenko wrote:
> hi,
> 
> On Thu, Sep 11, 2008 at 3:45 PM, Miod Vallat <[EMAIL PROTECTED]> wrote:
> > CVSROOT:        /cvs
> > Module name:    src
> > Changes by:     [EMAIL PROTECTED]    2008/09/11 06:45:20
> >
> > Modified files:
> >        sys/dev/acpi   : acpitz.c
> >
> > Log message:
> > Thermal Zone entities might not be direct object references, but named
> > references. Account for this, and the hp530 laptop won't spontaneously
> > power down thinking internal temperature is over 500C.
> >
> > ok marco@
> 
> in a hope this diff would fix overheating under ACPI on my compaq
> nc6000, built the kernel and found out that this diff changed acpitz
> warnings from:
> 
> acpitz0: _AL1[0] not a object ref
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> 
> to
> 
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> 
> dmesg with the diff:
> 
> OpenBSD 4.4-current (GENERIC) #0: Fri Sep 12 10:08:08 EEST 2008
>     [EMAIL PROTECTED]:/data/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) M processor 1600MHz ("GenuineIntel"
> 686-class) 1.60 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
> real mem  = 536244224 (511MB)
> avail mem = 510070784 (486MB)
> User Kernel Config
> UKC> disable apm
> 330 apm0 disabled
> UKC> exit
> Continuing...
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @
> 0xf0000, SMBIOS rev. 2.3 @ 0xfa1ee (31 entries)
> bios0: vendor Hewlett-Packard version "68BDD Ver. F.15" date 08/30/2006
> bios0: Hewlett-Packard HP Compaq nc6000 (DJ256A#ABB)
> apm at bios0 function 0x15 not configured
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP SSDT
> acpi0: wakeup devices C056(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiprt0 at acpi0: bus 1 (C045)
> acpiprt1 at acpi0: bus 2 (C056)
> acpiprt2 at acpi0: bus 0 (C044)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2, C1, FVS, 1600, 1400, 1200, 1000, 800, 600 MHz
> acpitz0 at acpi0: critical temperature 103 degC
> acpitz1 at acpi0: critical temperature 115 degC
> acpitz2 at acpi0: critical temperature 103 degC
> acpibat0 at acpi0: C137 model "Primary" serial 07280 2004/04/16 type
> LIon oem "Hewlett-Packard"
> acpibat1 at acpi0: C136 not present
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: C139
> acpibtn1 at acpi0: C138
> acpivideo at acpi0 not configured
> bios0: ROM list: 0xc0000/0x10000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M10 NP" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> agp0 at vga1: aperture at 0xb0000000, size 0x10000000
> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: irq 10
> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: irq 10
> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: irq 10
> ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: irq 10
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83
> pci2 at ppb1 bus 2
> ath0 at pci2 dev 4 function 0 "Atheros AR5212" rev 0x01: irq 11
> ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR0W, address 
> 00:0b:cd:5b:e0:32
> cbb0 at pci2 dev 6 function 0 "O2 Micro OZ711E0 CardBus" rev 0x00: irq 10
> cbb1 at pci2 dev 6 function 1 "O2 Micro OZ711E0 CardBus" rev 0x00: irq 10
> "O2 Micro OZ711Mx Misc" rev 0x00 at pci2 dev 6 function 2 not configured
> cbb2 at pci2 dev 6 function 3 "O2 Micro OZ711E0 CardBus" rev 0x00: irq 10
> bge0 at pci2 dev 14 function 0 "Broadcom BCM5705M Alt" rev 0x03,
> BCM5705 A3 (0x3003): irq 11, address 00:14:38:1b:a7:61
> brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
> pcmcia0 at cardslot0
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x20
> pcmcia1 at cardslot1
> cardslot2 at cbb2 slot 2 flags 0
> cardbus2 at cardslot2: bus 5 device 0 cacheline 0x0, lattimer 0x20
> pcmcia2 at cardslot2
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x03
> pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x03: DMA,
> channel 0 configured to compatibility, channel 1 configu
> red to compatibility
> wd0 at pciide0 channel 0 drive 0: <HTS726060M9AT00>
> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2512, 1A04> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x03: irq
> 11, ICH4 AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> "Intel 82801DB Modem" rev 0x03 at pci0 dev 31 function 6 not configured
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> biomask e54d netmask ed4d ttymask ffff
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB-PS/2
> Optical Mouse" rev 2.00/11.10 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> acpitz0: _AL2[0.0] _PRO not a package
> acpitz0: _AL3[0.0] _PRO not a package
> acpitz0: _AL1[0.0] _PRO not a package
> ... then these go on foever ...
> 
> this is how these things looked like earlier:
> 
> OpenBSD 4.4-current (GENERIC) #0: Wed Sep 10 10:48:35 EEST 2008
>     [EMAIL PROTECTED]:/data/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) M processor 1600MHz ("GenuineIntel"
> 686-class) 1.60 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
> real mem  = 536244224 (511MB)
> avail mem = 510070784 (486MB)
> User Kernel Config
> UKC> disable apm
> 330 apm0 disabled
> UKC> exit
> Continuing...
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @
> 0xf0000, SMBIOS rev. 2.3 @ 0xfa1ee (31 entries)
> bios0: vendor Hewlett-Packard version "68BDD Ver. F.15" date 08/30/2006
> bios0: Hewlett-Packard HP Compaq nc6000 (DJ256A#ABB)
> apm at bios0 function 0x15 not configured
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP SSDT
> acpi0: wakeup devices C056(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiprt0 at acpi0: bus 1 (C045)
> acpiprt1 at acpi0: bus 2 (C056)
> acpiprt2 at acpi0: bus 0 (C044)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2, C1, FVS, 1600, 1400, 1200, 1000, 800, 600 MHz
> acpitz0 at acpi0: critical temperature 103 degC
> acpitz1 at acpi0: critical temperature 115 degC
> acpitz2 at acpi0: critical temperature 103 degC
> acpibat0 at acpi0: C137 model "Primary" serial 07280 2004/04/16 type
> LIon oem "Hewlett-Packard"
> acpibat1 at acpi0: C136 not present
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: C139
> acpibtn1 at acpi0: C138
> acpivideo at acpi0 not configured
> bios0: ROM list: 0xc0000/0x10000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M10 NP" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> agp0 at vga1: aperture at 0xb0000000, size 0x10000000
> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: irq 10
> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: irq 10
> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: irq 10
> ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: irq 10
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83
> pci2 at ppb1 bus 2
> ath0 at pci2 dev 4 function 0 "Atheros AR5212" rev 0x01: irq 11
> ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR0W, address 
> 00:0b:cd:5b:e0:32
> cbb0 at pci2 dev 6 function 0 "O2 Micro OZ711E0 CardBus" rev 0x00: irq 10
> cbb1 at pci2 dev 6 function 1 "O2 Micro OZ711E0 CardBus" rev 0x00: irq 10
> "O2 Micro OZ711Mx Misc" rev 0x00 at pci2 dev 6 function 2 not configured
> cbb2 at pci2 dev 6 function 3 "O2 Micro OZ711E0 CardBus" rev 0x00: irq 10
> bge0 at pci2 dev 14 function 0 "Broadcom BCM5705M Alt" rev 0x03,
> BCM5705 A3 (0x3003): irq 11, address 00:14:38:1b:a7:61
> brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
> pcmcia0 at cardslot0
> cardslot1 at cbb1 slot 1 flags 0
> cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x20
> pcmcia1 at cardslot1
> cardslot2 at cbb2 slot 2 flags 0
> cardbus2 at cardslot2: bus 5 device 0 cacheline 0x0, lattimer 0x20
> pcmcia2 at cardslot2
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x03
> pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x03: DMA,
> channel 0 configured to compatibility, channel 1 configu
> red to compatibility
> wd0 at pciide0 channel 0 drive 0: <HTS726060M9AT00>
> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2512, 1A04> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x03: irq
> 11, ICH4 AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> "Intel 82801DB Modem" rev 0x03 at pci0 dev 31 function 6 not configured
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> biomask e54d netmask ed4d ttymask ffff
> mtrr: Pentium Pro MTRR support
> acpitz0: _AL1[0] not a object ref
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> acpitz0: _AL1[0] not a object ref
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB-PS/2
> Optical Mouse" rev 2.00/11.10 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> acpitz0: _AL2[0] not a object ref
> acpitz0: _AL3[0] not a object ref
> ... then these go on foever ...

Reply via email to