Subject: Re: NFS root problems [Was: Re: Kernel cross build problems]
To: Ian Fry <Ian.Fry@sophos.com>
From: David Brownlee <abs@netbsd.org>
List: port-arm26
Date: 11/21/2001 19:13:13
On Tue, 20 Nov 2001, Ian Fry wrote:

> On Sun, Nov 18, 2001 at 03:49:54PM +0000, Ben Harris wrote:
> > On Tue, 13 Nov 2001, Ian Fry wrote:
> > > So, of these, only an 8k file produces an 8k file! Anything less than
> > > 8k produces a zero size file, and anything above 32k (including 32k)
> > > produces a file 24k too short. Hmmm...
> > Both of those bugs are now either fixed or worked around, depending on
> > your point of view.  You'll want pmap.c 1.35 or later.
>
> Success! With the latest pmap.c (1.36), I can boot multi-user (you have to
> boot single user and enable swap first, though). I've attached a dmesg from
> the boot.
>
> Is there any way to get swap enabled earlier for netbooting? I looked at the
> rc.d scripts, and swap2 enables swap on network devices, but it gets run far
> too late to be useful.

	A quick kludge would be to change swap2's PROVIDE/REQUIRE lines
	to:

# PROVIDE: nonlocalswap localswap
# REQUIRE: disks

	What might make more sense would be to adjust swap1 to determine
	if the root filesystem was nfs mounted, and swap on everything
	if so...

-- 
		David/absolute		-- www.netbsd.org: No hype required --