Date: Sat, 19 Feb 2000 23:20:46 -0600 From: Chris Csanady <cc@137.org> To: "Kenneth D. Merry" <ken@kdm.org> Cc: freebsd-alpha@freebsd.org Subject: Re: Netbooting.. Message-ID: <38AF79AE.15C1FE6E@ameslab.gov> References: <38AB2424.C4C9D80D@ameslab.gov> <20000219193644.A81810@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Kenneth D. Merry" wrote: > > On Wed, Feb 16, 2000 at 16:26:44 -0600, Chris Csanady wrote: > > Ok, I have tried several things, but I have yet to get FreeBSD to boot > > over the network. These are test machines, and I need to have more than > > one OS on them. > > > > At first, I was trying bootp'ing the loader, but using a local filesystem > > as the root. It looks like the loader was not intended to be used this > > way though. > > > > Right now, I would be happy netbooting the entire system, but I can't get > > this to work either. I am using the Feb 8 snapshot, and I continually > > get the following: > > > > FreeBSD/alpha SRM net boot, Revision 0.1 > > (jkh@beast.freebsd.org, Tue Feb 8 11:30:11 GMT 2000) > > Memory: 131072 k > > boot: ethernet address: 08:00:2b:86:77:45 > > net_open: server addr: 147.155.137.1 > > net_open: server path: /raid/diskless/ariel > > . > > . > > Mounting root from nfs:147.155.137.1:/raid/diskless/ariel > > no such device 'ariel' > > setrootbyname failed > > panic: nfs_mountroot: socreate(0000): 43 > > > > My bootptab entry looks like > > > > .default.freebsd:\ > > :sa=147.155.137.1:hd=/scl/boot:bf=netboot:\ > > :rp="147.155.137.1:/raid/diskless/ariel":\ > > :sm=255.255.254.0:\ > > :gw=147.155.136.252:\ > > :hn:ht=ether:vm=rfc1048:\ > > :ds=147.155.137.2,147.155.137.3: > > ariel:ip=147.155.137.91:ha=08002B867745:tc=.default.freebsd: > > > > and the fstab has > > > > 147.155.137.1:/raid/diskless/ariel / nfs rw 0 0 > > > > Am I misssing something? The nfs server is actually an Irix box > > if it matters. The bootp/tftp server is different.. > > FWIW, I'm having similar problems with a DEC3000/300 box I'm trying to > netboot. (It took me a while to figure out that I had to boot "ez0" > instead of "esa0" to get bootp instead of MOP.) > > My bootptab looks like this: > > modena.plutotech.com: \ > :ht=ethernet:ha=08002bbb4eb3: \ > :ip=206.168.67.197:sm=255.255.255.128: \ > :sa=206.168.67.172:bf=netboot:rp=/b/modena: \ > :vm=rfc10248 > > I get through the first part of the kernel boot, and then I get this > (copied by hand, I'm not using a serial console): > > Mounting root from nfs:subway:/b/modena > no such device 'modena' > setroobyname failed > panic: nfs_mountroot: socreate(0000): 43 > > The stack trace is: > > Debugger() > panic() > nfs_mountroot() > nfs_mount() > vfs_mountroot_try() > vfs_mountroot() > mi_startup() > locorestart() > > I may try to track this down tomorrow. It seems like it should be > solveable. BTW, I'm running with -current as of ~February 12th, I think, > and I'm netbooting (bootp, tftp and NFS) off a FreeBSD/alpha box. Do you have the bootp options in your kernel? Drew pointed out that I need these as well as the NFS_ROOT option in my kernel. options BOOTP # Use BOOTP to obtain IP address/hostname options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info options BOOTP_NFSV3 # Use NFS v3 to NFS mount root options BOOTP_COMPAT # Workaround for broken bootp daemons. options BOOTP_WIRED_TO=dc0 # Use interface fxp0 for BOOTP Also, it turned out that dc0 does not autodetect the media correctly on my boxes. If you have xp1000's, you will probably need the included patches. My bootptab finally ended up looking like: .default.freebsd:\ :sa=147.155.137.1:hd=/scl/boot:bf=netboot:\ :rp="147.155.137.1:/d/fbsd40.alpha/":\ :sm=255.255.254.0:\ :gw=147.155.136.252:\ :hn:ht=ether:vm=rfc1048: puck:ip=147.155.137.90:ha=0000F871D472:tc=.default.freebsd: ariel:ip=147.155.137.91:ha=08002B867745:tc=.default.freebsd: Aside from the Irix 6.5.4 nfs server, things work fine. I can panic it consistently with a make world though, even if /usr/obj is local.. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38AF79AE.15C1FE6E>