Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2000 15:40:21 -0800
From:      Matt Wilbur <matt@efs.org>
To:        freebsd-questions@freebsd.org
Subject:   diskless fbsd: top: nlist failed
Message-ID:  <3A2D7CE5.D39CC460@efs.org>

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

i'm fighting with getting a 4.2R diskless system up, and i've gotten
pretty far.  the system boots OK, mounts the MFS mounts (/conf/etc,
etc.), but i have some really weird problems that look kvm-ish in
nature.  

grind3# top
top: nlist failed

grind3# pstat -s
pstat: undefined symbol: _numvnodes

/dev/mem and /dev/kmem are there, have even been recreated with MAKEDEV,
and are 0640 root.kmem...

I started with 4.1R on this.. Recently upgraded the server to 4.2R, then
dumped its /,/usr,/var filesystems to the nfs rootdisk.. 

the client is an older system (pre-PXE), so i'm using an etherboot
floppy, and it seems to be doing fine..  it loads the kernel from the
bootp server (4.2R kernel compiled with all the bootp goodies).  the
kernel is one freshly built from within the diskless system, then moved
to the tftpboot dir on the server.  ARG.  the modules are all freshly
installed.

one weird thing i see is when i compare a kldstat between this diskless
system and a regular 4.2R system.  here's the kldstat output from a good
system:

grind2# kldstat
Id Refs Address    Size     Name
 1    2 0xc0100000 33470c   kernel
 2    1 0xc170e000 4000     mfs.ko      

here's from grind3, the diskless system:
grind3# kldstat
Id Refs Address    Size     Name
 1    4 0xc0000000 40000000 kernel
 2    1 0xc0c14000 4000     mfs.ko
 3    1 0xc0c1f000 4000     null.ko
 4    1 0xc0c37000 3000     vn.ko      

why the kernel size?  am I doing something dumb? is there a bootstrap
that has to happen before the kernel loads?  grr.

i'm starting to feel really really dumb here.  can anyone help out?

thanks
Matt Wilbur

various config files follow:
server bootptab:
grind3:\
        :ht=ether:\
        :bf=/tftpboot/kernel:\
        :ha=00010256e7a1:\
        :sm=255.255.255.0:\
        :hn:\
        :rp="192.203.79.202:/d1":\
        :ip=192.203.79.203:\
        :vm=rfc1048:      

server bootparams:
grind3  root=192.203.79.202:/d1

client rc.conf:
usbd_enable="NO"
sendmail_enable="NO"
ipv6_enable="NO"
nfs_server_enable="YES"
nfs_client_enable="YES"
ifconfig_xl0="inet 192.203.79.203  netmask 255.255.255.0"
hostname="grind3"
swapfile="/swapfile"


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?3A2D7CE5.D39CC460>