From: Keith Owens <kaos@ocs.com.au>
To: Kurt Garloff <garloff@suse.de>
Cc: Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Re: modutils-2.3.21: modprobe looping
Date: Wed, 29 Nov 2000 07:33:53 +1100 [thread overview]
Message-ID: <3301.975443633@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Tue, 28 Nov 2000 20:22:59 BST." <20001128202259.E27219@garloff.etpnet.phys.tue.nl>
On Tue, 28 Nov 2000 20:22:59 +0100,
Kurt Garloff <garloff@suse.de> wrote:
>Find attached the modules.dep that caused this: There is a circular
>dependency of pppoe on pppox on pppoe on ....
The kernel code is broken. Circular dependencies make no sense, the
pppoe maintainer agrees and I thought that bug was fixed.
>modprobe has code to detect this in build_stack(), but it seems to not work.
>The old dep is thrown away and the new one is taken. And checked for
>dependencies again :-(
>Of course, one could also think of depmod making sure that such circular
>dependencies do not occur, but I guess, it's more robust if depmod has a
>working test in any case.
Circular dependencies are not supported, nor are they correrctly
detected. The existing code to walk the inter module relationships,
including dependencies, alias, probe, probeall, before and after
statements is a mess. It just grew over the years with special cases
being added and is not robust.
In modutils 2.5 the entire code will be discarded and replaced with a
standard graph walking algorithm with loop detection and back tracking
instead of special case code. That might change some modutils
behaviour in rare cases and I do not want to change its behaviour just
before kernel 2.4 is released. I have a list of changes that might
break backwards compatibility waiting for modutils 2.5, this is just
one of them.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-11-28 21:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-28 19:22 modutils-2.3.21: modprobe looping Kurt Garloff
2000-11-28 20:33 ` Keith Owens [this message]
2000-11-28 20:36 ` Rod Stewart
2000-11-28 21:24 ` Kurt Garloff
2000-11-29 0:48 ` Kurt Garloff
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=3301.975443633@ocs3.ocs-net \
--to=kaos@ocs.com.au \
--cc=garloff@suse.de \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.