Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 15:50:24 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Jason Dusek <jason-dusek@uiowa.edu>
Cc:        questions@freebsd.org
Subject:   Re: kldload won't load
Message-ID:  <20040712215024.GV29797@gentoo-npk.bmp.ub>
In-Reply-To: <40F2E6A4.2000505@uiowa.edu>
References:  <40F2E6A4.2000505@uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8wegO0ZIEthSfkkRAkN0AJwPByKDHKWHyOeF+mw5b2Y4D2AaSACZAe6I
McvC8O2s5gUOLrvhzMem38o=
=c5D7
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040712215024.GV29797>