From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 19:44:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id B9CFB16A4D1; Mon, 12 Jul 2004 19:44:38 +0000 (GMT) In-Reply-To: <40F2E6A4.2000505@uiowa.edu> from Jason Dusek at "Jul 12, 2004 02:29:40 pm" To: jason-dusek@uiowa.edu (Jason Dusek) Date: Mon, 12 Jul 2004 19:44:38 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040712194438.B9CFB16A4D1@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-current@freebsd.org Subject: Re: kldload won't load X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 19:44:38 -0000 > Hi, > > Yesterday I built the ndis module (ndis.ko) but I can't seem to load it: > > 5 # ls /sys/modules/ndis/ | grep 'ndis' > kern_ndis.o > ndis.kld > ndis.ko > subr_ndis.o > 6 # kldload -v /sys/modules/ndis/ndis.ko > kldload: can't load /sys/modules/ndis/ndis.ko: No such file or directory > > I'm running 5.2.1, and I have not done a buildworld since I installed from the > CD. Is there something wrong with kldload? Will 'make world' with new source fix > this problem? > > - Jason > *sigh* When a kernel module doesn't load correctly, this is your cue to run "dmesg" and look at the messages printed in the kernel message buffer. That will tell you why it didn't load. Of course, nobody ever remembers this, and apparently running xconsole is no longer in vogue. This needs to be a FAQ. Every time I have to tell someone to go back and look at what dmesg says, god kills a kitten. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================