mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Tom Lanyon" <tomlanyon@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: runaway loop modprobe binfmt-0000
Date: Fri, 5 Jan 2007 16:42:49 -0800	[thread overview]
Message-ID: <20070105164249.f79630a0.akpm@osdl.org> (raw)
In-Reply-To: <cd32a0620701051513i41e19d13k53d08d123980a717@mail.gmail.com>

On Sat, 6 Jan 2007 09:43:14 +1030
"Tom Lanyon" <tomlanyon@gmail.com> wrote:

> How can I discover
> what is trying to load binfmt-0000 and why is it looping?

Start with this, I guess..

--- a/kernel/kmod.c~a
+++ a/kernel/kmod.c
@@ -98,10 +98,12 @@ int request_module(const char *fmt, ...)
 	atomic_inc(&kmod_concurrent);
 	if (atomic_read(&kmod_concurrent) > max_modprobes) {
 		/* We may be blaming an innocent here, but unlikely */
-		if (kmod_loop_msg++ < 5)
+		if (kmod_loop_msg++ < 5) {
 			printk(KERN_ERR
 			       "request_module: runaway loop modprobe %s\n",
 			       module_name);
+			dump_stack();
+		}
 		atomic_dec(&kmod_concurrent);
 		return -ENOMEM;
 	}
_


  reply	other threads:[~2007-01-06  0:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 23:13 Tom Lanyon
2007-01-06  0:42 ` Andrew Morton [this message]
2007-01-07 22:19   ` Tom Lanyon
     [not found] <477D26EB.6070008@vnet.ibm.com>
     [not found] ` <20080105013023.5c872c79.akpm@linux-foundation.org>
2008-01-06 20:18   ` Tom Gall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070105164249.f79630a0.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tomlanyon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome