Re: kldload won't load

From: Bill Paul <wpaul_at_FreeBSD.ORG>
Date: Mon, 12 Jul 2004 19:44:38 +0000 (GMT)
> 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_at_windriver.com | Wind River Systems
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================
Received on Mon Jul 12 2004 - 17:44:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC