From owner-freebsd-current Mon Aug 3 12:15:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19742 for freebsd-current-outgoing; Mon, 3 Aug 1998 12:15:32 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pinhead.parag.codegen.com (ppp-asfm08--184.sirius.net [205.134.241.184]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA19704 for ; Mon, 3 Aug 1998 12:15:16 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Received: from pinhead.parag.codegen.com (localhost.parag.codegen.com [127.0.0.1]) by pinhead.parag.codegen.com (8.8.8/8.8.8) with ESMTP id MAA20516; Mon, 3 Aug 1998 12:15:01 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Message-Id: <199808031915.MAA20516@pinhead.parag.codegen.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith 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 11:40:44 PDT." <199808031840.LAA00340@dingo.cdrom.com> X-Face: =O'Kj74icvU|oS*<7gS/8'\Pbpm}okVj*@UC!IgkmZQAO!W[|iBiMs*|)n*`X ]pW%m>Oz_mK^Gdazsr.Z0/JsFS1uF8gBVIoChGwOy{EK=<6g?aHE`[\S]C]T0Wm X-URL: http://www.codegen.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Aug 1998 12:15:01 -0700 From: Parag Patel Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Do you have 'options NFS_ROOT' in your kernel config? Yup, sure do. >It might help to check the nfs_diskless_valid flag, and maybe dump the >nfs_diskless structure just to see whether it's coming in correctly. >The family is set by the bootstrap, so if it's not copied, it's not >going to work. It's set to 0 (not valid). I'm dumping various structs out to see what's going on. So far, I've determined that netboot has initialized bootinfo.bi_nfs_diskless to something but accessing that pointer directly in cpu_rootconf() causes a crash, probably 'cause things have already been mapped and that addr is inaccessible(?). The pointer is 0x94320, but I don't know if it's OK yet. The rest of bootinfo looks OK (correct version at least). nfs_diskless.swap_nblks is zero where it should be 0x8000, so something's definitely wrong. I'm printing out some more fields in nfs_diskless to see if anything else is wrong there. netboot is happy with the freebsd.x.x.x.x file contents, displays the appropriate messages, and finds root and swap just fine. >Bruce's changes to the way the root filesystem is found *may* have >something to do with this. Perhaps - whatever's happening appears to be happening before this point, but I am continuing to dig into it... -- Parag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message