linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Rutger Nijlunsing <rutger@nospam.com>
To: linuxppc-dev@ozlabs.org
Subject: [PATCH] Re: 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds
Date: Sat, 21 Jul 2007 23:28:45 +0200	[thread overview]
Message-ID: <20070721212845.GA30977@nospam.com> (raw)
In-Reply-To: <20070721192143.GA12144@nospam.com>

On Sat, Jul 21, 2007 at 09:21:43PM +0200, Rutger Nijlunsing wrote:
> Hi,
> 
> I'm trying to boot a new git kernel (2.6.22-g589f1e81), but it hangs
> very early (the timestamp is still on 0.000000).

After hours bisecting, I found the one-liner which results in the
hang. Now it takes someone else to find out _why_ it causes a hang :)


>From 6c13e1b55c1f87ed19f3c4623de3df881779edd7 Mon Sep 17 00:00:00 2001
From: Rutger Nijlunsing <git-commit@tux.tmfweb.nl>
Date: Sat, 21 Jul 2007 23:01:22 +0200
Subject: [PATCH] Revert "[POWERPC] Don't complain if size-cells == 0 in prom_parse()"
Status: RO
Content-Length: 866
Lines: 24

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.

This reverts commit fd6e9d3945ee122eb513ada8b17296d243c1ce5e.
---
 arch/powerpc/kernel/prom_parse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/prom_parse.c b/arch/powerpc/kernel/prom_parse.c
index 3786dcc..b5c96af 100644
--- a/arch/powerpc/kernel/prom_parse.c
+++ b/arch/powerpc/kernel/prom_parse.c
@@ -24,7 +24,7 @@
 /* Max address size we deal with */
 #define OF_MAX_ADDR_CELLS	4
 #define OF_CHECK_COUNTS(na, ns)	((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \
-			(ns) >= 0)
+			(ns) > 0)
 
 static struct of_bus *of_match_bus(struct device_node *np);
 static int __of_address_to_resource(struct device_node *dev,
-- 
1.5.2.2



-- 
Rutger Nijlunsing ---------------------------------- eludias ed dse.nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------

  reply	other threads:[~2007-07-21 21:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21 19:21 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds Rutger Nijlunsing
2007-07-21 21:28 ` Rutger Nijlunsing [this message]
2007-07-23 22:27   ` [PATCH] " Kim Phillips
2007-07-23 23:55     ` Benjamin Herrenschmidt
2007-07-24 23:59       ` Kim Phillips
2007-07-25  2:07         ` Benjamin Herrenschmidt
2007-07-26  3:31         ` Paul Mackerras
2007-07-26  3:42         ` Paul Mackerras
2007-07-26 21:29           ` Kim Phillips
2007-07-26 21:53             ` Benjamin Herrenschmidt
2007-07-27 22:11             ` [PATCH] Re: 2.6.22-git hangs during PCMCIA " Rutger Nijlunsing
2007-07-27 22:26               ` Benjamin Herrenschmidt
2007-07-27 23:29                 ` Kim Phillips

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=20070721212845.GA30977@nospam.com \
    --to=rutger@nospam.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=linuxppc-dev@tux.tmfweb.nl \
    /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;
as well as URLs for NNTP newsgroup(s).