Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 14:26:44 -0800 (PST)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        mbettinger@championelevators.com (Matthew Bettinger)
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: TrueMobile 1300
Message-ID:  <20040311222644.9D48D16A4CF@hub.freebsd.org>
In-Reply-To: <20040311143649.672fdc2f@localhost> from Matthew Bettinger at "Mar 11, 2004 02:36:49 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@windriver.com | Wind River Systems
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================



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