From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758007AbYELR25 (ORCPT ); Mon, 12 May 2008 13:28:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753765AbYELR2s (ORCPT ); Mon, 12 May 2008 13:28:48 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:33647 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753656AbYELR2r (ORCPT ); Mon, 12 May 2008 13:28:47 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=LQFAdwtvn5Z+gaPWKX16fMW88M5z3/5yb1Bem1yvCNH/tUOwAiFHkcTrk67LpV62EJOeKvoLPYcyy0P4XjItM4HwQqXhmUbRshDclQe59wWrsISEjo+xIQ5Vmr2pqlmoS0Iw//e3i0reZ6fUOuv4jLZCGQz+rjW5HTSraQ9+WJY= Date: Mon, 12 May 2008 21:28:36 +0400 From: Cyrill Gorcunov To: Sam Ravnborg Cc: Paulo Marques , Alexey Dobriyan , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: /proc/kallsyms broken in 2.6.26-rc1-git6 Message-ID: <20080512172836.GC6913@cvg> References: <20080509174148.GA22246@basil.nowhere.org> <482491D6.9030205@grupopie.com> <4824A7B6.70306@firstfloor.org> <4824AD3C.3070506@grupopie.com> <20080509233742.GA22265@martell.zuzino.mipt.ru> <48281540.9020207@grupopie.com> <20080512155052.GB6913@cvg> <20080512172323.GA9236@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080512172323.GA9236@uranus.ravnborg.org> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Sam Ravnborg - Mon, May 12, 2008 at 07:23:23PM +0200] | On Mon, May 12, 2008 at 07:50:52PM +0400, Cyrill Gorcunov wrote: | > [Paulo Marques - Mon, May 12, 2008 at 11:00:32AM +0100] | > > Alexey Dobriyan wrote: | > >> On Fri, May 09, 2008 at 08:59:56PM +0100, Paulo Marques wrote: | > >>> Andi Kleen wrote: | > >>>> [...] | > >>>> Yes and? Surely that's not correct? | > >>> That's not for me to judge, but I believe it has always been like that. | > >> *cough* | > >> Here is how typical /proc/kallsyms looks like: | > >> ffffffff80200000 A _text | > >> ffffffff80200000 T startup_64 | > >> ffffffff802000b7 t ident_complete | > >> ffffffff80200100 T secondary_startup_64 | > > | > > This isn't helpful... the question is whether it is kallsyms misbehaving | > > and placing new symbols in the kernel image or if it is some other change | > > in the kernel that is generating new symbols that end up in the symbol | > > table. | > > | > > My guess it is that it is the later, and in that case, from a kallsyms | > > standpoint "it has always been like that". | > > | > > -- | > > Paulo Marques - www.grupopie.com | > > | > > | > | > If it help - I've taken Andi's config, compiled the kernel and | > didn't find any screwed symbols (nor is System.map nor in /proc/kallsyms). | | I expect it to be a toolchain issue. Andi is often running with gcc versions | that are very new (fresh from svn maybe). I dunno about binutils. | To reproduce I would expect that a very recent gcc/binutils is needed. | Andi? | | Sam | Probably, I've used: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) sys-devel/binutils 2.18-r1 - Cyrill -