Re: request_module: runaway loop modprobe net-pf-1 (is Re: Linux 2.6.21-rc1)

Greg KH
2007-02-22T01:05:49Z

On Thu, Feb 22, 2007 at 06:16:23AM +0900, OGAWA Hirofumi wrote:
> Greg KH <greg@kroah.com> writes:
>
> > On Thu, Feb 22, 2007 at 04:12:04AM +0900, OGAWA Hirofumi wrote:
> >> YOSHIFUJI Hideaki / ?$B5HF#1QL@ <yoshfuji@linux-ipv6.org> writes:
> >>
> >> > In article <Pine.LNX.4.64.0702202043280.4043@woody.linux-foundation.org> (at Tue, 20 Feb 2007 20:53:45 -0800 (PST)), Linus Torvalds <torvalds@linux-foundation.org> says:
> >> >
> >> >> But there's a ton of architecture updates (arm, mips, powerpc, x86, you
> >> >> name it), ACPI updates, and lots of driver work. And just a lot of
> >> >> cleanups.
> >> >
> >> > I cannot boot 2.6.21-rc1; it falls into OOM-Killer.
> >> >
> >> > Interesting error message I can see is:
> >> > request_module: runaway loop modprobe net-pf-1
> >> >
> >> > After bisecting, the commit
> >> > Driver core: let request_module() send a /sys/modules/kmod/-uevent
> >> > (id c353c3fb0700a3c17ea2b0237710a184232ccd7f) is to blame.
> >> >
> >> > Reverting it fixes the issue to me.
> >>
> >> /sbin/hotplug needs some module, but request_module() call /sbin/hotplug loop?
> >> Hm.. does the patch fix the problem?
> >
> > How does it loop?
>
> E.g. something calls the request_modle(), and if hotplug is using
> socket(PF_UNIX) and af_unix is module, it also calls request_modle()?
>
> Just my guess though...

Ugh, why does anyone make af_unix a module these days. I thought only
Debian was that foolish... :)

It will be interesting to see if this fixes the issue or not.

thanks,

greg k-h