Re: [PATCH] allow kernel module exclusion on load

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Tokarev
Date: Sunday, May 13, 2007 - 11:04 am

Dan Aloni wrote:

There are two issues (IMHO anyway), both are userspace.

First is the ability blacklist the given module from bootloader.
My initramfs has it since the beginning - it allows a noload=xxx
paramerer (comma-separated list of module patterns, cumulative),
for exactly this purpose.  I implemented modprobe in shell (not
using a binary from module-init-tools) for initramfs (it's some
20 lines of shell code).  Because of exactly that reason - on
certain systems i had a problem with certain drivers, resulting
in boot failures.  Later on, this set of modules gets transformed
into a modprobe blacklist list.  It's trivial to do.

And second is what to do with direct insmod invocations in minimal
embedded system startup sequence.  Well, minimal it or not, but
shell is present anyhow, so I don't see any problem with that,
either...

Just my $0.02...

/mjt
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] allow kernel module exclusion on load, Dan Aloni, (Sun May 13, 6:25 am)
Re: [PATCH] allow kernel module exclusion on load, Stephen Hemminger, (Sun May 13, 9:23 am)
Re: [PATCH] allow kernel module exclusion on load, Dan Aloni, (Sun May 13, 10:15 am)
Re: [PATCH] allow kernel module exclusion on load, Michael Tokarev, (Sun May 13, 11:04 am)
Re: [PATCH] allow kernel module exclusion on load, Christoph Hellwig, (Sun May 13, 11:20 am)
Re: [PATCH] allow kernel module exclusion on load, Dan Aloni, (Sun May 13, 11:22 am)
Re: [PATCH] allow kernel module exclusion on load, Michael Tokarev, (Sun May 13, 11:32 am)
Re: [PATCH] allow kernel module exclusion on load, Michael Tokarev, (Sun May 13, 11:39 am)
Re: [PATCH] allow kernel module exclusion on load, Valdis.Kletnieks, (Mon May 14, 1:23 pm)
Re: [PATCH] allow kernel module exclusion on load, Pavel Machek, (Tue May 15, 1:23 am)
Re: [PATCH] allow kernel module exclusion on load, Dan Aloni, (Tue May 15, 1:48 am)
Re: [PATCH] allow kernel module exclusion on load, Andi Kleen, (Tue May 15, 6:07 am)
Re: [PATCH] allow kernel module exclusion on load, Dan Aloni, (Wed May 16, 9:51 am)
Re: [PATCH] allow kernel module exclusion on load, Pavel Machek, (Wed May 16, 12:33 pm)
Re: [PATCH] allow kernel module exclusion on load, Dan Aloni, (Wed May 16, 2:09 pm)
Re: [PATCH] allow kernel module exclusion on load, Randy Dunlap, (Wed May 16, 3:00 pm)