Re: kernel unaligned acc on Alpha

From: Marc Giger
Date: Sun Feb 29 2004 - 18:08:12 EST


On Sun, 29 Feb 2004 23:03:18 +0100
Marc Giger <gigerstyle@xxxxxx> wrote:

> Hi Måns,
>
> On Sun, 29 Feb 2004 22:24:45 +0100
> mru@xxxxxx (Måns Rullgård) wrote:
>
> > Marc Giger <gigerstyle@xxxxxx> 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?
>

Ok, I found it, because in 2.4.25 (2.6 too) is already fixed.

It would be nice if you could explain me how to find a function in a
module with the given address.

Thank you and sorry for wasting your time!

Regards

Marc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/