Subject: Re: netboot install of 1.4.1 snapshot
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 07/22/1999 09:19:24
Jonathan Stone wrote:

> In message <Pine.SOL.3.96.990721184109.18359A-100000@bitter.mit.edu>,
> mcmahill@mtl.mit.edu writes:
> >
> >I'm slightly further:  I followed the Netboot-HOW-TO instructions and 
> >gave le1 as the root device.  This produced:
> >
> >root device (default md0a): le1
> >dump device: 
> >file system (default nfs): 
> >nfs_boot: trying DHCP/BOOTP
> >nfs_boot: BOOTP server: 0xa000005
> >nfs_boot: my_addr=0xa000004
> >nfs_boot: my_mask=0xffff0000
> >nfs_boot: getfh - no pathname
> >cannot mount root, error = 5
> >
> >
> >my_addr is right as is the BOOTP server.  Don't know what that "getfh - no
> >pathname stuff is."
> 
> Did your bootp/dhcp config specify wher the machien should mount its
> root from? It looks like it's saying it coudln't find the pathname to
> mount as root, when it came time to turn that string into a filehandle.

Here's an entry from my bootptab for a pmax:

	.default:\
		:hn:\
		:ht=ether:\
		:nt=timehost:\
		:dn="supp.cpr.itg.telecom.com.au":\
		:ds=dnsquery bindmaster:\
		:to=auto:
	.172_73_42_0:\
		:tc=.default:\
		:sm=255.255.255.0:\
		:gw=172.73.42.1:\
		:sa=172.73.42.42:
	# freddy.supp.cpr.itg.telecom.com.au, 172.73.42.234
	freddy:\
		:ha=08.00.2b.25.28.fc:\
		:tc=.172_73_42_0:bf=netbsd/freddy:rp=/dlboot0/freddy.root:

This is from an autogenerated file, hence the nice fancy structure.

> >On Wed, 21 Jul 1999 mcmahill@mtl.mit.edu wrote:
> >
> >> I'm trying to bring my DECstation 5000/200 back to life with the pre-1.4.1
> >> snapshot.  Since I managed to trash my drive a while back, I'm trying to
> >> install via netboot. 
> >> 
> >> got as far as
> >> 
> >> 	[[ boot messages deleted ]]
> >> 
> 
> Oh, oh. It looks like Simon forgot to do the mdsetimage to write the
> ramdisk-image into the space allocated for that. Either that or he ran
> into a pmap bug which caused mdsetimage to not work. Simon?

That could be right, now that I think of it.  I've been using "make
release" to build everything, and I think I built that kernel as a
one-of.  Today was going to be "testing the new release stuff for 1.4"
day, so if all's OK I'll upload 1.4.1 today.

Dan - if you want something quicker, send me an email.

> (that aside, setting up a DHCP or bootp server with an entry tellings
> the `root-on-nfs' machine what to mount as its root should work).

Simon.