Re: [PATCH] allow kernel module exclusion on load

2007-05-16 Thread Randy Dunlap
On Thu, 17 May 2007 00:09:22 +0300 Dan Aloni wrote: > On Wed, May 16, 2007 at 07:33:21PM +, Pavel Machek wrote: > > On Wed 2007-05-16 19:51:07, Dan Aloni wrote: > > > On Tue, May 15, 2007 at 08:23:11AM +, Pavel Machek wrote: > > > > On Sun 2007-05-13 19:20:35, Christoph Hellwig wrote: > >

Re: [PATCH] allow kernel module exclusion on load

2007-05-16 Thread Dan Aloni
On Wed, May 16, 2007 at 07:33:21PM +, Pavel Machek wrote: > On Wed 2007-05-16 19:51:07, Dan Aloni wrote: > > On Tue, May 15, 2007 at 08:23:11AM +, Pavel Machek wrote: > > > On Sun 2007-05-13 19:20:35, Christoph Hellwig wrote: > > > > On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemming

Re: [PATCH] allow kernel module exclusion on load

2007-05-16 Thread Pavel Machek
On Wed 2007-05-16 19:51:07, Dan Aloni wrote: > On Tue, May 15, 2007 at 08:23:11AM +, Pavel Machek wrote: > > On Sun 2007-05-13 19:20:35, Christoph Hellwig wrote: > > > On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: > > > > On Sun, 13 May 2007 16:25:17 +0300 > > > > Dan Aloni

Re: [PATCH] allow kernel module exclusion on load

2007-05-16 Thread Dan Aloni
On Tue, May 15, 2007 at 08:23:11AM +, Pavel Machek wrote: > On Sun 2007-05-13 19:20:35, Christoph Hellwig wrote: > > On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: > > > On Sun, 13 May 2007 16:25:17 +0300 > > > Dan Aloni <[EMAIL PROTECTED]> wrote: > > > > > > > Kernel devel

Re: [PATCH] allow kernel module exclusion on load

2007-05-16 Thread Pavel Machek
On Sun 2007-05-13 19:20:35, Christoph Hellwig wrote: > On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: > > On Sun, 13 May 2007 16:25:17 +0300 > > Dan Aloni <[EMAIL PROTECTED]> wrote: > > > > > Kernel developers might find it useful for quickly getting out from some > > > rough

Re: [PATCH] allow kernel module exclusion on load

2007-05-15 Thread Andi Kleen
Christoph Hellwig <[EMAIL PROTECTED]> writes: > > doesn't really help if hotplug loads a broken module before you're getting > a login prompt. So while this is a bit of a hack I'm all in favour of this. > (Especially as I got hit by this issue again yesterday) At least on SUSE the hotplug code i

Re: [PATCH] allow kernel module exclusion on load

2007-05-15 Thread Dan Aloni
On Mon, May 14, 2007 at 04:23:21PM -0400, [EMAIL PROTECTED] wrote: > On Sun, 13 May 2007 16:25:17 +0300, Dan Aloni said: > > Kernel developers might find it useful for quickly getting out from some > > rough debugging scenarios. > > > > Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> > > I think I

Re: [PATCH] allow kernel module exclusion on load

2007-05-14 Thread Valdis . Kletnieks
On Sun, 13 May 2007 16:25:17 +0300, Dan Aloni said: > Kernel developers might find it useful for quickly getting out from some > rough debugging scenarios. > > Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> I think I (and everybody else who tests kernels with 3rd-party binary or out-of-tree module

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Michael Tokarev
Christoph Hellwig wrote: > On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: [] >> There is already the modprobe blacklist ability in user space. > > doesn't really help if hotplug loads a broken module before you're getting > a login prompt. modprobe blacklist is designed especi

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Michael Tokarev
Dan Aloni wrote: [] > Yes, I guess a shell script can always look at /proc/cmdline with > relatively minimal complexity. > > Anyway, it all boils down to whether there's a developer demand > for a userspace-independent way of blacklisting modules. Let's see > if more people post their opinion so

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Dan Aloni
On Sun, May 13, 2007 at 10:04:20PM +0400, Michael Tokarev 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 mo

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Christoph Hellwig
On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: > On Sun, 13 May 2007 16:25:17 +0300 > Dan Aloni <[EMAIL PROTECTED]> wrote: > > > Kernel developers might find it useful for quickly getting out from some > > rough debugging scenarios. > > > > Signed-off-by: Dan Aloni <[EMAIL PR

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Michael Tokarev
Dan Aloni wrote: > On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: >> On Sun, 13 May 2007 16:25:17 +0300 >> Dan Aloni <[EMAIL PROTECTED]> wrote: >> >>> Kernel developers might find it useful for quickly getting out from some >>> rough debugging scenarios. >>> >>> Signed-off-by:

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Dan Aloni
On Sun, May 13, 2007 at 09:23:52AM -0700, Stephen Hemminger wrote: > On Sun, 13 May 2007 16:25:17 +0300 > Dan Aloni <[EMAIL PROTECTED]> wrote: > > > Kernel developers might find it useful for quickly getting out from some > > rough debugging scenarios. > > > > Signed-off-by: Dan Aloni <[EMAIL PR

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Nikita V. Youshchenko
> On Sun, 13 May 2007 16:25:17 +0300 > Dan Aloni <[EMAIL PROTECTED]> wrote: > >> Kernel developers might find it useful for quickly getting out from some >> rough debugging scenarios. >> >> Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> >> > > There is already the modprobe blacklist ability in

Re: [PATCH] allow kernel module exclusion on load

2007-05-13 Thread Stephen Hemminger
On Sun, 13 May 2007 16:25:17 +0300 Dan Aloni <[EMAIL PROTECTED]> wrote: > Kernel developers might find it useful for quickly getting out from some > rough debugging scenarios. > > Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> > There is already the modprobe blacklist ability in user space. - To

[PATCH] allow kernel module exclusion on load

2007-05-13 Thread Dan Aloni
Kernel developers might find it useful for quickly getting out from some rough debugging scenarios. Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> diff --git a/init/Kconfig b/init/Kconfig index 4e009fd..796715e 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -682,6 +682,17 @@ config KMOD