From: Ralf Baechle <ralf@oss.sgi.com>
To: Keith Owens <kaos@melbourne.sgi.com>
Cc: Florian Lohoff <flo@rfc822.org>,
Raoul Borenius <borenius@shuttle.de>,
linux-mips@oss.sgi.com
Subject: Re: ksymoops changes for mips (was Kernel crash on boot with current cvs)
Date: Sat, 16 Jun 2001 11:22:20 +0200 [thread overview]
Message-ID: <20010616112220.A21117@bacchus.dhis.org> (raw)
In-Reply-To: <8465.992434754@ocs4.ocs-net>; from kaos@melbourne.sgi.com on Wed, Jun 13, 2001 at 10:19:14PM +1000
On Wed, Jun 13, 2001 at 10:19:14PM +1000, Keith Owens wrote:
> >That can be done automatically. For 32-bit ELF files mips*-linux binutils
> >dump some of the addresses as 32-bit addresses, some as sign-extended (!)
> >64-bit addresses. So ksymops should just sign extend any 32-bit addresses
> >to 64-bit and then work on full lenght addresses.
>
> Some utilities extend with leading 0, some with leading 1, some with
> special values (alpha). It is safer to truncate everything to the
> specified width instead of guessing what the extension value is.
That's a processor specific thing. In case of MIPS only signed extension
is correct. Some older binutils did unsigned extension and that's plain
wrong.
> >Is ksymoops able to handle 64-bit addresses when running on a 32-bit host?
> >That is a common case for many people when decoding their MIPS oopses.
>
> Yes and no. The framework is there to handle 32/64 splits, sparc
> already uses it. mips does not currently use the framework because the
> oops report does not identify the machine type 32/64, MSB/LSB. We
> discussed this in January and I asked for a small change to mips64 oops
> output (below), was that ever done?
Nothing - ``Guilty as charged. Filed in my "to do when I have time" folder,
which overflowed about 3 years ago :(.''
Ralf
next prev parent reply other threads:[~2001-06-16 11:05 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-10 22:03 Kernel crash on boot with current cvs (todays) Florian Lohoff
2001-06-11 3:53 ` Keith Owens
2001-06-11 19:12 ` Florian Lohoff
2001-06-12 1:01 ` Maciej W. Rozycki
2001-06-12 1:01 ` Keith M Wesolowski
2001-06-12 1:22 ` Maciej W. Rozycki
2001-06-12 2:05 ` Keith Owens
2001-06-11 4:42 ` Ralf Baechle
2001-06-11 14:50 ` Raoul Borenius
2001-06-12 10:09 ` Florian Lohoff
2001-06-12 11:53 ` Ralf Baechle
2001-06-12 16:37 ` H . J . Lu
[not found] ` <20010613100602.A17124@bunny.shuttle.de>
2001-06-13 10:56 ` Florian Lohoff
2001-06-13 11:34 ` Keith Owens
2001-06-13 12:05 ` Ralf Baechle
2001-06-13 12:19 ` ksymoops changes for mips (was Kernel crash on boot with current cvs) Keith Owens
2001-06-16 9:22 ` Ralf Baechle [this message]
2001-06-27 2:21 ` ksymoops changes for mips Keith Owens
2001-06-28 14:32 ` Thiemo Seufer
2001-07-31 3:57 ` Keith Owens
2001-07-31 4:30 ` Keith Owens
2001-08-03 6:10 ` Keith Owens
2001-08-03 10:07 ` Thiemo Seufer
2001-06-13 13:44 ` Kernel crash on boot with current cvs (todays) Maciej W. Rozycki
2001-06-13 14:07 ` Keith Owens
2001-06-13 15:08 ` Maciej W. Rozycki
2001-06-16 9:24 ` Ralf Baechle
2001-06-13 11:37 ` Raoul Borenius
2001-06-13 11:46 ` Keith Owens
2001-06-13 11:46 ` Keith Owens
2001-06-13 13:16 ` Raoul Borenius
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=20010616112220.A21117@bacchus.dhis.org \
--to=ralf@oss.sgi.com \
--cc=borenius@shuttle.de \
--cc=flo@rfc822.org \
--cc=kaos@melbourne.sgi.com \
--cc=linux-mips@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox