From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12790 invoked by alias); 11 Nov 2009 09:50:56 -0000 Received: (qmail 12782 invoked by uid 22791); 11 Nov 2009 09:50:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp2.tu-cottbus.de (HELO smtp2.tu-cottbus.de) (141.43.99.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Nov 2009 09:50:49 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.tu-cottbus.de (Postfix) with ESMTP id 64022690156; Wed, 11 Nov 2009 10:50:47 +0100 (CET) Received: from loki (cd1.cd.tu-cottbus.de [141.43.159.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by smtp2.tu-cottbus.de (Postfix) with ESMTPSA id CC9F8690151; Wed, 11 Nov 2009 10:50:42 +0100 (CET) Received: by loki (Postfix, from userid 1000) id 567D8EAA102; Wed, 11 Nov 2009 10:50:25 +0100 (CET) Date: Wed, 11 Nov 2009 09:50:00 -0000 From: Eugeniy Meshcheryakov To: James Y Knight Cc: systemtap@sourceware.org Subject: Re: Troubles with debug info, using systemtap on debian. Message-ID: <20091111095025.GA9619@localhost.localdomain> References: <20091110093254.GA3190@localhost.localdomain> <20091111094104.GA6320@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <20091111094104.GA6320@localhost.localdomain> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00491.txt.bz2 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1086 11 =D0=BB=D0=B8=D1=81=D1=82=D0=BE=D0=BF=D0=B0=D0=B4=D0=B0 2009 =D0=BE 10:41= +0100 Eugeniy Meshcheryakov =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2(-= =D0=BB=D0=B0): > Hello, >=20 > 10 =D0=BB=D0=B8=D1=81=D1=82=D0=BE=D0=BF=D0=B0=D0=B4=D0=B0 2009 =D0=BE 13:= 38 -0500 James Y Knight =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2(-=D0=BB= =D0=B0): > > Unless something *further* strange is going on in my environment, > > anyone should be able to reproduce by: > > 1) removing the symlink to your kernel build dir (rm /lib/modules/ > > $VERS/build): renaming is not enough, systemtap still finds it! > > 2) ensuring that the debug info in /usr/lib/debug is stripped of > > code with objcopy --only-keep-debug. > > 3) ensuring the kernel modules in /lib/modules/$VERS are stripped of > > debug info. > This does not work at all. With DWARF probes stap does not find debug > info (and does not segfault). With dwarfless probes stap still requires > build directory (I guess to build module?) and does not segfault. >=20 I tried to symlink snd.ko to snd.ko.debug and can reproduce the bug now. --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkr6iOEACgkQKaC6+zmozOJC0gCfV/TJG6Uuhq5bwRTTjkaFMGC8 uloAmwSY4KFxvTp8FuC5aUl2m+P9HYWf =opLg -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--