From: Markus Dahms <mad@automagically.de>
To: sparclinux@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: possible endless loop in PROM initialization
Date: Mon, 20 Aug 2007 09:59:49 +0200 [thread overview]
Message-ID: <20070820075949.GA5927@vimes.madsworld.lan> (raw)
Hey,
while trying to define a non-unique devalias at the Sun PROM prompt
(the SPARCclassic X has wrong aliases for scsi, disk1, etc. in the
PROM, at least mine) I fell over a bug resulting in an endless loop
while booting the kernel.
The problem is the getting the properties list of the /aliases node.
As the next element in this list is identified by name and the
function which retrieves this property always returns the first
occurrence this goes forever....
I could track down the issue to the function __prom_nextprop() in
arch/sparc/prom/tree.c, but I am now looking for the definition of
prom_nodeops->no_nextprop() without success.
My naive solution would be to return not the first but the last
occurrence of a property.
Greetings,
Markus
next reply other threads:[~2007-08-20 8:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 7:59 Markus Dahms [this message]
2007-08-20 8:06 ` possible endless loop in PROM initialization David Miller
2007-08-20 10:53 ` Markus Dahms
2007-08-20 11:43 ` Chris Newport
2007-08-20 13:19 ` Markus Dahms
2007-08-20 18:19 ` Krzysztof Helt
2007-08-20 8:50 ` Odp: " Krzysztof Helt
2007-08-20 10:34 ` Markus Dahms
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=20070820075949.GA5927@vimes.madsworld.lan \
--to=mad@automagically.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox