sparc next boot failure
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
Quoted 15 lines · Robert Reif
Current sparc next fails to boot (hangs at Booting Linux...).
I bisected it down to this:
21cb8a43216e0595b466e903e0f2a7ae615d9e11is first bad commit commit21cb8a43216e0595b466e903e0f2a7ae615d9e11Author: Sam Ravnborg <[email protected]> Date: Sat Nov 29 21:52:12 2008 -0800sparc: refactor
MakefileThe 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
Signed-off-by Sam Ravnborg <[email protected]>Signed-off-by David S. Miller <[email protected]>:040000 040000
d5815835afa54122531d5bc8060f3831b145a1a4c8aad1a3c22a8243c5dd0ab2c528198d7d23af3cM 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
Quoted 15 lines · Robert Reif
Current sparc next fails to boot (hangs at Booting Linux...).
I bisected it down to this:
21cb8a43216e0595b466e903e0f2a7ae615d9e11is first bad commit commit21cb8a43216e0595b466e903e0f2a7ae615d9e11Author: Sam Ravnborg <[email protected]> Date: Sat Nov 29 21:52:12 2008 -0800sparc: refactor
MakefileThe 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
Signed-off-by Sam Ravnborg <[email protected]>Signed-off-by David S. Miller <[email protected]>:040000 040000
d5815835afa54122531d5bc8060f3831b145a1a4c8aad1a3c22a8243c5dd0ab2c528198d7d23af3cM 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
@@ -44,6 +44,8 @@ ifdef CONFIG_KALLSYMS kallsyms.o := .tmp_kallsyms2.o endif +export kallsyms.o + # Default target all: zImage
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:
21cb8a43216e0595b466e903e0f2a7ae615d9e11is first bad commit commit21cb8a43216e0595b466e903e0f2a7ae615d9e11Author: Sam Ravnborg <[email protected]> Date: Sat Nov 29 21:52:12 2008 -0800sparc: refactor
MakefileThe 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
Signed-off-by Sam Ravnborg <[email protected]>Signed-off-by David S. Miller <[email protected]>:040000 040000
d5815835afa54122531d5bc8060f3831b145a1a4c8aad1a3c22a8243c5dd0ab2c528198d7d23af3cM archHi Robert.
Can you try to add the following patch on top of
the " sparc: refactorMakefile" patch.This was the only difference I could see in my
limited testing here.Sam
arch/sparc/Makefile +0
-0
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.
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:
21cb8a43216e0595b466e903e0f2a7ae615d9e11is first bad commit commit21cb8a43216e0595b466e903e0f2a7ae615d9e11Author: Sam Ravnborg <[email protected]> Date: Sat Nov 29 21:52:12 2008 -0800sparc: refactor
MakefileThe 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
Signed-off-by Sam Ravnborg <[email protected]>Signed-off-by David S. Miller <[email protected]>:040000 040000
d5815835afa54122531d5bc8060f3831b145a1a4c8aad1a3c22a8243c5dd0ab2c528198d7d23af3cM archHi Robert.
Can you try to add the following patch on top of
the " sparc: refactorMakefile" patch.This was the only difference I could see in my
limited testing here.Sam
arch/sparc/Makefile +0
-0@@ -44,6 +44,8 @@ ifdef CONFIG_KALLSYMSkallsyms.o := .tmp_kallsyms2.o
endifarch/sparc/Makefile +2
-0+export kallsyms.o +Quoted 5 lines
# Default target
all: zImageI 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