View previous topic :: View next topic |
Author |
Message |
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Thu Dec 18, 2014 4:05 pm Post subject: Error in kernel modules file? |
|
|
I have installed VirtualBox onto my system and have an odd issue. The modules are not loading by default, but there is a file to load them. When I use sudo to probe them manually, I get this.
Code: |
libkmod: kmod_config_parse: /etc/modprobe.d/virtualbox.conf line 1: ignoring bad line starting with 'vboxdrv'
libkmod: kmod_config_parse: /etc/modprobe.d/virtualbox.conf line 2: ignoring bad line starting with 'vboxnetflt'
libkmod: kmod_config_parse: /etc/modprobe.d/virtualbox.conf line 3: ignoring bad line starting with 'vboxnetadp'
|
The file in question contains only three lines. Each line is the name of the module, nothing else. I know I can add the modules to /etc/conf.d/modules, but I would liek to figure this out first. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
EmaRsk Apprentice
Joined: 07 Sep 2004 Posts: 158 Location: Italy
|
Posted: Fri Dec 19, 2014 11:55 am Post subject: |
|
|
man modprobe.d |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Mon Dec 22, 2014 2:51 pm Post subject: |
|
|
I understand modprobe.d, but I did not create the file and it is not loading the files on its own. It seems odd to have a file created which does not appear to do anything. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
EmaRsk Apprentice
Joined: 07 Sep 2004 Posts: 158 Location: Italy
|
Posted: Mon Dec 22, 2014 3:03 pm Post subject: |
|
|
The modprobe.d man page states that
Quote: | The format of and files under modprobe.d is simple: one command per line, |
plus blank lines and comments.
The allowed commands are:
Quote: | alias wildcard modulename
blacklist modulename
install modulename command...
options modulename option...
remove modulename command...
softdep modulename pre: modules... post: modules... |
From your post, I understand that you didn't put any command in your files, just a list of module names; this is not the right syntax, as the errors inform you. |
|
Back to top |
|
|
|