Alpha arch development list
 help / color / mirror / Atom feed
* [BISECTED] 164UX Regression, 2.6.22->2.6.23
@ 2010-09-23  0:38 Matt Turner
  2010-09-23 20:42 ` Roland McGrath
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Turner @ 2010-09-23  0:38 UTC (permalink / raw)
  To: linux-alpha; +Cc: Roland McGrath, Richard Henderson, Ivan Kokshaysky, Ian Las

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

Hello,
Alpha/Linux user Ian Las reported that since 2.6.22, the Kernel fails to load
on his 164UX using MILO. (MILO is the only way to load Linux, as it only has
ARCSBIOS.)

It fails with

...Image loaded into memory, entry @ 0xfffffc0000310000
Setting up Milo reboot parameter block at 0xfffffc0000000140
Boot line is bootdevice=sdb2 bootfile=vmlinux.gz root=/dev/sdb6
Bootstrap complete, kernel @ 0xfffffc0000310000, sp @ 0xfffffc0000304000
...turning on virtual addressing and jumping to the Linux Kernel
--------------------------------------------------------------------------------
Kernel panic - not syncing: Attempted to kill init!

Ian successfully bisected the failing commit, inline below. We tried reverting
the commit, but it causes linker failures due to overlapping sections.

How can we further debug and fix this?

Thanks!
Matt


commit caf45dd92677b2001123cc06b5835052ccfee76f
Author: Roland McGrath <roland@redhat.com>
Date:   Thu Jul 19 01:48:37 2007 -0700

    alpha: Put allocated ELF notes in read-only data segment
    
    This changes the alpha linker script to use the asm-generic NOTES macro so
    that ELF note sections with SHF_ALLOC set are linked into the kernel image
    along with other read-only data.  The PT_NOTE also points to their location.
    
    This paves the way for putting useful build-time information into ELF notes
    that can be found easily later in a kernel memory dump.
    
    Signed-off-by: Roland McGrath <roland@redhat.com>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.lds.S
index 6f4f037..fe13daa 100644
--- a/arch/alpha/kernel/vmlinux.lds.S
+++ b/arch/alpha/kernel/vmlinux.lds.S
@@ -3,7 +3,7 @@
 OUTPUT_FORMAT("elf64-alpha")
 OUTPUT_ARCH(alpha)
 ENTRY(__start)
-PHDRS { kernel PT_LOAD ; }
+PHDRS { kernel PT_LOAD; note PT_NOTE; }
 jiffies = jiffies_64;
 SECTIONS
 {
@@ -28,6 +28,9 @@ SECTIONS
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;
 
+  NOTES :kernel :note
+  .dummy : { *(.dummy) } :kernel
+
   RODATA
 
   /* Will be freed after init */

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread
[parent not found: <785390.29767.qm@web29007.mail.ird.yahoo.com>]

end of thread, other threads:[~2010-10-02 22:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23  0:38 [BISECTED] 164UX Regression, 2.6.22->2.6.23 Matt Turner
2010-09-23 20:42 ` Roland McGrath
     [not found] <785390.29767.qm@web29007.mail.ird.yahoo.com>
2010-10-01 22:37 ` Roland McGrath
2010-10-02 22:33   ` Ian Las
2010-10-01 22:43 ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox