From nobody@FreeBSD.org  Thu Apr 25 02:41:48 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5D18737B421
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Apr 2002 02:41:44 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g3P9fiZ02216;
	Thu, 25 Apr 2002 02:41:44 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200204250941.g3P9fiZ02216@freefall.freebsd.org>
Date: Thu, 25 Apr 2002 02:41:44 -0700 (PDT)
From: Dan Naumov <jago@telefragged.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: top, vmstat and systat refuse to work.
X-Send-Pr-Version: www-1.0

>Number:         37451
>Category:       i386
>Synopsis:       top, vmstat and systat refuse to work.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 25 02:50:01 PDT 2002
>Closed-Date:    Wed May 01 16:59:21 PDT 2002
>Last-Modified:  Wed May 01 16:59:21 PDT 2002
>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:

From: Peter Pentchev <roam@ringlet.net>
To: Dan Naumov <jago@telefragged.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/37451: top, vmstat and systat refuse to work.
Date: Thu, 25 Apr 2002 14:09:03 +0300

 On Thu, Apr 25, 2002 at 02:41:44AM -0700, Dan Naumov wrote:
 > 
 > >Number:         37451
 > >Category:       i386
 > >Synopsis:       top, vmstat and systat refuse to work.
 > >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 
 
 Would you, by any chance, happen to be booting in some way that
 bypasses the FreeBSD kernel loader?  If so, then this is a known
 problem, referenced in a couple of other PR's..
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 I had to translate this sentence into English because I could not read the original Sanskrit.

From: Peter Pentchev <roam@ringlet.net>
To: Dmitry Sivachenko <demon@FreeBSD.ORG>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: i386/37451: top, vmstat and systat refuse to work.
Date: Thu, 25 Apr 2002 14:38:07 +0300

 --jKBxcB1XkHIR0Eqt
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Apr 25, 2002 at 03:30:41PM +0400, Dmitry Sivachenko wrote:
 > On Thu, Apr 25, 2002 at 04:10:05AM -0700, Peter Pentchev wrote:
 > > The following reply was made to PR i386/37451; it has been noted by GNA=
 TS.
 > >=20
 > > From: Peter Pentchev <roam@ringlet.net>
 > > To: Dan Naumov <jago@telefragged.com>
 > > Cc: bug-followup@FreeBSD.org
 > > Subject: Re: i386/37451: top, vmstat and systat refuse to work.
 > > Date: Thu, 25 Apr 2002 14:09:03 +0300
 > >=20
 > >  On Thu, Apr 25, 2002 at 02:41:44AM -0700, Dan Naumov wrote:
 > >  >=20
 > >  > >Number:         37451
 > >  > >Category:       i386
 > >  > >Synopsis:       top, vmstat and systat refuse to work.
 > >  > >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/J=
 AGO  i386
 > >  > >Description:
 > >  > Hello.
 > >  >=20
 > >  > I am having bizarre problems using system statistic utilities with m=
 y FreeBSD 4.5 system:
 > >  >=20
 > >  > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 > >  > bash-2.05a$ top
 > >  > top: nlist failed
 > >  >=20
 > >  > bash-2.05a$ systat
 > >  > (no output whatsoever)
 > >  >=20
 > >  > bash-2.05a$ vmstat
 > >  > vmstat: undefined symbols:
 > >  >  _kmemstatistics _bucket _zlist=20
 > > =20
 > >  Would you, by any chance, happen to be booting in some way that
 > >  bypasses the FreeBSD kernel loader?  If so, then this is a known
 > >  problem, referenced in a couple of other PR's..
 > > =20
 >=20
 
 > I guess, not.  I am experiencing exactly the same problem with my two
 > days old -STABLE.
 
 Could you post a dmesg(8) output?  'dmesg -a' would be nicer, but it is
 up to your discretion :)
 
 G'luck,
 Peter
 
 --=20
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 If there were no counterfactuals, this sentence would not have been paradox=
 ical.
 
 --jKBxcB1XkHIR0Eqt
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iEYEARECAAYFAjzH6p8ACgkQ7Ri2jRYZRVOCLACeIizArs9E5kEk4jI43wp21HSf
 bsMAnA4fEZR9k/b6RLiY2+CP8ZV5wx3a
 =oCIL
 -----END PGP SIGNATURE-----
 
 --jKBxcB1XkHIR0Eqt--

