TrueMobile 1300

Bill Paul wpaul at FreeBSD.ORG
Thu Mar 11 14:26:44 PST 2004


> Hello,

[...]
 
> The make process works but then it errors out when trying to load
> the module.
> 
> # cd /sys/modules/if_ndis
> # ndiscvt -i foo.inf -s foo.sys -o ndis_driver_data.h
> # make; make load
> 
> objcopy --strip-debug ndis.ko
> /sbin/kldload -v /usr/src/sys/modules/ndis/ndis.ko
> kldload: can't load /usr/src/sys/modules/ndis/ndis.ko: No such file
> or directory*** Error code 1
> 
> Stop in /usr/src/sys/modules/ndis.
> D600# 

At this point, you're supposed to type "dmesg" and see what messages
(if any) were generated by the kernel. If kldload won't load the
module, it's usually because the kernel doesn't like it for some
reason. You'll find out why if you look at the console messages
with dmesg.

(Note: you're _SUPPOSED_ to be watching the console when you load
new drivers. You must have X running and don't have a console window
open.)

-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
=============================================================================


More information about the freebsd-mobile mailing list