From owner-freebsd-current Thu Apr 25 17: 9:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 16E1237B417; Thu, 25 Apr 2002 17:09:19 -0700 (PDT) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 26 Apr 2002 01:09:16 +0100 (BST) To: Harti Brandt Cc: brian@freebsd.org, current@freebsd.org Subject: Re: Revision 1.88 of kern_linker.c breaks module loading for diskless In-Reply-To: Your message of "Thu, 25 Apr 2002 19:21:05 +0200." <20020425184846.Q795-100000@beagle.fokus.gmd.de> Date: Fri, 26 Apr 2002 01:09:16 +0100 From: Ian Dowse Message-ID: <200204260109.aa01691@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020425184846.Q795-100000@beagle.fokus.gmd.de>, Harti Brandt write s: >the check for rootdev != NODEV introduced in rev 1.88 breaks loading of >kernel modules from an NFS mounted root in diskless configurations. >Dropping in gdb and printing rootdev shows -1 which is, I assume, NODEV. Ah, that would explain a problem I saw recently on a netbooted box where kldload only worked with full module paths. Could `rootvnode' be checked for NULL instead? Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message