Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Gentoo 4.1.15 autoload only one module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Fri Mar 18, 2016 2:27 pm    Post subject: [solved] Gentoo 4.1.15 autoload only one module Reply with quote

Hi all,
I have this problem: in my new gentoo with kernel 4.1.15 on a vmware virtual machine, I have to load two modules

I have specified the name of the modules into the /etc/conf.d/modules file and I have loaded the modules service using the command
Code:
rc-update add modules boot

What I'm seeing after a new reboot is that only the last module has been loaded.

This is the modules file:
Code:
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
#module for cesys card
modules="ceusb3"
#module for vmware shared folders
modules="vmhgfs"


Why this? What do I have to do to load even the second module?

Thank you for any help


Last edited by dr_berta on Mon Mar 21, 2016 1:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Mar 18, 2016 4:09 pm    Post subject: Reply with quote

It looks like you need:
Code:
# cesys card; vmware shared folders
modules="ceusb3 vmhgfs"
module_ceusb3_args=""
module_vmhgfs_args=""
The last two for completeness, for when you want to pass args to the kernel module/s on load.
Back to top
View user's profile Send private message
dr_berta
n00b
n00b


Joined: 07 Mar 2016
Posts: 24
Location: Carpi (MO)

PostPosted: Mon Mar 21, 2016 1:24 pm    Post subject: Reply with quote

Thank you steveL.
I didn't find this information on the documentation.

It works.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu Mar 24, 2016 5:36 am    Post subject: Reply with quote

You're welcome, dr_berta. :-)

(It's there in the first line; that's what I based off.)

Admittedly it would be better if some of the further examples used both (or others in combination.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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