[PATCH] Re: 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds

Kim Phillips kim.phillips at freescale.com
Wed Jul 25 09:59:46 EST 2007


On Tue, 24 Jul 2007 09:55:23 +1000
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:

> 
> > > After hours of fun git bisecting, finally found the commit to revert
> > > to make my PowerBook G3 Lombard boot again. This does not result in
> > > the complains the reverted commit was revering to.
> > 
> > ..but it does on my MPC8360.
> 
> In which circumstances are you trying to translate an address with no
> size cell ?

for the enumerated PHYs. As the original commit comment states, I was
getting these messages:

prom_parse: Bad cell count for /qe at e0100000/mdio at 2120/ethernet-phy at 00
prom_parse: Bad cell count for /qe at e0100000/mdio at 2120/ethernet-phy at 01

> I also wonder why it hangs on the powerbook... Rutger, I would expect to
> see that complaint warning with the reverted patch, what does it say ?
> 
> My Wallstreet (also based on Grackle) doesn't have the problem. Also can
> you send me a tarball of /proc/device-tree ?

I don't have any of those machines, but it seems that older kernels
running on the Lombard emitted:

device-tree: Duplicate name in /cpus/PowerPC,750 at 0, renamed to "l2-cache#1"

messages*.  Experimenting with adding two chosen nodes (due to a prior
thread on this list**) results in a hung kernel on the 8360 also, so
perhaps they're related (and the kernel's tolerance to duplicate
entries has changed, which explains where I had seen the chosen node
being renamed).

but yeah, size-cells should be allowed to be 0 (even address-cells) and
it may be the case that the Lombard needs some fixup code.

Kim

* http://lists.infradead.org/pipermail/linux-pcmcia/2007-April/004503.html
** http://ozlabs.org/pipermail/linuxppc-dev/2007-July/039758.html



More information about the Linuxppc-dev mailing list