From owner-freebsd-current Mon Aug 3 14:32:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14477 for freebsd-current-outgoing; Mon, 3 Aug 1998 14:32:59 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14409 for ; Mon, 3 Aug 1998 14:32:40 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id OAA01171; Mon, 3 Aug 1998 14:31:16 -0700 (PDT) Message-Id: <199808032131.OAA01171@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Parag Patel cc: freebsd-current@FreeBSD.ORG Subject: Re: NFS diskless booting (NFS root/swap) broken in -current? In-reply-to: Your message of "Mon, 03 Aug 1998 14:24:07 PDT." <199808032124.OAA21264@pinhead.parag.codegen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Aug 1998 14:31:16 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I found the problem. The bug is in locore.s. The following patch fixes NFS booting. The change to use the newer opt_nfsroot.h instead of opt_nfs.h was good, but the #ifdef for NFS also needed to be changed to NFS_ROOT. > > That was it - locore just wasn't copying the NFS info from its passed-in args into the kernel global nfs_diskless, so there was no data for the kernel to use to boot. Thanks for tracking this down; I've just committed your fix. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message