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

robert rottermann robert at redcor.ch
Sun Dec 21 18:45:39 UTC 2014


worked
thanks

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
>




More information about the ubuntu-users mailing list