public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* possible endless loop in PROM initialization
@ 2007-08-20  7:59 Markus Dahms
  2007-08-20  8:06 ` David Miller
  2007-08-20  8:50 ` Odp: " Krzysztof Helt
  0 siblings, 2 replies; 8+ messages in thread
From: Markus Dahms @ 2007-08-20  7:59 UTC (permalink / raw)
  To: sparclinux; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-08-20 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-20  7:59 possible endless loop in PROM initialization Markus Dahms
2007-08-20  8:06 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox