From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55575 invoked by alias); 31 Aug 2016 07:54:21 -0000 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 Received: (qmail 55146 invoked by uid 48); 31 Aug 2016 07:54:08 -0000 From: "steve.tsai at nexusguard dot com" To: systemtap@sourceware.org Subject: [Bug server/20541] New: Systemtap 3.0 installation problem on Ubuntu 16.04 LTS @GCP Date: Wed, 31 Aug 2016 07:54:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: server X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steve.tsai at nexusguard dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q3/txt/msg00218.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20541 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=20 apt-get install systeamtap=20 and=20 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 C8CAB6595FDFF= 622 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 multiv= erse 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 C8CAB6595FDFF= 622 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 multiv= erse 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=3D../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 --=20 You are receiving this mail because: You are the assignee for the bug.