On Tue, Sep 26, 2006 at 03:08:52PM +0200, Antoine Jacoutot wrote:
> Hi.
re

> I have sensorsd running on a 4.0-current macppc.
> It always worked fine and when min/max values of a sensor are 
> reached, a mail is sent to me.
> Recently, a problem happened: each time I start the sensorsd daemon 
> (either on boot up or manually), I get the following warning mail:
> 28.00 degC (high=60.01 degC)

in some cases sensor values cannot be provided by the hw
(most drivers fail a few times a day on my machines).
in this case the sensor state is marked as "unknown"
or "invalid". that's why you are getting your mail.
as we can see 28c is not really even a valid temperature.

> Strange since I only set up high value for this one, and not low.
> 
> # extract from /etc/sensorsd.conf
> hw.sensors.7:high=60C:\
>  :command=echo "%2 \(high=%4\)" \
>  | mail -s "[`hostname`] sensorsd WARNING \(CPU Temp.\)" root
> 
> For info:
> $ sysctl hw
> hw.machine=macppc
> hw.model=7447A (Revision 0x101)
> hw.ncpu=1
> hw.byteorder=4321
> hw.physmem=536870912
> hw.usermem=535818240
> hw.pagesize=4096
> hw.disknames=cd0,wd0
> hw.diskcount=2
> hw.sensors.0=adt0, +2.5Vin, 1.45 V DC
> hw.sensors.1=adt0, Vccp, 0.00 V DC
> hw.sensors.2=adt0, Vcc, 3.32 V DC
> hw.sensors.3=adt0, +5V, 0.00 V DC
> hw.sensors.4=adt0, +12V, 0.00 V DC
> hw.sensors.5=adt0, Remote1 Temp, 43.00 degC
> hw.sensors.6=adt0, Internal Temp, 43.00 degC
> hw.sensors.7=adt0, Remote2 Temp, 44.00 degC
> hw.cpuspeed=1499
> hw.product=PowerBook5,5
> 
> OpenBSD 4.0 (GENERIC) #1056: Sat Sep 16 21:21:14 MDT 2006
>     [EMAIL PROTECTED]:/usr/src/sys/arch/macppc/compile/GENERIC
> real mem = 536870912 (524288K)
> avail mem = 482914304 (471596K)
> using 1254 buffers containing 26841088 bytes (26212K) of memory
> mainbus0 (root): model PowerBook5,5
> cpu0 at mainbus0: 7447A (Revision 0x101): 1499 MHz: 512KB L2 cache
> memc0 at mainbus0: uni-n
> "hw-clock" at memc0 not configured
> ki2c0 at memc0 offset 0xf8001000
> iic0 at ki2c0
> adt0 at iic0 addr 0xae: adt7460 rev 0x6a
> "lmu-controller" at iic0 addr 0x42 not configured
> mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 11 function 0 "Apple UniNorth AGP" rev 0x00
> vgafb0 at pci0 dev 16 function 0 "ATI Radeon Mobility M10 NP" rev 0x00, 
> mmio
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x5
> pci1 at mpcpcibr1 bus 0
> pchb1 at pci1 dev 11 function 0 "Apple UniNorth PCI" rev 0x00
> "Broadcom BCM4306" rev 0x03 at pci1 dev 18 function 0 not configured
> cbb0 at pci1 dev 19 function 0 "TI PCI1510 CardBus" rev 0x00: irq 53
> macobio0 at pci1 dev 23 function 0 "Apple Intrepid" rev 0x00
> openpic0 at macobio0 offset 0x40000: version 0x4614
> macgpio0 at macobio0 offset 0x50
> macgpio1 at macgpio0 offset 0x9 irq 47
> "programmer-switch" at macgpio0 offset 0x11 not configured
> "cpu-vcore-select" at macgpio0 offset 0x6b not configured
> "gpio4" at macgpio0 offset 0x1e not configured
> "gpio5" at macgpio0 offset 0x6f not configured
> "gpio6" at macgpio0 offset 0x70 not configured
> "extint-gpio4" at macgpio0 offset 0x5c not configured
> "gpio11" at macgpio0 offset 0x75 not configured
> "extint-gpio15" at macgpio0 offset 0x67 not configured
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 22,23
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> snapper0 at macobio0 offset 0x10000: irq 30,1,2
> "timer" at macobio0 offset 0x15000 not configured
> adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 3 targets
> akbd0 at adb0 addr 2: iBook keyboard with inverted T (ISO layout)
> wskbd0 at akbd0: console keyboard, using wsdisplay0
> ams0 at adb0 addr 3: EMP trackpad <tpad> 4-button, 400 dpi
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: brightness/volume/eject buttons
> apm0 at adb0: battery flags 0x5, 61% charged
> pi2c0 at adb0
> iic1 at pi2c0
> "battery" at macobio0 offset 0x0 not configured
> "backlight" at macobio0 offset 0xf300 not configured
> ki2c1 at macobio0 offset 0x18000
> iic2 at ki2c1
> wdc0 at macobio0 offset 0x20000 irq 24: DMA
> atapiscsi0 at wdc0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-R UJ-825, DAND> SCSI0 5/cdrom 
> removable
> cd0(wdc0:0:0): using BIOS timings, DMA mode 2
> audio0 at snapper0
> ohci0 at pci1 dev 24 function 0 "Apple Intrepid USB" rev 0x00: irq 0, 
> version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Apple OHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ohci1 at pci1 dev 25 function 0 "Apple Intrepid USB" rev 0x00: irq 0, 
> version 1.0, legacy support
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Apple OHCI root hub, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> ohci2 at pci1 dev 26 function 0 "Apple Intrepid USB" rev 0x00: irq 29, 
> version 1.0, legacy support
> usb2 at ohci2: USB revision 1.0
> uhub2 at usb2
> uhub2: Apple OHCI root hub, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> ohci3 at pci1 dev 27 function 0 "NEC USB" rev 0x43: irq 63, version 1.0
> usb3 at ohci3: USB revision 1.0
> uhub3 at usb3
> uhub3: NEC OHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 3 ports with 3 removable, self powered
> ohci4 at pci1 dev 27 function 1 "NEC USB" rev 0x43: irq 63, version 1.0
> usb4 at ohci4: USB revision 1.0
> uhub4 at usb4
> uhub4: NEC OHCI root hub, rev 1.00/1.00, addr 1
> uhub4: 2 ports with 2 removable, self powered
> ehci0 at pci1 dev 27 function 2 "NEC USB" rev 0x04: irq 63
> usb5 at ehci0: USB revision 2.0
> uhub5 at usb5
> uhub5: NEC EHCI root hub, rev 2.00/1.00, addr 1
> uhub5: 5 ports with 5 removable, self powered
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0x20
> pcmcia0 at cardslot0
> mpcpcibr2 at mainbus0 pci: uni-north, Revision 0xff
> pci2 at mpcpcibr2 bus 0
> pchb2 at pci2 dev 11 function 0 "Apple UniNorth PCI" rev 0x00
> kauaiata0 at pci2 dev 13 function 0 "Apple Intrepid ATA" rev 0x00
> wdc1 at kauaiata0 irq 39: DMA
> wd0 at wdc1 channel 0 drive 0: <Hitachi IC25N080ATMR04-0>
> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
> "Apple UniNorth Firewire" rev 0x81 at pci2 dev 14 function 0 not 
> configured
> gem0 at pci2 dev 15 function 0 "Apple Uni-N2 GMAC" rev 0x80: irq 41, 
> address 00:0d:93:3c:64:8a
> eephy0 at gem0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 1
> uhidev0 at uhub4 port 1 configuration 1 interface 0
> uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
> ums0 at uhidev0: 3 buttons and Z dir.
> wsmouse1 at ums0 mux 0
> Apple Computer ADB device, class 0/0, rev 2.00/15.86, addr 2, uhub2 port 1 
> not configured
> bootpath: '/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/bsd'
> boot device: wd0.
> root on wd0a
> rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
> 
> Cheers!
> 
> -- 
> Antoine
> 

-- 
    paranoic mickey       (my employers have changed but, the name has remained)

Reply via email to