All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eiki Ito <eiki@hal.com>
To: ultralinux@vger.kernel.org
Subject: Re: openboot question
Date: Mon, 06 Jul 1998 18:38:22 +0000	[thread overview]
Message-ID: <marc-linux-ultrasparc-90222358530998@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-90222358530997@msgid-missing>

Hi Kapil,

>I am trying to debug the ultralinux kernel (sparc64 using prom ver
>3.0). After doing a dload, I try to disassemble, but it just shows a
>bunch of illtraps.

I have seen the same problem.  Looks like 'dis' doesn't work until
you do a 'go'.  So you have to set a breakpoint somewhere first,
go, and then dis.

>Also, setting a breakpoint to 404000 has no effect.

I have seen this too.  Try breakpointing some other locations
(Look into head.S, avoid branches and try to find straight line
fetch parts).  This worked for me in most cases.  (I have no idea
why -- call Sun's customer support for explanation)

>Is the `map?' command using dTLB entries ? How can I see which
>Physical Addr does the vaddr 404000 map to in the iTLB ?

I haven't used 'map?' myself, but I believe map? reads the translation
table in main memory, not TLBs.  If you really need the contents of
TLBs, you can use ASI's (spacex@ etc).
But anyway, I think VA:404000 should map to PA:404000.

Thanks,
Eiki

  reply	other threads:[~1998-07-06 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-05  6:20 openboot question Kapil Chowksey
1998-07-06 18:38 ` Eiki Ito [this message]
1998-07-06 20:56 ` Jakub Jelinek

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=marc-linux-ultrasparc-90222358530998@msgid-missing \
    --to=eiki@hal.com \
    --cc=ultralinux@vger.kernel.org \
    /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.