Bug 22707 - fpe in healthd when it starts
Summary: fpe in healthd when it starts
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: jeh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-09 01:20 UTC by John Summerfield
Modified: 2001-01-08 19:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Summerfield 2000-11-09 01:20:00 UTC
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.
Comment 1 Steve Price freebsd_committer freebsd_triage 2000-11-09 01:21:34 UTC
Responsible Changed
From-To: freebsd-bugs->jeh

Over to the maintainer of this port and the author of the program 
in question.
Comment 2 jeh freebsd_committer freebsd_triage 2000-11-14 01:14:59 UTC
State Changed
From-To: open->feedback

Waiting for verivication of fix
Comment 3 jeh freebsd_committer freebsd_triage 2001-01-08 19:44:37 UTC
State Changed
From-To: feedback->closed

No response on feedback.  It seems fixed, assuming so.