Do you use loader(8), or directly boot your kernel from boot blocks?
On Mon, Mar 27, 2000 at 07:59:58PM -0500, mi@video-collage.com wrote:
> Hello! I did the entire procedure described in UPDATING to go from
> 3.4-STABLE to 4.0-STABLE last night.
>
> Most of the things work, but the top, and systat. And Xaccel (from XiG)
> can not find a single free terminal to run anymore. Although, all 8
> gettys are running fine.
>
> Here is an attempt to proof my sanity:
>
> root@rtfm:/usr/src (114) ls -l `which top`
> -r-xr-sr-x 1 root kmem 32224 Mar 27 18:14 /usr/bin/top
> root@rtfm:/usr/src (115) ldd !$
> ldd `which top`
> /usr/bin/top:
> libncurses.so.5 => /usr/lib/libncurses.so.5 (0x1806b000)
> libm.so.2 => /usr/lib/libm.so.2 (0x180aa000)
> libkvm.so.2 => /usr/lib/libkvm.so.2 (0x180c6000)
> libc.so.4 => /usr/lib/libc.so.4 (0x180cc000)
> root@rtfm:/usr/src (116) ls -l /usr/lib/libncurses.so.5 \
> /usr/lib/libm.so.2 /usr/lib/libkvm.so.2 /usr/lib/libc.so.4
> -r--r--r-- 1 root wheel 539604 Mar 27 18:10 /usr/lib/libc.so.4
> -r--r--r-- 1 root wheel 18196 Mar 27 18:10 /usr/lib/libkvm.so.2
> -r--r--r-- 1 root wheel 117180 Mar 27 18:09 /usr/lib/libm.so.2
> -r--r--r-- 1 root wheel 246712 Mar 27 18:09 /usr/lib/libncurses.so.5
> root@rtfm:/usr/src (117) uname -a
> FreeBSD rtfm.newton 4.0-STABLE FreeBSD 4.0-STABLE #1: \
> Mon Mar 27 05:13:38 EST 2000
> mi@rtfm.newton:/4G/src/sys/compile/RTFM2 i386
> root@rtfm:/usr/src (118) top
> top: nlist failed
> root@rtfm:/usr/src (119) ls -l /kernel
> -r-xr-xr-x 1 root wheel 2358025 Mar 27 05:16 /kernel
> root@rtfm:/usr/src (120) sysctl kern.bootfile
> kern.bootfile: /kernel
> root@rtfm:/usr/src (121) ls -lt /4G/src/sys/compile/RTFM2 | tail -1
> -rw-rw-r-- 1 mi wheel 5893 Mar 27 04:58 ioconf.c
>
> systat dies similarly:
>
> systat: nlist: can't find following symbols:
> _bufspace
> _numvnodes
> _freevnodes
> _numdirtybuffers
>
> but w and uptime work just fine...
>
> I did the buildworld, the installed mknod and modules.
> build/installkernel, reboot to single-user. Installed world again as
> prescribed, rebooted to multiuser. The Xaccel was working, but top,
> systat were not. I rebuilt the kernel again, rebooted. Xaccel does not
> come up, neither does top or systat. I rebuilt and re-installed world
> and top and systat still don't work :(
>
> Any ideas? Thanks!
>
> -mi
--
Ruslan Ermilov Sysadmin and DBA of the
ru@ucb.crimea.ua United Commercial Bank,
ru@FreeBSD.org FreeBSD committer,
+380.652.247.647 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message