From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262159AbUB2WD0 (ORCPT ); Sun, 29 Feb 2004 17:03:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262162AbUB2WDZ (ORCPT ); Sun, 29 Feb 2004 17:03:25 -0500 Received: from pop.gmx.net ([213.165.64.20]:954 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S262159AbUB2WDX convert rfc822-to-8bit (ORCPT ); Sun, 29 Feb 2004 17:03:23 -0500 X-Authenticated: #1226656 Date: Sun, 29 Feb 2004 23:03:18 +0100 From: Marc Giger To: mru@kth.se (=?ISO-8859-1?Q?M=E5ns_Rullg=E5rd?=) Cc: linux-kernel@vger.kernel.org Subject: Re: kernel unaligned acc on Alpha Message-Id: <20040229230318.493034b2.gigerstyle@gmx.ch> In-Reply-To: References: <20040229215546.065f42e9.gigerstyle@gmx.ch> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Måns, On Sun, 29 Feb 2004 22:24:45 +0100 mru@kth.se (Måns Rullgård) wrote: > Marc Giger 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