Re: HP notebook and wired temperatures

2013-06-08 Thread Sven Gaerner
On Fri, Jun 07, 2013 at 05:39:03PM +0200, Sven Gaerner wrote:
  A recent snapshot would probably fix this.
  
  http://openbsd.7691.n7.nabble.com/Somewhat-important-ACPI-diff-td228642.html
  (committed as rev. 1.201 of dsdt.c)
 
 Thanks for link. I will have a look.

I installed the snapshot that has been built on 6. June. This version
fixes all the issues. The system comes up without reporting any strange
temperatures.

sysctl hw.sensors shows expected values (around 55 C).

I attached the dmesg and the sysctl output.

Thanks a lot for your help and the great system.

Sven
1 at ppb0 bus 8
bge0 at pci1 dev 0 function 0 Broadcom BCM5753M rev 0x21, BCM5750 C1 
(0x4201): apic 1 int 16, address 00:16:d4:0d:67:3e
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: apic 1 int 17
pci2 at ppb1 bus 16
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, 
address 00:13:02:51:b4:19
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: apic 1 int 19
pci3 at ppb2 bus 32
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 1 int 20
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 1 int 22
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 1 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 1 int 20
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 2
cbb0 at pci4 dev 6 function 0 TI PCIXX12 CardBus rev 0x00: apic 1 int 18
TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 6 function 2 not 
configured
sdhc0 at pci4 dev 6 function 3 TI PCIXX12 Secure Data rev 0x00: apic 1 int 22
sdmmc0 at sdhc0
TI PCIXX12 Smart Card rev 0x00 at pci4 dev 6 function 4 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA775 DVD/CDRW, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 Intel 82801GBM AHCI rev 0x01: msi, AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: ATA, HTS541080G9SA00, MB4O SCSI3 0/direct fixed 
t10.ATA_HTS541080G9SA00_MPBDL0XKGUPHJM
sd0: 76319MB, 512 bytes/sector, 156301488 sectors
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
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 4 configuration 1 interface 0 SMI Corporation USB DISK 
rev 2.00/11.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: USB, Flash Disk, 1100 SCSI0 0/direct removable
sd1: 967MB, 512 bytes/sector, 1980416 sectors
ugen0 at uhub1 port 1 Broadcom Corp HP Integrated Module rev 2.00/1.00 addr 2
ugen1 at uhub2 port 1 AuthenTec Fingerprint Sensor rev 1.10/6.21 addr 2
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd1a (0ef2902f88d24fba.a) swap on sd1b dump on sd1b
syncing disks... done
rebooting...
OpenBSD 5.3-current (RAMDISK_CD) #136: Thu Jun  6 13:30:59 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF
real mem  = 3614830592 (3447MB)
avail mem = 3548520448 (3384MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/05/07, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.4 @ 0xf398f (23 entries)
bios0: vendor Hewlett-Packard version 68YCU Ver. F.0B date 09/05/2007
bios0: Hewlett-Packard HP Compaq nc6400 (RA270AA#ABD)
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0

HP notebook and wired temperatures

2013-06-07 Thread Sven Gaerner
Hi,

I installed OpenBSD 5.3 i386 on my HP nc6400 notebook. Now when booting
the system, the kernel prints
 acpitz3: critical temperate exceeded (3290 C): shutting down.

This temperature (3290 C) is shown after starting a system that was
powered off for several hours. After finishing the installation the
reported temperature was about 4180 C.

The other BSDs also report wired temperates but not that high. Some
years ago Linux reported about 55 C for the CPU which seems to be
a more realistic value.

Attached is a dmesg from the bsd.rd as this kernel does not immediately
shutdown the system.

Is there a way to disable this immediate shutdown of the system?
And how can I help to get sane values reported?

Thanks.

Sven
OpenBSD 5.3 (RAMDISK_CD) #49: Tue Mar 12 18:50:37 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF
real mem  = 3614830592 (3447MB)
avail mem = 3548024832 (3383MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/05/07, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.4 @ 0xf398f (23 entries)
bios0: vendor Hewlett-Packard version 68YCU Ver. F.0B date 09/05/2007
bios0: Hewlett-Packard HP Compaq nc6400 (RA270AA#ABD)
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 2 (C098)
acpiprt1 at acpi0: bus 8 (C101)
acpiprt2 at acpi0: bus 16 (C111)
acpiprt3 at acpi0: bus 32 (C117)
acpiprt4 at acpi0: bus 0 (C002)
bios0: ROM list: 0xc/0x1!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
Intel 82801GB HD Audio rev 0x01 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 1 int 16
pci1 at ppb0 bus 8
bge0 at pci1 dev 0 function 0 Broadcom BCM5753M rev 0x21, BCM5750 C1 
(0x4201): apic 1 int 16, address 00:16:d4:0d:67:3e
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01: apic 1 int 17
pci2 at ppb1 bus 16
wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, 
address 00:13:02:51:b4:19
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: apic 1 int 19
pci3 at ppb2 bus 32
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 1 int 20
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 1 int 22
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 1 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 1 int 20
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 2
cbb0 at pci4 dev 6 function 0 TI PCIXX12 CardBus rev 0x00: apic 1 int 18
TI PCIXX12 Multimedia Card Reader rev 0x00 at pci4 dev 6 function 2 not 
configured
TI PCIXX12 Secure Data rev 0x00 at pci4 dev 6 function 3 not configured
TI PCIXX12 Smart Card rev 0x00 at pci4 dev 6 function 4 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA775 DVD/CDRW, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 Intel 82801GBM AHCI rev 0x01: msi, AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: ATA, HTS541080G9SA00, MB4O SCSI3 0/direct fixed 
t10.ATA_HTS541080G9SA00_MPBDL0XKGUPHJM
sd0: 76319MB, 512 bytes/sector, 156301488 sectors
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
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0

Re: HP notebook and wired temperatures

2013-06-07 Thread Sven Gaerner
On Fri, Jun 07, 2013 at 02:38:27PM +0200, Pawel Kraszewski wrote:
 2013/6/7 Sven Gaerner sgaer...@gmx.net:
 
 This is just a next chapter of never-ending story of HP screwing up
 ACPI tables. This is not OS's fault - it just shows what hardware
 sends. Send an email to HP telling them to fix this crap (broken for
 well over 10 years).

Thanks,  I guessed it's an ACPI problem and not an OpenBSD one. But I
thought one can tell OpenBSD to ignore that useless values.

Telling HP that they implemented ACPI the wrong way is IMHO useless. They
just don't care. And the notebook is about 6.5 years old.

Sven



Re: HP notebook and wired temperatures

2013-06-07 Thread Sven Gaerner
On Fri, Jun 07, 2013 at 05:28:17PM +0400, Alexander Polakov wrote:
 * Sven Gaerner sgaer...@gmx.net [130607 17:10]:
  The other BSDs also report wired temperates but not that high. Some
  years ago Linux reported about 55 C for the CPU which seems to be
  a more realistic value.
  
  Is there a way to disable this immediate shutdown of the system?
  And how can I help to get sane values reported?
 
 A recent snapshot would probably fix this.
 
 http://openbsd.7691.n7.nabble.com/Somewhat-important-ACPI-diff-td228642.html
 (committed as rev. 1.201 of dsdt.c)

Thanks for link. I will have a look.

Sven



Re: Problems starting iwi

2008-11-18 Thread Sven Gaerner
On Tuesday 18 November 2008, Cedric Brisseau wrote:
 iwi0: fatal firmware error

I think there was an error loading the firmware. Without loaded firmware 
the device is unusable.

Sven



Re: acpitz diff changes warnings on compaq nc6000 [Re: CVS: cvs.openbsd.org: src]

2008-09-22 Thread Sven Gaerner
On Fri, 12 Sep 2008 11:51:40 +0300
Denis Doroshenko [EMAIL PROTECTED] 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
 

Hi,

running the snapshot from the weekend (2008-09-22) on my HP nc6400
doesn't show the above mentioned console output anymore. Getting one
step closer to run OpenBSD on the notebook. Thanks.

Below the hw.sensors output which looks fine and the dmesg.

Sven

hw.sensors.acpitz0.temp0=45.05 degC (zone temperature)
hw.sensors.acpitz1.temp0=39.05 degC (zone temperature)
hw.sensors.acpitz2.temp0=37.05 degC (zone temperature)
hw.sensors.acpitz3.temp0=23.85 degC (zone temperature)
hw.sensors.acpitz4.temp0=20.05 degC (zone temperature)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=12.49 VDC (current voltage)
hw.sensors.acpibat0.amphour0=4.43 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.22 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.04 Ah (low capacity)
hw.sensors.acpibat0.amphour3=3.88 Ah (remaining capacity), OK
hw.sensors.acpibat0.raw0=2 (battery charging), OK
hw.sensors.acpibat0.raw1=1034 (rate)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.cpu0.temp0=43.00 degC

OpenBSD 4.4-current (GENERIC.MP) #878: Sat Sep 20 14:12:25 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class)
1.83 GHz cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 3614863360 (3447MB) avail mem = 3508621312 (3346MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/05/07, BIOS32 rev. 0 @
0xf, SMBIOS rev. 2.4 @ 0xf398f (23 entries) bios0: vendor
Hewlett-Packard version 68YCU Ver. F.0B date 09/05/2007 bios0:
Hewlett-Packard HP Compaq nc6400 (RA270AA#ABD) acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT
SSDT acpi0: wakeup devices C098(S5) C0F7(S3) C0F8(S3) C0F9(S3) C0FA(S3)
C101(S0) C229(S0) C111(S5) C234(S5) C117(S5) C235(S5) acpitimer0 at
acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class)
1.83 GHz cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0:
duplicate apic id, remapped to apid 2 acpiprt0 at acpi0: bus 2 (C098)
acpiprt1 at acpi0: bus 8 (C101)
acpiprt2 at acpi0: bus 16 (C111)
acpiprt3 at acpi0: bus 32 (C117)
acpiprt4 at acpi0: bus 0 (C002)
acpiec0 at acpi0
acpicpu0 at acpi0
acpicpu1 at acpi0
acpitz0 at acpi0: critical temperature 256 degC
acpitz1 at acpi0: critical temperature 105 degC
acpitz2 at acpi0: critical temperature 105 degC
acpitz3 at acpi0: critical temperature 105 degC
acpitz4 at acpi0: critical temperature 110 degC
acpibat0 at acpi0: C1B4 model Primary serial 14908 2007/01/24 type
LIon oem Hewlett-Packard acpibat1 at acpi0: C1B3 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C249
acpibtn1 at acpi0: C241
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0x1!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000b2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1404 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe000, size 0x1000
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01:
apic 2 int 16 (irq 10) azalia0: codec[s]: Analog Devices/0x1981,
ATT/Lucent/0x3026, using Analog Devices/0x1981 audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel