[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409313: linux-image-2.6.18-4-sparc64: Netra X1 - Kernel unaligned access in rp_rcv and ip_fast_csum



On Tue, 27 Feb 2007, Emanuele Rocca wrote:

> Hello,
> 
> * Peter Palfrader <peter@palfrader.org>, [2007-02-20 18:18 +0100]:
> >  On Thu, 01 Feb 2007, Richard Mortimer wrote:
> >  
> >  > Kernel unaligned access at TPC[5e4420] ip_rcv+0xd0/0x58c
> >  > Kernel unaligned access at TPC[517f84] ip_fast_csum+0xc/0x80
> >  > Kernel unaligned access at TPC[517f88] ip_fast_csum+0x10/0x80
> >  > Kernel unaligned access at TPC[517f8c] ip_fast_csum+0x14/0x80
> >  > Kernel unaligned access at TPC[517f94] ip_fast_csum+0x1c/0x80
> >  
> >  Same on a v100, both on 2.6.18-4, and a self compiled 2.6.20.1.
> 
> Could you guys apply the following patch and see if it solves the ip_rcv
> issue? I wrote it a bit blindly as I cannot reproduce the problem on my
> system (a Blade).

> +#include <asm/unaligned.h>

> -       len = ntohs(iph->tot_len);
> +       len = ntohs(get_unaligned(&iph->tot_len));

I'm afraid that didn't fix it.  My sparc doesn't do much or anything
yet, would access to it be helpful?

Peter
-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/



Reply to: