Find the answer to your Linux question:
Results 1 to 5 of 5
OS: SUSE LINUX 10 SP1 attached: /etc/modprobe.conf I have to add the vmmon module by manually executing the 'modprobe vmmon' command. how can i load it automatically at system boot. ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248

    Exclamation how to load the module automatically

    OS: SUSE LINUX 10 SP1
    attached: /etc/modprobe.conf

    I have to add the vmmon module by manually executing the 'modprobe vmmon' command.

    how can i load it automatically at system boot.

    following are the details

    # lsmod |grep vmmon

    # modprobe vmmon

    # lsmod |grep vmmon
    vmmon 509676 0

    # modprobe --show-depends vmmon
    insmod /lib/modules/2.6.16.46-0.12-smp/misc/vmmon.ko

    # modinfo vmmon
    filename: /lib/modules/2.6.16.46-0.12-smp/misc/vmmon.ko
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    srcversion: BF31F4CC068BC05C3709657
    depends:
    vermagic: 2.6.16.46-0.12-smp SMP gcc-4.1

    Regards
    Attached Files Attached Files

  2. #2
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    You can add a file for it under /etc/modprobe.d/. Alternately, you can put it in the /etc/modprobe.conf.local file. I think that the format for either of these would be this:
    Code:
    options  vmmon
    Look at the other modprobe.conf file for examples.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    I add the following line in /etc/modprobe.conf and /etc/modeprobe.conf.local, then reboot and got the following message at boot

    WARNING: /etc/modprobe.conf line 62: ignoring bad line starting with 'options'

    WARNING: /etc/modprobe.conf.local line 5: ignoring bad line starting with 'options'

    any help would be highly appreciated
    Regards
    Maaz

  4. #4
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    Since this is Suse, there is another way to do this.

    Open YaST and click on the /etc/sysconfig section. Under the kernel section there is a line "MODULES_LOADED_ON_BOOT". Add your module in the box. This has worked for me in the past.

    Make sure you delete the lines that you added to the modprobe files.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  5. #5
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    Thanks Nice help Dear

    I've achieve the same by putting the complete path of modules in /etc/init.d/boot.local, now all the modules loaded automatically

    Anyway Nice help

Posting Permissions

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