Presario 2100 Laptop overheating

2005-10-19 Thread Joe Snikeris
I just installed 3.7 on a presario 2100 laptop from the openbsd i386
cd.  The laptop is having a problem with overheating and then shutting
off while it isn't doing anything.  top reports that the cpu usage is
practically zero (it is 99.8% idle), and if I just let the laptop sit
there at a console it will slowly get warmer and warmer until it
eventually shuts off.

The fan is running at a constant speed, that sounds like its max speed
(from what I remember it sounding like in windows), but I'm not sure. 
I assume that the power saving features aren't quite working yet, as
the fan starts up immediately when I turn it on after giving it enough
to completely cool down, and never turns back off again.  Usually in
windows, I would power on, the fan would come on initially, and then
in a few seconds the fan would go off, if the computer had been off
long enough for it to cool down beforehand.

The laptop had never overheated (as far as I'm aware) in windows (xp),
so I'm fairly sure this isn't a hardware related problem.  I've spent
the last hour or so searching the archives for overheating related and
fan related problems, but I was unable to find anything relevant. 
Does anyone have any experience with this or have any idea of what the
problem might be?

My dmesg follows:

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP2200+ (AuthenticAMD 686-class) 1.79 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 736665600 (719400K)
avail mem = 664723456 (649144K)
using 4278 buffers containing 36937728 bytes (36072K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2c) BIOS, date 10/16/03, BIOS32 rev. 0 @ 0xfd730
pcibios0 at bios0: rev 2.1 @ 0xfd730/0x8d0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf10/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Acer Labs M1533 ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xf000 0xcf000/0x800 0xdb000/0x1000! 0xdc000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 ATI RS100 AGP rev 0x13
ppb0 at pci0 dev 1 function 0 ATI RS100 PCI rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon IGP 320M rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 Acer Labs M5237 USB rev 0x03: irq 9,
version 1.0, legacy support
ohci0: SMM does not respond, resetting
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
autri0 at pci0 dev 6 function 0 Acer Labs M5451 Audio rev 0x02: irq 5
ac97: codec id 0x43585429 (Conexant CX20468 rev 1)
ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at autri0
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0x00
vendor Acer Labs, unknown product 0x5457 (class communications
subclass modem, rev 0x00) at pci0 dev 8 function 0 not configured
Broadcom BCM4306 rev 0x02 at pci0 dev 9 function 0 not configured
cbb0 at pci0 dev 10 function 0 O2 Micro OZ69[17]2 CardBus rev 0x00: irq 5
Texas Instruments TSB43AB21 FireWire rev 0x00 at pci0 dev 12
function 0 not configured
pciide0 at pci0 dev 16 function 0 Acer Labs M5229 UDMA IDE rev 0xc4:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
wd0 at pciide0 channel 0 drive 0: IC25N020ATCS04-0
wd0: 16-sector PIO, LBA, 19077MB, 39070080 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
cd0 at scsibus0 targ 0 lun 0: SONY, DVD+RW DW-P50A, 1.8e SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
Acer Labs M7101 Power Mgmt rev 0x00 at pci0 dev 17 function 0 not configured
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00: DP83816A,
irq 11, address 00:0d:9d:81:85:a1
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask e76d netmask ef6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / 

Re: Presario 2100 Laptop overheating

2005-10-19 Thread Gordon Willem Klok

Joe Snikeris wrote:


OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: mobile AMD Athlon(tm) XP2200+ (AuthenticAMD 686-class) 1.79 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

Hello Joe,
The good news is that your processor should feature AMDs powernow technology,
if it does you can scale the CPUs frequency and voltage back by adjusting the
hw.setperf sysctl (takes an integer value between 0 and 100 and adjusts the
fid/vid to the closest pair compatible with your processor). With a dmesg
form a newer snapshot you can identify support for this feature by looking for 
e.g.
cpu0: AMD Powernow FID VID
There are other flags FID and VID are the ones your interested in.

The bad news is that some of the early systems have a bug that prevents powernow
from being detected there is a dirty hack that can deal with this I suspect it 
is
what you need rather then repost this rather verbose thread I will
direct your attention too
http://marc.theaimsgroup.com/?l=openbsd-miscm=28007522174w=2

hmmm ... just spotted another bug in powernow-k7.c
/* On bootup the frequency should be at it's max */ is wrong true for desktop
processors Cool n' Quiet but not the mobile ones Powernow thats how you
tell them apart in any case there are more than a few people who reported that
thread as helpful so  give it a shot.

Anyway hope this was helpful,
GWK