Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758492AbXHTKxj (ORCPT ); Mon, 20 Aug 2007 06:53:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751303AbXHTKx3 (ORCPT ); Mon, 20 Aug 2007 06:53:29 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:60386 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbXHTKx2 (ORCPT ); Mon, 20 Aug 2007 06:53:28 -0400 Date: Mon, 20 Aug 2007 12:53:20 +0200 From: Markus Dahms To: David Miller Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: possible endless loop in PROM initialization Message-ID: <20070820105320.GB4911@vimes.madsworld.lan> References: <20070820075949.GA5927@vimes.madsworld.lan> <20070820.010622.41634915.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070820.010622.41634915.davem@davemloft.net> User-Agent: Mutt/1.5.16 (2007-06-11) X-Provags-ID: V01U2FsdGVkX18W4hyURdoEfT6LngOumeSd0ncQ296Db2Oq7Hc VdwvP4FppgI7BElNlnRJ48jOSys6AzvrZTi7VAmazy0HkwJcLK IjJEa1O6GSlwsaWbnzZ8w== Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1747 Lines: 56 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/