You are not logged in.
Suppose my kernel has a driver compiled into it that is causing problems, and I want to disable it. How would I do that? What would I append to the kernel line in GRUB to prevent a specific driver from loading, when it is *not* compiled as a module?
Offline
Okay, I have discovered the hwprobe boot option, which is apparently supposed to do as I've described (if used as "hwprobe=-foo"). Problem is, it doesn't do anything at all, as far as I can tell, at least when used with LILO. What am I doing wrong here?
Last edited by Gullible Jones (2008-07-29 05:51:16)
Offline
Isn't that done through /etc/modprobe.conf by adding a line?
Such as:
blacklist snd_ac97_codec
or prefixing them with a ! as written here http://www.archlinux.it/wiki/index.php?title=Rc.conf
Last edited by Square (2008-07-29 06:41:56)
Offline
I think the best way would be to add the kernel boot parameter disablemodules=module1,module2,etc when booting.
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
Isn't that done through /etc/modprobe.conf by adding a line?
Such as:
blacklist snd_ac97_codec
or prefixing them with a ! as written here http://www.archlinux.it/wiki/index.php?title=Rc.conf
No, this is for drivers compiled into the kernel, such as the IDE and PATA subsystems (on distros other than Arch).
I think the best way would be to add the kernel boot parameter disablemodules=module1,module2,etc when booting.
Thanks, I'll try that...
Offline
Suppose my kernel has a driver compiled into it that is causing problems, and I want to disable it. How would I do that? What would I append to the kernel line in GRUB to prevent a specific driver from loading, when it is *not* compiled as a module?
Perhaps you should call the thread "How to blacklist drivers that are compiled into the kernel", since you have gotten like 6 incorrect responses due to your misnaming?
Offline
There was a way to do this, and I thought it had to do with sysfs or sysctl or something. When we had ip6 compiled in to the kernel, people used to disable it all the time.
Offline
kishd wrote:I think the best way would be to add the kernel boot parameter disablemodules=module1,module2,etc when booting.
Thanks, I'll try that...
Nope this doesn't work either. Bah.
Edit: okay I found the sysctl.conf method (here) but it looks a little difficult to apply to an arbitrary driver. Anyone know how I would do that?
Last edited by Gullible Jones (2008-07-29 18:42:41)
Offline
Going with what phrak said, maybe this will help:
http://linuxshellaccount.blogspot.com/2 … ables.html
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
1) this is incorrect (taken from IPv6 example)
How can I enable forwarding between IPv6 enabled interfaces?
In /etc/sysctl.conf add the line
net/ipv6/conf/all/forwarding=1
it should be:
net.ipv6.conf.all.forwarding=1
2) not sure if system calls will help
to check if you can manipulate something with sysctl, first run
sysctl -a | grep your_module_name
if your stuff is not listed, then obviously sysctl will not help
Last edited by broch (2008-07-30 02:28:24)
Offline