module is not loaded when in /etc/modules, but can load it by hand

Tom H tomh0665 at gmail.com
Sun Dec 21 17:00:35 UTC 2014


On Sun, Dec 21, 2014 at 10:14 AM, robert rottermann <robert at redcor.ch> wrote:
>
> I just compiled my very first linux module..
> I can load it using insmode, but it is not found during the boot process
> also modprobe does not find it
>
> this is what I did:
> mkdir -p /lib/modules/$(uname -r)/kernel/drivers/n_gsm
> cp n_gsm.ko  /lib/modules/$(uname -r)/kernel/drivers/n_gsm
>
> and aded a line
> n_gsm
> to /etc/modules
>
> are there more steps I need to execute?

depmod



More information about the ubuntu-users mailing list