Date: Fri, 26 Apr 2002 01:09:16 +0100 From: Ian Dowse <iedowse@maths.tcd.ie> To: Harti Brandt <brandt@fokus.gmd.de> Cc: brian@freebsd.org, current@freebsd.org Subject: Re: Revision 1.88 of kern_linker.c breaks module loading for diskless Message-ID: <200204260109.aa01691@salmon.maths.tcd.ie> In-Reply-To: Your message of "Thu, 25 Apr 2002 19:21:05 %2B0200." <20020425184846.Q795-100000@beagle.fokus.gmd.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200204260109.aa01691>