[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070616204425.A6514@jurassic.park.msu.ru>
Date: Sat, 16 Jun 2007 20:44:25 +0400
From: Ivan Kokshaysky <ink@...assic.park.msu.ru>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: netdev@...r.kernel.org, Richard Henderson <rth@...ddle.net>,
"bugme-daemon@...nel-bugs.osdl.org"
<bugme-daemon@...nel-bugs.osdl.org>
Subject: Re: [Bugme-new] [Bug 8635] New: EV6 version of csum_ipv6_magic causing unaligned access errors
On Sat, Jun 16, 2007 at 12:06:20AM -0700, Andrew Morton wrote:
> > kernel unaligned acc : 34 (pc=fffffc00004bbf58,va=fffffc000394811c)
> >
> > fffffc00004bbdb0 T __copy_user
> > fffffc00004bbf50 T csum_ipv6_magic
> > fffffc00004bc020 T memchr
> >
> > Seems to be associated w/ arch/alpha/lib/ev6-csum_ipv6_magic.S
> >
> > Steps to reproduce:
> >
> > Use IPv6 on an Alpha EV6 or higher CPU.
> >
>
> I assume that networking passed the arch an unaligned pointer and the arch
> didn't expect that.
>
> I further assume that this is an alpha shortcoming, and that this behaviour
> of networking is expected?
Indeed, it's alpha bug. The struct in6_addr passed to this routine has
4 byte alignment, so we cannot use normal 64 bit loads.
Hopefully I'll have a fix shortly. BTW, it's not only ev6, ev5 variant
is broken as well.
Ivan.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists