Results 1 to 3 of 3

Thread: Issues loading a custom kernel module during boot

  1. #1

    Default Issues loading a custom kernel module during boot

    I have compiled a kernel module, say smartcam.ko . I want to load it automatically during boot. So I copied the module to /lib/modules/`uname -r`/kernel/drivers/media/ .
    And I added the entries "/sbin/modprobe videodev" & "/sbin/insmod smartcam.ko" (as suggested by smartcam installation), to /etc/init.d/boot.local . Now I'm expecting the module smartcam.ko to be loaded during boot. Sadly it's not happening. Any suggestions please?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,333
    Blog Entries
    15

    Default Re: Issues loading a custom kernel module during boot

    Hi
    You need to remove the entries you created and then add via YaST /etc/system editor under the kernel entry 'Module to load at boot'

    That's assuming you checked the module worked via the modprobe command?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Issues loading a custom kernel module during boot

    Thanks for you suggestion, i edited the /etc/sysconfig/kernel file. edited a line MODULES_LOADED_ON_BOOT="videodev smartcam". That worked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •