Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error in kernel modules file?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1397
Location: Fayetteville, NC, USA

PostPosted: Thu Dec 18, 2014 4:05 pm    Post subject: Error in kernel modules file? Reply with quote

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
View user's profile Send private message
EmaRsk
Apprentice
Apprentice


Joined: 07 Sep 2004
Posts: 158
Location: Italy

PostPosted: Fri Dec 19, 2014 11:55 am    Post subject: Reply with quote

man modprobe.d
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1397
Location: Fayetteville, NC, USA

PostPosted: Mon Dec 22, 2014 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
EmaRsk
Apprentice
Apprentice


Joined: 07 Sep 2004
Posts: 158
Location: Italy

PostPosted: Mon Dec 22, 2014 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum