This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Platform-dependent issues on "stable" (1.7.1) systemtap in Debian Wheezy
- From: Maxim Timchenko <maxvt at bu dot edu>
- To: systemtap at sourceware dot org
- Date: Thu, 12 Mar 2015 13:41:44 -0400
- Subject: Platform-dependent issues on "stable" (1.7.1) systemtap in Debian Wheezy
- Authentication-results: sourceware.org; auth=none
Hi all,
I'm looking at an issue with the stable version of systemtap (1.7.1)
on Wheezy and hitting an issue only when running on i686 (x86_64 works
fine) - a specific probe (tty_read) is apparently getting its
parameters wrong and gives a kernelspace memory access error. Looking
a bit further in, the tty driver structure within the probe (or when
hooking the corresponding n_tty_read kernel function) doesn't have the
correct magic set, so other members of the structure are probably
garbage too and dereferencing causes the error message. The tty_write
probe is working perfectly and the parameters look correct.
Does the Debian version work with a specific kernel version/arch, or
is it expected to work on any kernel package released by the distro? I
started with the latest and downgraded to what works for me on x86_64
without any improvement (3.2.63-2+deb7u2). I tried deleting the
.systemtap to clear up any temporary files (advice from a random
website).
Is it worth pursuing the resolution on the stable version, or should I
just give up the idea of using packaged versions and build the latest
version of systemtap, and perhaps the latest kernel too, on the same
machine and toolset?
Yours,
--
Max