From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 08:57:47 2004 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 020EE16A4CE for ; Mon, 26 Jan 2004 08:57:47 -0800 (PST) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C74243D2F for ; Mon, 26 Jan 2004 08:57:44 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: AVk7i/DzjntI0xmjbLJHGg 1075136262 Received: from [206.26.199.146] (unknown [206.27.244.214]) by www.fastmail.fm (Postfix) with ESMTP id 899CE4B9B15; Mon, 26 Jan 2004 11:57:41 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1AlA35-000DOK-00; Mon, 26 Jan 2004 10:57:19 -0600 Date: Mon, 26 Jan 2004 10:57:19 -0600 From: Nathan Kinkade To: User Mike Message-ID: <20040126165719.GC3937@npkfbsd> Mail-Followup-To: User Mike , freebsd-questions@freebsd.org References: <3979.10.0.0.80.1075055258.squirrel@10.0.10.1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VywGB/WGlW4DM4P8" Content-Disposition: inline In-Reply-To: <3979.10.0.0.80.1075055258.squirrel@10.0.10.1> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: freebsd-questions@freebsd.org Subject: Re: Network booting with PXE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 16:57:47 -0000 --VywGB/WGlW4DM4P8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 25, 2004 at 08:27:38PM +0200, User Mike wrote: > I've succesfully put up 4 diskless machines to boot up 4.9-release thru > PXE. They all work almost flawlessly. But when I connected an old 1GB hard > drive into one of them for swap, as NFS swap is a bit slow, it hangs for > some reason at trying to mount the hard drive as / at boot up. >=20 > Dmesg reports on all diskless machines: > Adjusted interface xl0 > Shutdown interface faith0 > Mounting root from ufs:/dev/ad0s1a > no such device 'ad' > setrootbyname failed > ffs_mountroot: can't find rootvp > Root mount failed: 6 > Mounting root from nfs: > NFS ROOT: 10.0.10.1:/var/diskless >=20 > But on the machine I added disk for swap it never gets past "no such > device 'a0'" because it exists and calls reset of ata0 and something and > hangs there until reset button is pressed. >=20 > I'd like to know if there is a way to not try to mount root on local disks > and only NFS. Should this be done in kernel or loader ...? Since the > machine simply sits there I'd appreciate any suggestions. Did you recompile your kernel with options: options BOOTP # Use BOOTP to obtain IP address/hostname options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info options BOOTP_COMPAT # Workaround for broken bootp daemons. By the way, how much RAM do you have in those machines? I have found that I get by fine with no swap at all using as little as 32MB - though I am using Linux diskless terminals, but this shouldn't matter. Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --VywGB/WGlW4DM4P8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFAFUbvO0ZIEthSfkkRAikeAKCcrxPidXX+KCRrJ+lalA3CdXCu2wCgnMyv AvHTm17ndUTuQxBuaYPfCK4= =8C7w -----END PGP SIGNATURE----- --VywGB/WGlW4DM4P8--