Hello,

I am wondering how I can install systemtap in debian(lenny).  (kernel is 
2.6.26-2-amd64)
I know lenny does not have kernel image with debug sysmols in apt packages, so
I want to build it on my own.

I did it like the following, but it didn't work.
Does anyone give me a help ?

=====
$ sudo apt-get install systemtap

# it fails with the following message at this step.
$ stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 43 library script(s) in 140usr/0sys/139real ms.
semantic error: libdwfl failure (missing kernel 2.6.26-2-amd64 x86_64 
debuginfo): No such file or directory while resolving probe point 
kernel.function("vfs_read")
semantic error: no match while resolving probe point vfs.read
semantic error: no probes found
...
I thought I need to build it on my own.

$ cd $HOME
$ sudo apt-get install dpkg-dev debhelper gawk
$ mkdir tmp
$ cd tmp
$ sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ apt-get source linux-image-$(uname -r)
$ cd linux-2.6-2.6.26
$ fakeroot debian/rules clean
# there is no binary-generic, so ended up using binary-arch (is it OK ?)
$ AUTOBUILD=1 fakeroot debian/rules binary-arch skipdbg=false
$ sudo dpkg -i ../linux-image-2.6.26-2-amd64_2.6.26-25lenny1_amd64.deb

But, it still fails with the same error messages.
=====

Hiroyuki


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/277692.25110...@web31103.mail.kks.yahoo.co.jp

Reply via email to