Date: Thu, 25 Apr 2002 02:41:44 -0700 (PDT) From: Dan Naumov <jago@telefragged.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/37451: top, vmstat and systat refuse to work. Message-ID: <200204250941.g3P9fiZ02216@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 37451
>Category: i386
>Synopsis: top, vmstat and systat refuse to work.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 25 02:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Dan Naumov
>Release: 4.5-STABLE
>Organization:
none, home user
>Environment:
FreeBSD localhost.localdomain 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Apr 24 21:33:58 EEST 2002 jago@localhost.localdomain:/usr/obj/usr/src/sys/JAGO i386
>Description:
Hello.
I am having bizarre problems using system statistic utilities with my FreeBSD 4.5 system:
================================
bash-2.05a$ top
top: nlist failed
bash-2.05a$ systat
(no output whatsoever)
bash-2.05a$ vmstat
vmstat: undefined symbols:
_kmemstatistics _bucket _zlist
================================
I originally made a minimal install of FreeBSD 4.5-RELEASE through FTP (off the official FreeBSD.Org ftp site). Right after the install, I tried these commands and go the issues mentioned above. I proceeded to install the ports collection, installed several applications, CVSupped the source for -STABLE, rebuilt the world and kernel. Nothing. I waited a few more days, CVSupped again, rebuild the world/kernel again. Nothing. Same problem.
I have absolutely no idea what could possibly be
causing this and I would really appreciate help. The problem persists, no matter whether I use my own custom kernel or a GENERIC one, so it's not kernel-config related. Anyways, here's some info on my current system.
dmesg output:
Copyright (c) 1992-2002 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.5-STABLE #0: Wed Apr 24 21:33:58 EEST 2002
jago@localhost.localdomain:/usr/obj/usr/src/sys/JAGO
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 1424831152 Hz
CPU: AMD Athlon(tm) processor (1424.83-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x644 Stepping = 4
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory = 536805376 (524224K bytes)
avail memory = 518774784 (506616K bytes)
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00fddb0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AMD-761 host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AMD-761 PCI-PCI (4x AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia GeForce DDR graphics accelerator> at 5.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xc400-0xc40f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <VIA 83C572 USB controller> at 7.2 irq 5
pci0: <VIA 83C572 USB controller> at 7.3 irq 5
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4
rl0: <RealTek 8139 10/100BaseTX> port 0xe000-0xe0ff mem 0xdc001000-0xdc0010ff irq 11 at device 10.0 on pci0
rl0: Ethernet address: 00:e0:7d:9f:be:31
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative CT5880-C> port 0xe400-0xe43f irq 11 at device 14.0 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xc97ff on isa0
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 IntelliMouse, device ID 3
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
ad0: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata0-master UDMA100
ad1: 16446MB <ST317221A> [33416/16/63] at ata0-slave UDMA66
acd0: CDROM <CD-ROM 52X/AKH> at ata1-master PIO4
Mounting root from ufs:ad0s1a
WARNING: / was not properly dismounted
uname -a output:
bash-2.05a$ uname -a
FreeBSD localhost.localdomain 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Apr 24 21:33:58 EEST 2002 jago@localhost.localdomain:/usr/obj/usr/src/sys/JAGO i386
Any ideas and suggestions are welcome.
Sincerely,
Dan Naumov aka Jago
>How-To-Repeat:
Acquire the hardware seen in dmesg, install the bare-bone minimal system off an FTP. Try running "top", "systat" or "vmstat". I haven't tried doing a complete reinstall, so I am not sure whether it would fix it.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204250941.g3P9fiZ02216>
