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

Tom H tomh0665 at gmail.com
Thu Dec 25 09:23:41 UTC 2014


On Sun, Dec 21, 2014 at 1:45 PM, robert rottermann <robert at redcor.ch> wrote:
> On 21.12.2014 18:00, Tom H wrote:
>> 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
>
> worked
> thanks

You're welcome.



More information about the ubuntu-users mailing list