Skip to contentSkip to conversation

Sparc-2.6.24 GIT tree

DISCUSSION David Miller 2 participants 6 messages Aug 6, 2007

lore
Share & tools
lore
#0 lore raw

I cut a 2.6.24 sparc development tree at:

	kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.24.git

merely because I wanted to dump some framebuffer driver changes out of my inbox that were not appropriate for 2.6.23

The sparc32 asm-sparc/fcntl.h build fix isn't in there, but it's easy for those interested to patch it in and it will show up there next time I rebase.

#1 lore raw
Quoted 7 lines · David Miller

I cut a 2.6.24 sparc development tree at:

	kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.24.git

merely because I wanted to dump some framebuffer driver changes out of my inbox that were not appropriate for 2.6.23

I've been trying to upgrade the 2.6.20 kernel on a T1000 to a vanilla 2.6.22.1 kernel, but have so far failed to build a kernel that will boot cleanly. (I used make oldconfig on the 2.6.20 .config + lots of minor variations).

Will I have better luck if I follow one or more of your trees, David? Which tree is best to follow? Could you give a quick overview of your trees and how they fit in with upstream (or point me to an FAQ if there is one).

Or, if 2.6.22.1 should boot fine on a T1000, perhaps someone could mail me a known good .config that I could use as a base?

Thanks!

Andrew Walrond

#2 lore raw
In reply to David Miller

From: Andrew Walrond <[email protected]>
Date: Mon, 06 Aug 2007 09:38:22 +0100

Quoted 2 lines

Or, if 2.6.22.1 should boot fine on a T1000, perhaps someone could mail me a known good .config that I could use as a base?

I use arch/sparc64/defconfig, enable CONFIG_FUSION* and CONFIG_SMP, works fine on all my Niagara boxes.

#3 lore raw
In reply to David Miller

BTW, please report this kind of failure as soon as you see it, not 2 releases later which makes it infinitely harder to track down the cause of the problem.

Thanks.

#4 lore raw
In reply to David Miller
Quoted 3 lines · David Miller

I use arch/sparc64/defconfig, enable CONFIG_FUSION* and CONFIG_SMP, works fine on all my Niagara boxes.

Do these warnings matter?

v2.6.22.1 $ make image

  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h

MODPOST vmlinux
WARNING: arch/sparc64/kernel/built-in.o(.text+0x1bdf0): Section
mismatch: reference to .init.text:sun4v_init_mondo_queues (between 'after_lock_tlb' and 'sparc64_cpu_startup_end')
WARNING: arch/sparc64/kernel/built-in.o(.text+0x1beac): Section
mismatch: reference to .init.text:smp_callin (between 'after_lock_tlb' and 'sparc64_cpu_startup_end')
STRIP arch/sparc64/boot/image
kernel: arch/sparc64/boot/image is ready

#5 lore raw
In reply to David Miller
Quoted 4 lines · David Miller

I use arch/sparc64/defconfig, enable CONFIG_FUSION* and CONFIG_SMP, works fine on all my Niagara boxes.
-

What compiler version do you use?

I've got a horrible feeling I've just spent a day fighting against a miscompilation by gcc-4.2.

Perhaps this is a known problem? I'm rebuilding with gcc-4.1.2 now and will report back shortly....

Andrew Walrond