public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Mac User <userm57@yahoo•com>
To: Rob Herring <robh+dt@kernel•org>
Cc: fthain@telegraphics•com.au, Frank Rowand <frank.rowand@sony•com>,
	Benjamin Herrenschmidt <benh@kernel•crashing.org>,
	Chintan Pandya <cpandya@codeaurora•org>,
	devicetree@vger•kernel.org,
	"linux-kernel@vger•kernel.org" <linux-kernel@vger•kernel.org>,
	linuxppc-dev <linuxppc-dev@lists•ozlabs.org>
Subject: Re: v4.17 regression: PowerMac G3 won't boot, was Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()
Date: Thu, 30 Aug 2018 20:39:44 -0600	[thread overview]
Message-ID: <569e4bc3-2149-4b2d-562f-e400dd05a8a8@yahoo.com> (raw)
In-Reply-To: <CAL_JsqLJ9QMHCMqGKpCouP1rTEO+cMGA1es94qAH+ukLsR31jg@mail.gmail.com>

On 8/29/18 7:05 PM, Rob Herring wrote:

> On Wed, Aug 29, 2018 at 7:44 PM Finn Thain <fthain@telegraphics•com.au> wrote:
>> Hi Frank,
>>
>> Linux v4.17 and later will no longer boot on a G3 PowerMac. The boot hangs
>> very early, before any video driver loads.
>>
>> Stan and I were able to bisect the regression between v4.16 and v4.17 and
>> arrived at commit 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of
>> of_find_node_by_phandle()").
>>
>> I don't see any obvious bug in 0b3ce78e90fc or b9952b5218ad. But if you
>> revert these from v4.18 (which is also affected) that certainly resolves
>> the issue.
> Perhaps a bad assumption on phandle values causing a problem. Can you
> provide a dump of all the phandle or linux,phandle values from
> /proc/device-tree.
>
> Rob

Rob,

As suggested by Finn, I installed device-tree-compiler and
powerpc-ibm-utils.
 
Running "dtc -I fs -H both /sys/firmware/devicetree/base"
resulted in the following errors:

DTC: fs->dts on file "/sys/firmware/devicetree/base"
ERROR (name_properties): "name" property in
/pci/multifunc-device/pci1799,1#1 is incorrect ("pci1799,1" instead of
base node name)
ERROR (name_properties): "name" property in /pci/mac-io/ide#1 is
incorrect ("ide" instead of base node name)
ERROR (name_properties): "name" property in
/pci/mac-io/ide#1/atapi-disk#1 is incorrect ("atapi-disk" instead of
base node name)
ERROR (name_properties): "name" property in /cpus/PowerPC,750/l2-cache#1
is incorrect ("l2-cache" instead of base node name)
ERROR: Input tree has errors, aborting (use -f to force output)

If I force output with "-f", the resulting file has no occurrences 
of "phandle".

Running "lsprop /proc/device-tree | grep -i phandle" results in no 
output.

Please let me know if there's some other way to get information that 
would be helpful.

thanks

-Stan

  reply	other threads:[~2018-08-31  2:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1520208889-3908-1-git-send-email-frowand.list@gmail.com>
     [not found] ` <1520208889-3908-2-git-send-email-frowand.list@gmail.com>
2018-08-30  0:44   ` v4.17 regression: PowerMac G3 won't boot, was Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle() Finn Thain
2018-08-30  1:05     ` Rob Herring
2018-08-31  2:39       ` Mac User [this message]
2018-08-31  4:35         ` Benjamin Herrenschmidt
2018-08-31  4:49           ` Benjamin Herrenschmidt
2018-08-31 12:28             ` Mac User
2018-08-31 23:36               ` Finn Thain
2018-09-01  4:54                 ` Benjamin Herrenschmidt
2018-09-01  4:53               ` Benjamin Herrenschmidt
2018-08-31  4:49           ` Benjamin Herrenschmidt
2018-08-31  4:36     ` Frank Rowand
2018-08-31  4:58       ` Benjamin Herrenschmidt
2018-09-09 17:04         ` Benjamin Herrenschmidt
2018-09-09 23:52           ` Frank Rowand
2018-09-10 12:53           ` Rob Herring
2018-09-11 15:53             ` Frank Rowand
     [not found]             ` <abb0dec2-da3a-2c04-0e9f-28851b22cf75@yahoo.com>
2018-09-12  0:15               ` Finn Thain

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=569e4bc3-2149-4b2d-562f-e400dd05a8a8@yahoo.com \
    --to=userm57@yahoo$(echo .)com \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=cpandya@codeaurora$(echo .)org \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=frank.rowand@sony$(echo .)com \
    --cc=fthain@telegraphics$(echo .)com.au \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=robh+dt@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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