From: Keith Owens <kaos@ocs.com.au>
To: Ralf Baechle <ralf@oss.sgi.com>
Cc: "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: ksymoops on origin
Date: Fri, 05 Jan 2001 11:42:42 +1100 [thread overview]
Message-ID: <1123.978655362@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Thu, 04 Jan 2001 15:13:34 -0200." <20010104151334.C2525@bacchus.dhis.org>
On Thu, 4 Jan 2001 15:13:34 -0200,
Ralf Baechle <ralf@oss.sgi.com> wrote:
>Doesn't really solve the problem. For example on an Origin we have a 32-bit
>userland but 64-bit kernel addresses which confuses ksymops and procps.
In what way does ksymoops get confused? All its address handling
should be 64 bit. As long as the kernel prints its addresses in full,
without removing the high order word, then the text handling should be
OK. The only problem will be the default object format which is taken
from ksymoops itself. Sparc also has this problem, from oops.c,
function Oops_eip.
/* Special case for sparc64. If the output target is defaulting to the
* same format as ksymoops then the default is wrong, kernel is 64 bit,
* ksymoops is 32 bit. When we see an EIP from sparc64, set the correct
* default.
*/
if (!options->target && !options->architecture &&
strcmp(bfd_get_target(ibfd), "elf32-sparc")) {
options->target = "elf64-sparc";
options->architecture = "sparc:v9a";
}
I will add a special case for Origin if somebody can tell me:
What oops string identifies a 64 bit kernel instead of 32 bit.
What bfd_get_target() reports for a 32 bit ksymoops on Origin.
What target and architecture to use for a 64 bit kernel.
Even without special case code for Origin, you can run ksymoops with
the -t and -a options to force the desired format, instead of
defaulting to the format of ksymoops.
next prev parent reply other threads:[~2001-01-05 0:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-04 1:36 John Van Horne
2001-01-04 15:36 ` your mail Ralf Baechle
2001-01-04 16:22 ` Maciej W. Rozycki
2001-01-04 16:40 ` Joe deBlaquiere
2001-01-04 17:13 ` Ralf Baechle
2001-01-04 17:46 ` Joe deBlaquiere
2001-01-04 18:12 ` Maciej W. Rozycki
2001-01-05 0:42 ` Keith Owens [this message]
2001-01-04 17:18 ` Maciej W. Rozycki
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=1123.978655362@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=linux-mips@oss.sgi.com \
--cc=ralf@oss.sgi.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.