From: Marc Giger <gigerstyle@gmx.ch>
To: mru@kth.se (Måns Rullgård)
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel unaligned acc on Alpha
Date: Sun, 29 Feb 2004 23:03:18 +0100 [thread overview]
Message-ID: <20040229230318.493034b2.gigerstyle@gmx.ch> (raw)
In-Reply-To: <yw1xvflp1sv6.fsf@kth.se>
Hi Måns,
On Sun, 29 Feb 2004 22:24:45 +0100
mru@kth.se (Måns Rullgård) wrote:
> Marc Giger <gigerstyle@gmx.ch> writes:
>
> > Hi All,
> >
> > I have a lot of unaligned accesses in kernel space:
> >
> > kernel unaligned acc : 2191330
> > (pc=fffffffc002557d8,va=fffffffc00256059)
> >
> > It seems to be located in the networking part (iptables?) from the
> > kernel. Can someone please help me how to find the location of these
> > uac's? I already have recompiled the kernel with debugging enabled
> > and tried to debug it with gdb.
>
> Find the matching function in System.map. Look for the entry with the
> highest address less than or equal to the pc value.
The highest address in System.map is
fffffc000076fab0 A _end
/proc/ksyms is more informative. It seems the function is in a
module.
fffffffc00254800 ipt_unregister_table [ip_tables]
fffffffc00256051 __insmod_ip_tables_S.rodata_L16 [ip_tables]
ipt_unregister_table is the most matching funtion, but makes no sense to
me, since I don't load and unload it 2191330 times:-)
Do you have more tips how to find the right funtion in the modules?
>
> > Another question: What's the meaning of va?
>
> It's the virtual memory address being accessed. The va value is
> rather close to the pc, so I would guess that it is some static data
> from the same source file as the function that is being accessed.
Thank you very much for your help!
Regards
Marc
next prev parent reply other threads:[~2004-02-29 22:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-29 20:55 Marc Giger
2004-02-29 21:24 ` Måns Rullgård
2004-02-29 22:03 ` Marc Giger [this message]
2004-02-29 22:36 ` Måns Rullgård
2004-02-29 23:06 ` Marc Giger
2004-02-29 22:22 ` Andrew Morton
2004-02-29 22:27 ` Marc Giger
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=20040229230318.493034b2.gigerstyle@gmx.ch \
--to=gigerstyle@gmx.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=mru@kth.se \
/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
all inboxes | Powered by JetHome®