From: Dan Naumov <dan_naumov@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org, bug-followup@FreeBSD.org
Cc: roam@ringlet.net
Subject: Re: i386/37451: top, vmstat and systat refuse to work.
Date: Thu, 25 Apr 2002 05:53:52 -0700 (PDT)

 I looked closer at the boot process and noticed that
 right before boot2 presents me with an ability to load
 the kernel, I get a "No /boot/loader" error. When I
 type "boot" at the boot2 promt and it starts loading
 the kernel, there is also a "loader(8) metadata
 missing !" error. However when I cd to /boot, I see
 loader.conf, loader itself, and other related files.
 What could possibly be wrong and how can I make the
 system use loader to boot the kernel ? Originally,
 /boot/loader was not set to be executable (what would
 it matter that early in the booting process though),
 so I went and chmodded it to 755, didn't help.
 
 ls -la from /boot:
 
 ================================================================
 drwxr-xr-x   3 root  wheel     512 Apr 24 21:40 .
 drwxr-xr-x  20 root  wheel     512 Apr 24 21:41 ..
 -r--r--r--   1 root  wheel     512 Apr 24 21:40 boot0
 -r--r--r--   1 root  wheel     512 Apr 24 21:40 boot1
 -r--r--r--   1 root  wheel    7680 Apr 24 21:40 boot2
 -r-xr-xr-x   1 root  wheel    1136 Apr 24 21:40 cdboot
 drwxr-xr-x   2 root  wheel     512 Apr 21 20:49
 defaults
 -rwxr-xr-x   1 root  wheel  155648 Apr 24 21:40 loader
 -r--r--r--   1 root  wheel    9237 Jan 28 15:12
 loader.4th
 -rw-r--r--   1 root  wheel      67 Apr 21 00:03
 loader.conf
 -r--r--r--   1 root  wheel   12012 Jan 28 15:12
 loader.help
 -r-xr-xr-x   1 root  wheel  159744 Apr 21 20:49
 loader.old
 -r--r--r--   1 root  wheel     338 Jan 28 15:12
 loader.rc
 -r--r--r--   1 root  wheel     512 Apr 24 21:40 mbr
 -r-xr-xr-x   1 root  wheel  157696 Apr 24 21:40
 pxeboot
 -r--r--r--   1 root  wheel   25121 Jan 28 15:12
 support.4th
 ================================================================
 
 also, dmesg -a 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 1400060896 Hz
 CPU: AMD Athlon(tm) processor (1400.06-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
 swapon: adding /dev/ad0s1b as swap device
 Automatic boot in progress...
 /dev/ad0s1a: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1a: 
 clean, 2446660 free 
 (18108 frags, 303569 blocks, 0.6% fragmentation)
 /dev/ad0s1e: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1e: 
 clean, 24902 free 
 (22 frags, 3110 blocks, 0.1% fragmentation)
 /dev/ad0s1f: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1f: 
 clean, 10076047 free 
 (1103 frags, 1259368 blocks, 0.0% fragmentation)
 /dev/ad1s1e: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad1s1e: 
 clean, 4136664 free 
 (904 frags, 516970 blocks, 0.0% fragmentation)
 Doing initial network setup:
  hostname
 .
 rl0:
 flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
 1500
 	inet 172.16.161.81 netmask 0xffffff00 broadcast
 172.16.161.255
 	inet6 fe80::2e0:7dff:fe9f:be31%rl0 prefixlen 64
 tentative scopeid 0x1 
 	ether 00:e0:7d:9f:be:31
 	media: Ethernet autoselect (none)
 	status: no carrier
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
 16384
 	inet6 ::1 prefixlen 128 
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
 	inet 127.0.0.1 netmask 0xff000000 
 add net default: gateway 172.16.161.1
 Additional routing options:
  TCP keepalive=YES
 .
 Routing daemons:
 .
 Additional daemons:
  syslogd
 .
 Doing additional network setup:
 .
 Starting final network daemons:
 .
 ELF ldconfig path: /usr/lib /usr/lib/compat
 /usr/X11R6/lib /usr/local/lib
 a.out ldconfig path: /usr/lib/aout
 /usr/lib/compat/aout /usr/X11R6/lib/aout
 Starting standard daemons:
  inetd
  cron
 .
 Initial rc.i386 initialization:
 .
 Configuring syscons:
  keymap
  blanktime
  screensaver
  moused
 .
 Additional ABI support:
  linux
 .
 Starting local daemons:
 Master = UDMA33 
 Slave  = ???
 .
 Local package initialization:
  Samba
 .
 Additional TCP options:
 .
 
 Thu Apr 25 15:33:11 EEST 2002
 ================================================================
 
 In case you're wondering, that UDMA33 thing in "local
 daemons" is output of atacontrol set to change the
 transfer mode of my CDROM on boot.
 
 Any more information needed ?
 
 Sincerely,
 Dan Naumov
 
 
 
 __________________________________________________
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/

From: Dan Naumov <dan_naumov@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org, bug-followup@FreeBSD.org
Cc: roam@ringlet.net
Subject: Re: i386/37451: top, vmstat and systat refuse to work.
Date: Thu, 25 Apr 2002 05:53:52 -0700 (PDT)

 I looked closer at the boot process and noticed that
 right before boot2 presents me with an ability to load
 the kernel, I get a "No /boot/loader" error. When I
 type "boot" at the boot2 promt and it starts loading
 the kernel, there is also a "loader(8) metadata
 missing !" error. However when I cd to /boot, I see
 loader.conf, loader itself, and other related files.
 What could possibly be wrong and how can I make the
 system use loader to boot the kernel ? Originally,
 /boot/loader was not set to be executable (what would
 it matter that early in the booting process though),
 so I went and chmodded it to 755, didn't help.
 
 ls -la from /boot:
 
 ================================================================
 drwxr-xr-x   3 root  wheel     512 Apr 24 21:40 .
 drwxr-xr-x  20 root  wheel     512 Apr 24 21:41 ..
 -r--r--r--   1 root  wheel     512 Apr 24 21:40 boot0
 -r--r--r--   1 root  wheel     512 Apr 24 21:40 boot1
 -r--r--r--   1 root  wheel    7680 Apr 24 21:40 boot2
 -r-xr-xr-x   1 root  wheel    1136 Apr 24 21:40 cdboot
 drwxr-xr-x   2 root  wheel     512 Apr 21 20:49
 defaults
 -rwxr-xr-x   1 root  wheel  155648 Apr 24 21:40 loader
 -r--r--r--   1 root  wheel    9237 Jan 28 15:12
 loader.4th
 -rw-r--r--   1 root  wheel      67 Apr 21 00:03
 loader.conf
 -r--r--r--   1 root  wheel   12012 Jan 28 15:12
 loader.help
 -r-xr-xr-x   1 root  wheel  159744 Apr 21 20:49
 loader.old
 -r--r--r--   1 root  wheel     338 Jan 28 15:12
 loader.rc
 -r--r--r--   1 root  wheel     512 Apr 24 21:40 mbr
 -r-xr-xr-x   1 root  wheel  157696 Apr 24 21:40
 pxeboot
 -r--r--r--   1 root  wheel   25121 Jan 28 15:12
 support.4th
 ================================================================
 
 also, dmesg -a 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 1400060896 Hz
 CPU: AMD Athlon(tm) processor (1400.06-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
 swapon: adding /dev/ad0s1b as swap device
 Automatic boot in progress...
 /dev/ad0s1a: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1a: 
 clean, 2446660 free 
 (18108 frags, 303569 blocks, 0.6% fragmentation)
 /dev/ad0s1e: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1e: 
 clean, 24902 free 
 (22 frags, 3110 blocks, 0.1% fragmentation)
 /dev/ad0s1f: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad0s1f: 
 clean, 10076047 free 
 (1103 frags, 1259368 blocks, 0.0% fragmentation)
 /dev/ad1s1e: 
 FILESYSTEM CLEAN; SKIPPING CHECKS
 /dev/ad1s1e: 
 clean, 4136664 free 
 (904 frags, 516970 blocks, 0.0% fragmentation)
 Doing initial network setup:
  hostname
 .
 rl0:
 flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
 1500
 	inet 172.16.161.81 netmask 0xffffff00 broadcast
 172.16.161.255
 	inet6 fe80::2e0:7dff:fe9f:be31%rl0 prefixlen 64
 tentative scopeid 0x1 
 	ether 00:e0:7d:9f:be:31
 	media: Ethernet autoselect (none)
 	status: no carrier
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
 16384
 	inet6 ::1 prefixlen 128 
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
 	inet 127.0.0.1 netmask 0xff000000 
 add net default: gateway 172.16.161.1
 Additional routing options:
  TCP keepalive=YES
 .
 Routing daemons:
 .
 Additional daemons:
  syslogd
 .
 Doing additional network setup:
 .
 Starting final network daemons:
 .
 ELF ldconfig path: /usr/lib /usr/lib/compat
 /usr/X11R6/lib /usr/local/lib
 a.out ldconfig path: /usr/lib/aout
 /usr/lib/compat/aout /usr/X11R6/lib/aout
 Starting standard daemons:
  inetd
  cron
 .
 Initial rc.i386 initialization:
 .
 Configuring syscons:
  keymap
  blanktime
  screensaver
  moused
 .
 Additional ABI support:
  linux
 .
 Starting local daemons:
 Master = UDMA33 
 Slave  = ???
 .
 Local package initialization:
  Samba
 .
 Additional TCP options:
 .
 
 Thu Apr 25 15:33:11 EEST 2002
 ================================================================
 
 In case you're wondering, that UDMA33 thing in "local
 daemons" is output of atacontrol set to change the
 transfer mode of my CDROM on boot.
 
 Any more information needed ?
 
 Sincerely,
 Dan Naumov
 
 
 
 __________________________________________________
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/

From: Dan Naumov <dan_naumov@yahoo.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/37451: top, vmstat and systat refuse to work.
Date: Fri, 26 Apr 2002 02:44:55 -0700 (PDT)

 Problem solved, this is how I did it:
 
 My previous partition layout was as following:
 
 /boot  - 50 MB
 swap   - 1024 MB
 /home  - about 7 GB
 /      - rest of the HD
 
 I heard on some mailing lists that people were having
 similar problems as I did, and apparently the problem
 went away when they re-partitioned and made their /
 less then 2 GB. So I went ahead and did a full
 reinstall.
 
 /      - 512 MB
 swap   - 512 MB
 /home  - 29 GB
 /tmp   - 512 MB
 /usr   - 6 GB
 
 After changing the partition scheme to THIS, all my
 problems went away. /boot/loader started working, so
 did "top", "systat" and "vmstat". /me is happy.
 
 However, I really think that this weird limitation of
 /boot/loader should be documented somewhere,
 preferably the Handbook.
 /var - 512 MB
 
 __________________________________________________
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/

From: Giorgos Keramidas <keramida@FreeBSD.ORG>
To: Dan Naumov <dan_naumov@yahoo.com>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: i386/37451: top, vmstat and systat refuse to work.
Date: Fri, 26 Apr 2002 16:19:03 +0300

 On 2002-04-26 02:50, Dan Naumov wrote:
 > Problem solved, this is how I did it:
 > ...
 > I heard on some mailing lists that people were having
 > similar problems as I did, and apparently the problem
 > went away when they re-partitioned and made their /
 > less then 2 GB.
 > ...
 > However, I really think that this weird limitation of
 > /boot/loader should be documented somewhere,
 > preferably the Handbook.
 
 This is not a limitation of /boot/loader but a limitation of certain
 PC hardware combinations (the BIOS can't boot sectors above 2 GB).
 You're right it ought to be documented (if it isn't already).
 
 - Giorgos

From: Johan Karlsson <k@numeri.campus.luth.se>
To: keramida@FreeBSD.ORG
Cc: bug-followup@FreeBSD.ORG, dan_naumov@yahoo.com
Subject: Re: i386/37451: top, vmstat and systat refuse to work
Date: Thu, 2 May 2002 01:01:17 +0200

 Hi
 
 > This is not a limitation of /boot/loader but a limitation of certain
 > PC hardware combinations (the BIOS can't boot sectors above 2 GB).
 > You're right it ought to be documented (if it isn't already).
 
 The BIOS limitation is documented in several places.
 boot(8) see the IMPORTANT NOTICE at the end.
 FAQ http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#DISK-DIVIDE-RESTRICTIONS
 
 The original question is also a FAQ
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#NLIST-FAILED
 I belive the second case applies here.
 
 
 I will close this PR later if no-one beat me to it.
 
 /Johan K
 
 -- 
 Johan Karlsson		mailto:k@numeri.campus.luth.se
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Wed May 1 16:57:49 PDT 2002 
State-Changed-Why:  
As noted in the PR, one have to put root below 1024 cylinders. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37451 
>Unformatted:
