reassign 555549 src:linux-2.6 2.6.32-15
thanks

On Sat, Jun 26, 2010 at 06:25:45PM +0530, Ritesh Raj Sarraf wrote:
> 
> The bug does not seem to be fixed yet. It searches into the /usr/lib/debug
> path looking for a .debug file
> 
> 
> 14:15:05 r...@champaran:~ $ echo "probe
> module(\"btrfs\").function(\"*\").return { }" | stap -
> WARNING: cannot find module btrfs debuginfo: No DWARF information found
> semantic error: no match while resolving probe point
> module("btrfs").function("*").return
> Pass 2: analysis failed.  Try again with another '--vp 01' option.
> 
> 
> Here's the relevant strace output. Please let me know if you need the full
> log.
> 
> close(4)                                = 0
> open("/usr/lib/debug/.build-id/fb/5bb9a05527ec0ad56fd49926c3981e34bac92a.debug",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> stat("/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko",
> {st_mode=S_IFREG|0644, st_size=625632, ...}) = 0
> open("/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko.debug", O_RDONLY)
> = -1 ENOENT (No such file or directory)
> open("/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/.debug/btrfs.ko.debug",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/usr/lib/debug/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko.debug",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/build/btrfs.ko.debug",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> 

This looks to me like
/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko did not set
the .gnu_debuglink section indicating the file I should look for.
And if I don't know that I should look for a "btrfs.ko" file, don't
expecting me to find it.

I atleast see the same problem with 2.6.32-15.

Please try adding it with:
objcopy 
--add-gnu-debuglink=/usr/lib/debug/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko
 /lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko

It will only store the "btrfs.ko" part in the file, but objcopy
will look that this file exists.  Using
"--add-gnu-debuglink=/lib/modules/2.6.34-1-amd64/kernel/fs/btrfs/btrfs.ko"
should produce the same thing.

This is normally something dh_strip should be doing, or whatever
is used to place the debug symbols in the separate file.

As I believe all problems in elfutils are solved, I'm reassigning
this bug.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to