From root@OS2.ami.com.au  Wed Nov  8 17:12:33 2000
Return-Path: <root@OS2.ami.com.au>
Received: from netsrvr.ami.com.au (netsrvr.ami.com.au [203.55.31.38])
	by hub.freebsd.org (Postfix) with ESMTP id D78E537B479
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Nov 2000 17:12:29 -0800 (PST)
Received: from emu.os2.ami.com.au (IDENT:root@c0s17.ami.com.au [203.55.31.82])
	by netsrvr.ami.com.au (8.9.3/8.9.3) with ESMTP id JAA31534;
	Thu, 9 Nov 2000 09:12:10 +0800
Received: from dugite.os2.ami.com.au (dugite.os2.ami.com.au [192.168.1.1])
	by emu.os2.ami.com.au (8.10.0/8.10.0) with ESMTP id eA91BfZ21134;
	Thu, 9 Nov 2000 09:11:41 +0800
Received: (from root@localhost)
	by dugite.os2.ami.com.au (8.11.0/8.11.0) id eA91ADV01467;
	Thu, 9 Nov 2000 09:10:13 +0800 (WST)
	(envelope-from root)
Message-Id: <200011090059.eA90xUV01429@dugite.os2.ami.com.au>
Date: Thu, 9 Nov 2000 09:10:13 +0800 (WST)
From: John Summerfield <summer@OS2.ami.com.au>
Sender: root@OS2.ami.com.au
Reply-To: summer@OS2.ami.com.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: fpe in healthd
X-Send-Pr-Version: 3.2

>Number:         22708
>Category:       i386
>Synopsis:       fpe in healthd when it starts
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jeh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 08 17:20:00 PST 2000
>Closed-Date:    Sat Nov 10 17:21:32 PST 2001
>Last-Modified:  Sat Nov 10 17:26:06 PST 2001
>Originator:     John Summerfield
>Release:        FreeBSD 4.1.1-RELEASE i386
>Organization:
>Environment:

ASUS P5S-B Motherboard.
	
>Description:

healthd dies on startup.
I've downloaded and built from source - healthd-0.6.0.tar.gz - with debugging turned on.

It gets an ftp on line 270 of getMBInfo.c:
  n=ReadByte(0x2A);
  if (n == 255)
    *r3 = 0;
  else
    *r3 = 1350000 / (n * div3 * FanType3); // <---- here.
	
  return 0;

Here's what gdb says:
  
#0  0x804b3e7 in getFanSp (r1=0xbfbfe9e4, r2=0xbfbfe9e8, r3=0xbfbfe9ec)
    at getMBinfo.c:270
(xxgdb) print div3
No symbol "div3" in current context.
(xxgdb) info locals
FanType3 = 1
div1 = 4
div2 = 4
n = 0 '\000'


It's urgent from your point of view because I plan to trash this system; 
I'm not going to continue running FreeBSD on it.

Here-s o/p of "dmesg"

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.1.1-RELEASE #7: Fri Oct 27 14:46:47 WST 2000
    root@dugite.os2.ami.com.au:/usr/src/sys/compile/DUGITE
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 125816832 (122868K bytes)
avail memory = 118738944 (115956K bytes)
Preloaded elf kernel "kernel" at 0xc03b3000.
VESA: v2.0, 8192k memory, flags:0x4, mode table:0xc0340a42 (1000022)
VESA: SiS
K6-family MTRR support enabled (2 registers)
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA33 controller> port 0xd000-0xd00f,0xd400-0xd403,0xd800-0xd807,0xe000-0xe003,0xe400-0xe407 irq 14 at device 0.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x1039, dev=0x0009) at 1.1
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> at 0.0 irq 11
ahc0: <Adaptec 2940 SCSI adapter> port 0xa800-0xa8ff mem 0xde800000-0xde800fff irq 10 at device 11.0 on pci0
aic7870: Single Channel A, SCSI Id=7, 16/255 SCBs
rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem 0xde000000-0xde0000ff irq 11 at device 12.0 on pci0
rl0: Ethernet address: 00:00:21:01:1d:12
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
vt0 on isa0
vt0: generic, 80 col, color, 8 scr, unknown kbd, [R3.20-b24]
vt0: driver is using old-style compatability shims
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
DUMMYNET initialized (000608)
BRIDGE 990810, have 3 interfaces
-- index 1  type 6 phy 0 addrl 6 addr 00.00.21.01.1d.12
IPv6 packet filtering initialized, default to accept, logging limited to 100 packets/entry
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master using UDMA33
ad1: 19623MB <IBM-DTLA-305020> [39870/16/63] at ata0-slave using UDMA33
acd0: CDROM <ATAPI-CD ROM-DRIVE-50MAX> at ata1-slave using UDMA33
Waiting 15 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <CONNER CTT8000-S 1.17> Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
da0 at ahc0 bus 0 target 0 lun 0
da0: <FUJITSU M2513A 1200> Removable Direct Access SCSI-CCS device 
da0: 10.000MB/s transfers (10.000MHz, offset 10)
da0: 217MB (446325 512 byte sectors: 64H 32S/T 217C)
Mounting root from ufs:/dev/ad1s1a
pid 222 (healthd), uid 0: exited on signal 8 (core dumped)
pid 1035 (healthd), uid 0: exited on signal 8 (core dumped)
pid 1038 (healthd), uid 0: exited on signal 8 (core dumped)
pid 1046 (healthd), uid 0: exited on signal 8 (core dumped)
cd9660: RockRidge Extension
	
>How-To-Repeat:

Happens every time I start healthd on this sytem.

>Fix:



--eA9117U01437.973731667/dugite.os2.ami.com.au--



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jeh 
Responsible-Changed-By: bmah 
Responsible-Changed-When: Sat Nov 10 17:17:12 PST 2001 
Responsible-Changed-Why:  
I have no idea if this PR is still applicable or not but... 
over to healthd's author and maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22708 
State-Changed-From-To: open->closed 
State-Changed-By: jeh 
State-Changed-When: Sat Nov 10 17:21:32 PST 2001 
State-Changed-Why:  
Problem fixed in Feb 2001.  Current version is 0.6.5 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22708 
>Unformatted:
