All of lore.kernel.org
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Grant Grundler <grundler@parisc-linux.org>
Cc: Thibaut VARENE <T-Bone@parisc-linux.org>, linux-parisc@vger.kernel.org
Subject: Re: Git head doesn't boot on A500
Date: Sun, 18 May 2008 18:19:52 +0200	[thread overview]
Message-ID: <48305728.20403@gmx.de> (raw)
In-Reply-To: <20080518071342.GB26649@colo.lackof.org>

[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]

Grant Grundler wrote:
> On Sun, May 18, 2008 at 02:52:00AM +0200, Thibaut VARENE wrote:
>> On Sat, May 17, 2008 at 5:26 PM, Grant Grundler
>> <grundler@parisc-linux.org> wrote:
>>> On Sat, May 17, 2008 at 03:20:46PM +0200, Thibaut VARENE wrote:
>>>> Hi pa-ckers
>>>>
>>>> Just a quick failure report, I tested git head + jejb's zonelist patch
>>>> on my A500 (gcc-4.2) and it hpmc'd the box (afaict) very early during
>>>> bootup. I'll dig that more ASAP.
>> Kyle eventually spotted the offending patch:
>> http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdiff;h=bd3bb8c15b9a80dbddfb7905b237a4a11a4725b4;hp=492c2e476eac010962850006c49df326919b284c
>>
>> Out of this patch, the only two non-offending hunks are:
>> diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S
>> index ec2482d..5680a2c 100644 (file)
>> --- a/arch/parisc/kernel/head.S
>> +++ b/arch/parisc/kernel/head.S
>> @@ -32,7 +32,7 @@ ENTRY(boot_args)
>>         .word 0 /* arg3 */
>>  END(boot_args)
>>
>> -       .section .text.head
>> +       __HEAD
>>         .align  4
>>         .import init_thread_union,data
>>         .import fault_vector_20,code    /* IVA parisc 2.0 32 bit */
> 
> So I don't understand how __HEAD works...and all the other arches are
> using ".text.head" (not .head.text) which has corresponding "code" in
> their vmlinux.lds.  Could someone kindly point out how .head.text 
> works for parisc?

Yeah, my fault (no idea why it worked for me???).

I see two options:
1) revert my patch (gets to linker warnings and have to build up a new 
patch, ideally adding a section for .text.head to vmlinux.lds.S),
2) apply the attached patch.

Opinions?

Helge

[-- Attachment #2: t66 --]
[-- Type: text/plain, Size: 337 bytes --]

diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 50b4a3a..2e516b8 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -50,6 +50,7 @@ SECTIONS
 
 	_text = .;		/* Text and read-only data */
 	.text ALIGN(16) : {
+		HEAD_TEXT
 		TEXT_TEXT
 		SCHED_TEXT
 		LOCK_TEXT

  parent reply	other threads:[~2008-05-18 16:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-17 13:20 Git head doesn't boot on A500 Thibaut VARENE
2008-05-17 15:26 ` Grant Grundler
2008-05-18  0:52   ` Thibaut VARENE
2008-05-18  7:13     ` Grant Grundler
2008-05-18 16:18       ` Kyle McMartin
2008-05-18 16:19       ` Helge Deller [this message]
2008-05-18 20:26         ` Grant Grundler
2008-05-20 19:59           ` Helge Deller

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=48305728.20403@gmx.de \
    --to=deller@gmx.de \
    --cc=T-Bone@parisc-linux.org \
    --cc=grundler@parisc-linux.org \
    --cc=linux-parisc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.