Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How does network kernel modules get loaded?
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
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 173

PostPosted: Fri Oct 26, 2012 1:39 am    Post subject: How does network kernel modules get loaded? Reply with quote

I see the network protocol can be configured as module in menuconfig, like ipv6, net filter, etc.

For the device driver, I know the kernel sends events to udev when probing PCI bus, udev loads the module.
But if i compile network protocol as module, who is in charge to load them?

like if I compile ipv6 as module, when running dhcpcd(with ipv6 support), will dhcpcd load the ipv6 module and acquire a ipv6 addr?
or is there a central program like udev is in charge to load them?
Back to top
View user's profile Send private message
MacGyver031
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2004
Posts: 140
Location: Ilavalai, Sri Lanka

PostPosted: Fri Oct 26, 2012 11:12 am    Post subject: Reply with quote

It depends on the module. I have seen that 8012q (VLAN) module seems to load automatically on one system, while on the other I have to load it "manually".

So to be sure, you should put all modules into /etc/conf.d/modules to get them loaded and work without any flaw.
_________________
Sincerely your
Joanand K.

MacBook Pro 5.1: 2.4GHz Core2 Duo, 4096MB, 500GB, NVidia 9400/9600 M GT
Gentoo, Kernel 3.4.9, XOrg, Fluxbox.
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