From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 01:57:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1192837B401 for ; Thu, 7 Aug 2003 01:57:44 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2091943F85 for ; Thu, 7 Aug 2003 01:57:43 -0700 (PDT) (envelope-from freebsduser@comcast.net) Received: from comcast.net (12-225-141-88.client.attbi.com[12.225.141.88](untrusted sender)) by comcast.net (sccrmhc13) with SMTP id <2003080708574201600gltn0e> (Authid: animotions); Thu, 7 Aug 2003 08:57:42 +0000 Message-ID: <3F321484.8090908@comcast.net> Date: Thu, 07 Aug 2003 01:57:40 -0700 From: K Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions References: <3F31E78F.5080409@comcast.net> In-Reply-To: <3F31E78F.5080409@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Diskless boot swap space (or swap over NFS) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 08:57:44 -0000 K Anderson wrote: > I am trying to create swap space for diskless bootted systems but it > doesn't seem to be working out. > > Before the kernel panics the system reports reports > subnet mask 255.255.0 router 192.168.100.105 rootfs > 192.168.100.105:/diskless_root swapfs > 192.168.100.105:/conf/192.168.100.201/swap.192.168.100.201 swapsize > 64000 KB hostname flip. > > When booting the kernel panics with > panic: nfs_boot: mountd swap, error=72 > > The NFS export looks like this > /diskless_root -alldirs -ro -network 192.168.100 > /usr -alldirs -maproot=0 -network 192.168.100 > > Disk slices are reported as > /dev/ad0s1a 504M 172M 292M 37% / > /dev/ad0s1g 504M 12M 452M 3% /tmp > /dev/ad0s1h 36G 7.1G 26G 22% /usr > /dev/ad0s1f 504M 41M 423M 9% /var > /dev/ad3s1 3.9G 2.9G 739M 80% /mouse > /dev/ad2s1e 3.9G 138M 3.5G 4% /diskless_root > procfs 4.0K 4.0K 0B 100% /proc > linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc > > Anybody have any ideas on correcting this? > > TIA > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Oh, I'm using isc's dhcpd to do all this. I made a modification to the dhcpd.conf and things have changed. swapfs 192.168.100.105:/diskless_root/conf/192.168.100.201/swap.192.168.100.201 swapsize 64000 KB hostname flip Now the kernel panics with: panic: nfs_boot: lookup swap, error=2 Who writes these error messages? Sheeesh. But that's not the problem, I've googled and the only thing I come up with is something back from the last millenium that says to change some file then recompile. Has anybody else gotten swap to work over nfs with disless booting and if so how did you overcome the problem? The computer doing the diskless booting has 32 meg of ram.