From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 00:12:12 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 5C9EE16A4CE for ; Mon, 26 Jan 2004 00:12:12 -0800 (PST) Received: from goblin.sonhosting.net (MKCVIII.dsl.saunalahti.fi [62.142.33.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9420D43D49 for ; Mon, 26 Jan 2004 00:12:10 -0800 (PST) (envelope-from mike@sonhosting.net) Received: from sonhosting.net (localhost.sonhosting.net [127.0.0.1]) i0PIRcqe043870 for ; Sun, 25 Jan 2004 20:27:38 +0200 (EET) (envelope-from mike@sonhosting.net) From: User Mike Received: from 10.0.0.80 (SquirrelMail authenticated user mike) by 10.0.10.1 with HTTP; Sun, 25 Jan 2004 20:27:38 +0200 (EET) Message-ID: <3979.10.0.0.80.1075055258.squirrel@10.0.10.1> Date: Sun, 25 Jan 2004 20:27:38 +0200 (EET) To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=0.3 required=5.0 tests=MSG_ID_ADDED_BY_MTA_3 version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Network booting with PXE 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: Mon, 26 Jan 2004 08:12:12 -0000 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. 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 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. 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.