| View previous topic :: View next topic |
| Author |
Message |
alexiadeath n00b

Joined: 29 Mar 2006 Posts: 30 Location: EST
|
Posted: Sun Jan 28, 2007 2:48 pm Post subject: |
|
|
This sucks. So there is no currently working blacklist for the UDEV autoloader?
This damn thing is loading evbug module thats a debugging module for Christs sake that craps my messages log full of noise on boot! this is torture. Really! Anybody has a clue what could be done about that? |
|
| Back to top |
|
 |
depontius Veteran

Joined: 05 May 2004 Posts: 1925
|
Posted: Tue Feb 27, 2007 5:04 pm Post subject: |
|
|
| alexiadeath wrote: | This sucks. So there is no currently working blacklist for the UDEV autoloader?
This damn thing is loading evbug module thats a debugging module for Christs sake that craps my messages log full of noise on boot! this is torture. Really! Anybody has a clue what could be done about that? |
Darn! I was just looking into the evbug thing again, and got to this thread, searching for "prevent module load". I even looked in /etc/hotplug/blacklist, and found evbug in there. By the way, "rmmod evbug" makes the chatter stop, as you would expect. I hadn't bothered with it too much because when the logs rotate, the chatter should be highly compressible and not take up too much space. Incidentally, I don't remember selecting it on my kernel build... I think someone clicked it on by default.
But it makes looking for anything in /var/log/messages a real pain in the neck.
So I've just added "/sbin/rmmod evbug" to "/etc/conf.d/local.start". An ugly hack, and there may be a little chatter before it's executed, but better than nothing. I know deselecting it in the kernel build is the right way to go, and next time I need to build a kernel, I will. _________________ .sigs waste space and bandwidth |
|
| Back to top |
|
 |
BitJam Advocate

Joined: 12 Aug 2003 Posts: 2248 Location: Silver City, NM
|
Posted: Sun Dec 11, 2011 1:43 am Post subject: |
|
|
I found this page to be extremely helpful for understanding how the udev coldplug works:
https://wiki.archlinux.org/index.php/ModaliasPrimer
It might not directly address the problems people are trying to solve here but it sure helped me understand what the heck is going on. One possible work-around would be to write your own udev coldplug that specifically allows for a blacklist. I haven't tested it but something like this might work: | Code: | list_cold_plug_modules() {
for alias in $(find /sys/devices -name modalias | xargs cat); do
modprobe -R $alias
done
}
for module in $(list_cold_plug_modules | sort -u); do
case ",$BLACK_LIST," in
,$module,) ;;
*) modprobe $module;;
esac
done |
Edit: Removed "echo" that disabled the final modprobe command. |
|
| Back to top |
|
 |
|
|
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
|
|