Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 09:01:21 -0700 (PDT)
From:      Jon <cykyc@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Diskless setup, stalling at bootpc_init
Message-ID:  <20000813160121.4134.qmail@web4501.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello All

I"m trying to setup a diskless boot with 4.1 as the
server, but I'm running into a problem.  After the
etherboot 3c509.com loads, and finds the bootpd
server, downloads the kernel, and the kernel starts to
boot, it freezes at "bootpc_init: using network
interface 'ep0'"

This is the server:
FreeBSD nova 4.1-STABLE FreeBSD 4.1-STABLE #0: Fri Aug
 4 19:26:40 CDT 2000
root@nova:/usr/obj/usr/src/sys/NOVA  i386

I have tftp and bootp commented out of a generic
/etc/inetd.conf file. Here's /etc/exports:
/usr    -maproot=0:0 -alldirs ndisk0.test.org

I copied GENERIC, and added the following for a
DISKLESS kernel:
options         NFS
options         NFS_ROOT
options         BOOTP
options		BOOTP_NFSROOT
options         BOOTP_COMPAT
... and removed the FFS_ROOT option.

I installed the kernel in /usr/tftpboot as kernel. 
/usr/tftpboot is symlinked to /tftpboot.  I also
hardlinked /usr/tftpboot/kernel to
/usr/diskless/rootfs/{client} as kernel.

My /etc/bootptab file looks like this:
.enet:\
        :ds=192.168.0.10 192.168.0.5:\
        :sm=255.255.255.0:\
	:dn=test.org:\
        :gw=fw1:vm=rfc1048:t=ether:
ndisk0:ha=0020afcace47:bf=/tftpboot/kernel:ip=192.168.0.15:tc=.enet:

I then created a /tftpboot/cfg.192.168.0.15 that looks
like this:
rootfs 192.168.0.10:/usr/diskless/rootfs/192.168.0.15
swapfs 192.168.0.10:/usr/diskless/swapfs
swapsize 20000
hostname ndisk0.test.org

And lastly, I'm using ehterboot-4.6.1, and created
3c509.com for the bootrom.  It works, and can transfer
the ELF kernel over, which does boot.  It just stalls
out at the bootpc_init line, which I'm still thinking
is in the kernel process.  Any suggestions?

TIA,

Jon

p.s. If not set, please reply to cykyc@yahoo.org

__________________________________________________
Do You Yahoo!?
Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/


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?20000813160121.4134.qmail>