kldload won't load
Nathan Kinkade
nkinkade at ub.edu.bz
Mon Jul 12 14:51:14 PDT 2004
On Mon, Jul 12, 2004 at 02:29:40PM -0500, Jason Dusek wrote:
> 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
I believe that kldload will look for modules in /boot/kernel. I'm not
exactly sure what /sys/modules represent, but you might try to move the
module from /sys/modules to /boot/kernel and then try to load it with
kldload. Someone else can likely shed more light on this.
Nathan
--
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040712/1b886bad/attachment.bin
More information about the freebsd-questions
mailing list