Skip to contentSkip to conversation

sparc next boot failure

DISCUSSION Robert Reif 2 participants 5 messages Dec 1, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

Current sparc next fails to boot (hangs at Booting Linux...).

I bisected it down to this:

21cb8a43216e0595b466e903e0f2a7ae615d9e11 is first bad commit commit 21cb8a43216e0595b466e903e0f2a7ae615d9e11

Author: Sam Ravnborg <[email protected]>
Date:   Sat Nov 29 21:52:12 2008 -0800

sparc: refactor Makefile

The btfixup step needs knowledge of all the .o files, but there is no need to pass them in independent variables. Simplify it to use only two variables.

:040000 040000 d5815835afa54122531d5bc8060f3831b145a1a4 c8aad1a3c22a8243c5dd0ab2c528198d7d23af3c M arch

#1 lore raw
Quoted 15 lines · Robert Reif

Current sparc next fails to boot (hangs at Booting Linux...).

I bisected it down to this:

21cb8a43216e0595b466e903e0f2a7ae615d9e11 is first bad commit commit 21cb8a43216e0595b466e903e0f2a7ae615d9e11

Author: Sam Ravnborg <[email protected]>
Date:   Sat Nov 29 21:52:12 2008 -0800

sparc: refactor Makefile

The btfixup step needs knowledge of all the .o files, but there is no need to pass them in independent variables. Simplify it to use only two variables.

Quoted 5 lines

:040000 040000 d5815835afa54122531d5bc8060f3831b145a1a4 c8aad1a3c22a8243c5dd0ab2c528198d7d23af3c M arch

Hi Robert.

Thanks for testing and bisecting!

Can I ask you to send me the output of make V=1 for your kernel before and after the above patch is applied. It's only the last few lines that are of interest (from btfixup and onwards).
I hope from that to say what is causing the boot regression.

Sam

#2 lore raw
In reply to Robert Reif
Quoted 15 lines · Robert Reif

Current sparc next fails to boot (hangs at Booting Linux...).

I bisected it down to this:

21cb8a43216e0595b466e903e0f2a7ae615d9e11 is first bad commit commit 21cb8a43216e0595b466e903e0f2a7ae615d9e11

Author: Sam Ravnborg <[email protected]>
Date:   Sat Nov 29 21:52:12 2008 -0800

sparc: refactor Makefile

The btfixup step needs knowledge of all the .o files, but there is no need to pass them in independent variables. Simplify it to use only two variables.

Quoted 5 lines

:040000 040000 d5815835afa54122531d5bc8060f3831b145a1a4 c8aad1a3c22a8243c5dd0ab2c528198d7d23af3c M arch

Hi Robert.

Can you try to add the following patch on top of
the " sparc: refactor Makefile" patch.

This was the only difference I could see in my
limited testing here.

Sam

arch/sparc/Makefile +2 -0
index 04ea968..da82ba6 100644
@@ -44,6 +44,8 @@ ifdef CONFIG_KALLSYMS
 kallsyms.o := .tmp_kallsyms2.o
 endif
 
+export  kallsyms.o
+
 # Default target
 all: zImage
 
#3 lore raw
In reply to Robert Reif
Quoted 41 lines · Sam Ravnborg
Quoted 15 lines · Robert Reif

Current sparc next fails to boot (hangs at Booting Linux...).

I bisected it down to this:

21cb8a43216e0595b466e903e0f2a7ae615d9e11 is first bad commit commit 21cb8a43216e0595b466e903e0f2a7ae615d9e11

Author: Sam Ravnborg <[email protected]>
Date:   Sat Nov 29 21:52:12 2008 -0800

sparc: refactor Makefile

The btfixup step needs knowledge of all the .o files, but there is no need to pass them in independent variables. Simplify it to use only two variables.

Quoted 6 lines

:040000 040000 d5815835afa54122531d5bc8060f3831b145a1a4 c8aad1a3c22a8243c5dd0ab2c528198d7d23af3c M arch

Hi Robert.

Can you try to add the following patch on top of
the " sparc: refactor Makefile" patch.

This was the only difference I could see in my
limited testing here.

Sam

arch/sparc/Makefile +0 -0
index 04ea968..da82ba6 100644

arch/sparc/Makefile ifdef CONFIG_KALLSYMS · line 51

Quoted 8 lines
arch/sparc/Makefile +2 -0
@@ -44,6 +44,8 @@ ifdef CONFIG_KALLSYMS
 kallsyms.o := .tmp_kallsyms2.o
 endif
 
+export  kallsyms.o
+
 # Default target
 all: zImage
 

I hand applied it to yesterdays sparc-next and it seems to have fixed it.

I'll do some more testing tonight when I have the time.

#4 lore raw
In reply to Robert Reif
Quoted 52 lines · Robert Reif
Quoted 44 lines · Sam Ravnborg
Quoted 15 lines · Robert Reif

Current sparc next fails to boot (hangs at Booting Linux...).

I bisected it down to this:

21cb8a43216e0595b466e903e0f2a7ae615d9e11 is first bad commit commit 21cb8a43216e0595b466e903e0f2a7ae615d9e11

Author: Sam Ravnborg <[email protected]>
Date:   Sat Nov 29 21:52:12 2008 -0800

sparc: refactor Makefile

The btfixup step needs knowledge of all the .o files, but there is no need to pass them in independent variables. Simplify it to use only two variables.

Quoted 6 lines

:040000 040000 d5815835afa54122531d5bc8060f3831b145a1a4 c8aad1a3c22a8243c5dd0ab2c528198d7d23af3c M arch

Hi Robert.

Can you try to add the following patch on top of
the " sparc: refactor Makefile" patch.

This was the only difference I could see in my
limited testing here.

Sam

arch/sparc/Makefile +0 -0
index 04ea968..da82ba6 100644
@@ -44,6 +44,8 @@ ifdef CONFIG_KALLSYMS

kallsyms.o := .tmp_kallsyms2.o
endif

arch/sparc/Makefile +2 -0
+export  kallsyms.o
+
Quoted 5 lines

# Default target
all: zImage

I hand applied it to yesterdays sparc-next and it seems to have fixed it.

Quoted 1 line

I'll do some more testing tonight when I have the time.

Thanks. I do not see why it cured the boot but I know how to fix it. I will try to find time tonight to look at it.

Sam