linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug in 2.4.2-ac20 net/irda/af_irda.c or init/main.c
@ 2001-03-14 11:34 David Luyer
  0 siblings, 0 replies; only message in thread
From: David Luyer @ 2001-03-14 11:34 UTC (permalink / raw)
  To: linux-kernel


As per my previous e-mail (on l-k), built-in irda causes an infinite loop
during bootup (ie, a lockup) by double-registering the same notifier.

This happens because irda_proto_init is both called by init/main.c and set as
a module_init() function which is then mapped to __initcall when built
non-modular.  So the notifier chain becomes looped as per the previous e-mail.

The fix is to remove one of these, for my system I'm moving the module_init
inside the #ifdef MODULE, someone else can choose what's best for the kernel
at large...

David.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-14 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-14 11:34 bug in 2.4.2-ac20 net/irda/af_irda.c or init/main.c David Luyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).