Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 11:44:55 +0100
From:      Brice Gensburger <briceg@worldnet.net>
To:        freebsd-questions@FreeBSD.org
Subject:   top: nlist failed with FreeBSD 4.2 RELEASE and 4.3 BETA
Message-ID:  <4.3.1.0.20010316111309.02847d60@mail.worldnet.net>

next in thread | raw e-mail | index | archive | help
	Hi,

	We have some strange problem with a FreeBSD install.

Here's the trick: with a freshly installed FreeBSD 4.2:

bash-2.04$ top
top: nlist failed
bash-2.04$ pstat
pstat: undefined symbol: _numvnodes

at first, i thought: ok, let's redo a kernel and make the world..

the box is now 4.3 BETA
$ uname -a
FreeBSD zinc 4.3-BETA FreeBSD 4.3-BETA #0: Thu Mar 15 11:06:54 CET 
2001 
root@oxygen.psi1.kapt.net:/mnt/sys/FreeBSD/KAPTECH-1/src/sys/compile/KAPTECH-1 
i386
$ top
top: nlist failed
$ pstat
pstat: undefined symbol: _numvnodes

after searching the web for help, i've found some hints to a problem with boot:
http://ns.xinetd.com/freebsd/msg00518.html
and,
http://www.geocrawler.com/archives/3/151/2001/1/0/5044722/
the last one says:
This is the error you get when you don't boot via /boot/loader. If your 
boot0 is loading your kernel directly, it doesn't have all of the necessary 
symbols at runtime.

ok, i can buy that, because we're trying to setup an automatic install for 
freeBSD, and, since it's not standard, it may well be the root of the problem..

( brief overview:
we boot with PXE, get an IP with DHCP, get an MFS.root done with the 4.2 
RELEASE stock kernel, an install.cfg for sysinstall..
sysinstall executes, and finally mount a NFS to get at a copy of the 4.2R 
CD and install files from this one.
i must stress all we changed was the install.cfg, to have sysinstall run 
non-interactive with the defaults that pleased us on our other installs.
http://matt.simerson.net/computing/freebsd.netboot.shtml )

For what i see from the boot sequence, once the install is over and the 
server boot from disk, /boot/loader isn't run. i don't see the Btx loader 
anywhere...
i've looked at the man pages for boot, boot0cfg, the FreeBSD handbook, and 
the Complete FreeBSD i bought a few months ago, and i didn't find how to 
correct the boot sequence.. :-|
i ran /stand/sysinstall, to reinstall the Boot Manager, to no avail...
any idea?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.0.20010316111309.02847d60>