From: Matt Turner <mattst88@gmail.com>
To: linux-alpha@vger.kernel.org
Cc: Roland McGrath <roland@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Ian Las <ialas@yahoo.com>
Subject: [BISECTED] 164UX Regression, 2.6.22->2.6.23
Date: Wed, 22 Sep 2010 20:38:11 -0400 [thread overview]
Message-ID: <20100923003811.GA17384@Sempron.nc.rr.com> (raw)
[-- 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 --]
next reply other threads:[~2010-09-23 0:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 0:38 Matt Turner [this message]
2010-09-23 20:42 ` [BISECTED] 164UX Regression, 2.6.22->2.6.23 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
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=20100923003811.GA17384@Sempron.nc.rr.com \
--to=mattst88@gmail.com \
--cc=ialas@yahoo.com \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-alpha@vger.kernel.org \
--cc=roland@redhat.com \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox