From: Markus Dahms <mad@automagically.de>
To: David Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: possible endless loop in PROM initialization
Date: Mon, 20 Aug 2007 12:53:20 +0200 [thread overview]
Message-ID: <20070820105320.GB4911@vimes.madsworld.lan> (raw)
In-Reply-To: <20070820.010622.41634915.davem@davemloft.net>
Hello again,
David Miller wrote:
> When we boot the firmware provides a vector of function
> pointers, and this is prom_nodeops. So prom_nodeops->no_nextprop()
> is a routine inside the PROM.
Thanks. So there is no real chance to fix it but to override this
function?
The strange thing is that the PROM prompt handles it correctly:
| ok devalias scsi /iommu/sbus/espdma/esp
| scsi isn't unique
| ok cd /aliases
| ok .attributes
| scsi /iommu/sbus/espdma/esp
| screen /iommu@0,10000000/sbus@0,10001000/cgthree@3,0
| net-g net:,SUNXT_KERNEL.SUN4M
| ttyb /obio/zs@0,100000:b
| ttya /obio/zs@0,100000:a
| keyboard! /obio/zs@0,0:forcemode
| keyboard /obio/zs@0,0
| floppy /obio/SUNW,fdtwo
| scsi /iommu/sbus/espdma@4,8400000/esp@4,8800000
| net-aui /iommu/sbus/ledma@4,8400010:aui/le@4,8c00000
| net-tpe /iommu/sbus/ledma@4,8400010:tpe/le@4,8c00000
| [...]
| name aliases
Linux PROM initialization goes this way:
| scsi
| screen
| net-g
| ttyb
| ttya
| keyboard!
| keyboard
| floppy
| scsi
| screen
| net-g
[...]
As I'm not sure anymore whether the device tree (show-devs) or the aliases
(devalias) are broken on the Classic X (I "upgraded" mine to a Classic by
changing some NVRAM bytes) this may be a non-issue. But it is still an
endless loop where it don't has to be.
Markus
next prev parent reply other threads:[~2007-08-20 10:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 7:59 Markus Dahms
2007-08-20 8:06 ` David Miller
2007-08-20 10:53 ` Markus Dahms [this message]
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=20070820105320.GB4911@vimes.madsworld.lan \
--to=mad@automagically.de \
--cc=davem@davemloft.net \
--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
all inboxes | Powered by JetHome®