Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758469AbZFOMwT (ORCPT ); Mon, 15 Jun 2009 08:52:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754499AbZFOMwJ (ORCPT ); Mon, 15 Jun 2009 08:52:09 -0400 Received: from yw-out-2324.google.com ([74.125.46.29]:23198 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753654AbZFOMwI (ORCPT ); Mon, 15 Jun 2009 08:52:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=iD51zqKok1LKoyZ1hIZ/MD/9o0Qov4rd6Bdy9gYsfZMUq36h6PXgE5BhyyWnBErDuV hr61xyjmm48wDZj/o5ZaWgoE27h4Yok+0uZHXrUXy7sZKeTN5UBrvcSFlAY74CMhLuKR bprMZFCU+/dTR+stx4Pim5MVNjgym5axdUjw4= MIME-Version: 1.0 In-Reply-To: <1245070063.16986.22.camel@pc1117.cambridge.arm.com> References: <1245070063.16986.22.camel@pc1117.cambridge.arm.com> From: Mike Frysinger Date: Mon, 15 Jun 2009 08:51:50 -0400 Message-ID: <8bd0f97a0906150551o6de9a29fj64f73d4ccfff7e57@mail.gmail.com> Subject: Re: kallsyms broken on ARM by commit 17b1f0d To: Catalin Marinas Cc: Sam Ravnborg , linux-kernel Content-Type: multipart/mixed; boundary=00151750e4dabe598a046c628656 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3629 Lines: 72 --00151750e4dabe598a046c628656 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jun 15, 2009 at 08:47, Catalin Marinas wrote: > With the above commit, kallsyms on ARM no longer show correct > information. That's a trace with this commit: > > =C2=A0 =C2=A0[] _etext+0xffd9bfec/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffd995e4/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffe67d94/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffe67f10/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffe681bc/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffe68218/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffe63db0/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffe63e18/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffd9f250/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffd9c238/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffd9c2b8/0x126d8 > =C2=A0 =C2=A0[] _etext+0xffd43dc0/0x126d8 > > and with the commit reverted: > > =C2=A0 =C2=A0[] kmemleak_alloc+0x14c/0x260 > =C2=A0 =C2=A0[] kmem_cache_alloc+0xd4/0x108 > =C2=A0 =C2=A0[] tty_ldisc_try_get+0x18/0xb0 > =C2=A0 =C2=A0[] tty_ldisc_get+0x18/0x40 > =C2=A0 =C2=A0[] tty_ldisc_reinit+0x28/0x5c > =C2=A0 =C2=A0[] tty_ldisc_release+0x28/0x3c > =C2=A0 =C2=A0[] tty_release_dev+0x3cc/0x428 > =C2=A0 =C2=A0[] tty_release+0xc/0x14 > =C2=A0 =C2=A0[] __fput+0x104/0x1c4 > =C2=A0 =C2=A0[] filp_close+0x70/0x7c > =C2=A0 =C2=A0[] sys_close+0x74/0xa8 > =C2=A0 =C2=A0[] ret_fast_syscall+0x0/0x28 > > Any idea what went wrong? I haven't looked at your commit in detail. try this patch (Gentoo mail server is broken atm, so attaching) -mike --00151750e4dabe598a046c628656 Content-Type: application/octet-stream; name="0001-kallsyms-fix-inverted-valid-symbol-checking.patch" Content-Disposition: attachment; filename="0001-kallsyms-fix-inverted-valid-symbol-checking.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fvz6p0r80 RnJvbSBjMWQ0YzIzMTZlZTRkYjdhNTc0N2NmZDljNzQ0YjQyYjY3OWJlYTIw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ZW5k KQorCQkJcmV0dXJuIDE7CiAJfQogCi0JcmV0dXJuIDE7CisJcmV0dXJuIDA7CiB9CiAKIHN0YXRp YyBpbnQgc3ltYm9sX3ZhbGlkKHN0cnVjdCBzeW1fZW50cnkgKnMpCi0tIAoxLjYuMy4xCgo= --00151750e4dabe598a046c628656-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/