Olivier
2010-Aug-24 07:11 UTC
[asterisk-users] OT - How to blacklist a driver in /etc/modprobe.d without reboot
Hi, On lenny, when I'm adding a "blacklist hfc4s8s_l1" statement in a /etc/modprobe.d/myfile.conf file, this change seems ineffective until I reboot : # dahdi_genconf -v system Default parameters from /etc/dahdi/genconf_parameters Empty configuration -- no spans Generating /etc/dahdi/system.conf I tried this : /etc/init.d/module-init-tools then this : /etc/init.d/udev restart but still, I'm getting the "Empty configuration" answer. If I reboot the system, the "dahdi_genconf -v system" command works OK. How can I make this command successfull without rebooting ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100824/677c77c7/attachment.htm
Tzafrir Cohen
2010-Aug-24 11:22 UTC
[asterisk-users] OT - How to blacklist a driver in /etc/modprobe.d without reboot
On Tue, Aug 24, 2010 at 09:11:08AM +0200, Olivier wrote:> Hi, > > On lenny, when I'm adding a "blacklist hfc4s8s_l1" statement in a > /etc/modprobe.d/myfile.conf file, this change seems ineffective until I > reboot :Or rather: this prevents the next time a module tries to load automatically. Why not manually run: rmmod hfc4s8s_l1 Once this is done, modprobe wcb4xxp (or whatever) manually, or use the methods you mentioned to "restart". -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir