This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug server/20541] New: Systemtap 3.0 installation problem on Ubuntu 16.04 LTS @GCP
- From: "steve.tsai at nexusguard dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 31 Aug 2016 07:54:07 +0000
- Subject: [Bug server/20541] New: Systemtap 3.0 installation problem on Ubuntu 16.04 LTS @GCP
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20541
Bug ID: 20541
Summary: Systemtap 3.0 installation problem on Ubuntu 16.04 LTS
@GCP
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: server
Assignee: systemtap at sourceware dot org
Reporter: steve.tsai at nexusguard dot com
Target Milestone: ---
Dear Systemtap Experts:
If this is not the place to post this kind of issue, please let me know.
I have successfully installed systamtap on Ubuntu 14.04 LTS.
However, I have a problem to try to install systemtap on Ubuntu 16.04 LTS. I
started with a vm instance from Google cloud platform.
I successfully installed systemtap both from
apt-get install systeamtap
and
ElfUtils 0.167 & SystemTap 3.0 from Source Packages.
But I got the same error message.
$ bash
$ sudo stap -e 'probe begin { printf("Hello, World!\n"); exit() }'
Hello, World!
$ sudo stap -ve 'probe kernel.function("sys_open") {log("hello world") exit()}'
Pass 1: parsed user script and 110 library script(s) using
108356virt/43892res/6300shr/37664data kb, in 140usr/20sys/154rea
l ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0 global(s)
using 154732virt/91192res/7236shr/84040data kb,
in 870usr/380sys/5302real ms.
Pass 3: translated to C into
"/tmp/stap1nFy6I/stap_382ffff0246776764576b305cb895aef_1314_src.c" using
154732virt/91384res/7
428shr/84040data kb, in 10usr/60sys/78real ms.
Pass 4: compiled C into "stap_382ffff0246776764576b305cb895aef_1314.ko" in
1530usr/240sys/2122real ms.
Pass 5: starting run.
WARNING: probe
kernel.function("SyS_open@/build/linux-lts-xenial-QiVniY/linux-lts-xenial-4.4.0/fs/open.c:1038")
(address 0x
ffffffff811fcd40) registration error (rc -84)
------------------------------------------------------
$ uname -a
Linux steve-systemtap2 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
---------------------------------------------
My complete installation process for case 1.
sudo apt-get install -y systemtap gcc
sudo apt-get install -y linux-headers-generic
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C8CAB6595FDFF622
ECDCAD72428D7C01
sudo vi /etc/apt/sources.list.d/ddebs.list
deb http://ddebs.ubuntu.com/ trusty main restricted universe multiverse
deb http://ddebs.ubuntu.com/ trusty-security main restricted universe
multiverse
deb http://ddebs.ubuntu.com/ trusty-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com/ trusty-proposed main restricted universe
multiverse
sudo apt-get update
sudo apt-get install linux-image-$(uname -r)-dbgsym
#bash // to make $PATH work
#sudo stap -e 'probe begin { printf("Hello, World!\n"); exit() }'
#sudo stap -ve 'probe kernel.function("sys_open") {log("hello world") exit()}'
------------------------------------------------------------
My complete installation process for case 2.
sudo apt-get install -y zlib1g-dev libdw-dev g++ gcc make m4 gettext libcap-dev
linux-headers-$(uname -r)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C8CAB6595FDFF622
ECDCAD72428D7C01
sudo vi /etc/apt/sources.list.d/ddebs.list
deb http://ddebs.ubuntu.com/ trusty main restricted universe multiverse
deb http://ddebs.ubuntu.com/ trusty-security main restricted universe
multiverse
deb http://ddebs.ubuntu.com/ trusty-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com/ trusty-proposed main restricted universe
multiverse
sudo apt-get update
sudo apt-get install linux-image-$(uname -r)-dbgsym
mkdir systemtap
cd systemtap
wget
https://fedorahosted.org/releases/e/l/elfutils/0.167/elfutils-0.167.tar.bz2
tar jxf elfutils-0.167.tar.bz2
wget https://sourceware.org/systemtap/ftp/releases/systemtap-3.0.tar.gz
tar zxf systemtap-3.0.tar.gz
cd systemtap-3.0
sudo -i
./configure --with-elfutils=../elfutils-0.167
make
sudo make install
-----------------------------------------------------------------------
Did I make installation wrong? or Is there a bug?
Could you help me to solve this problem?
thank you in advance.
Steve
--
You are receiving this mail because:
You are the assignee for the bug.