Comment 3 for bug 1054274

Revision history for this message
Chris J Arges (arges) wrote :

This fixes the first issue, but then we run into another problem.

$ sudo stap -vvv helloworld.stp
Systemtap translator/driver (version 1.7/0.153 Debian version 1.7-1ubuntu1 (quantal))
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBSQLITE3 NSS BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS
Created temporary directory "/tmp/stapgWNqNn"
Session arch: x86_64 release: 3.5.0-15-generic
Parsed kernel "/lib/modules/3.5.0-15-generic/build/.config", containing 5064 tuples
Parsed kernel /lib/modules/3.5.0-15-generic/build/Module.symvers, which contained 6635 vmlinux exports
Searched: " /usr/share/systemtap/tapset/x86_64/*.stp ", found: 4, processed: 4
Searched: " /usr/share/systemtap/tapset/*.stp ", found: 77, processed: 77
Pass 1: parsed user script and 81 library script(s) using 84348virt/22792res/2536shr kb, in 80usr/10sys/89real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) using 84876virt/23584res/2768shr kb, in 0usr/0sys/3real ms.
Pass 3: using cached /home/arges/.systemtap/cache/45/stap_45506aa113333ebdb243bba608a94ae7_738.c
Pass 4: using cached /home/arges/.systemtap/cache/45/stap_45506aa113333ebdb243bba608a94ae7_738.ko
Pass 5: starting run.
Running /usr/bin/staprun -v -v -R /tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko
staprun:main:385 modpath="/tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko", modname="stap_45506aa113333ebdb243bba608a94ae7_738"
staprun:init_staprun:303 init_staprun
staprun:insert_module:72 inserting module /tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko
staprun:insert_module:98 module options: _stp_bufsize=0
staprun:insert_module:106 module path canonicalized to '/tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko'
staprun:check_signature:428 checking signature for /tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko
Signature file /tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko.sgn not found
staprun:check_signature:441 verify_module returns 0
staprun:insert_module:169 Renaming module 'stap_45506aa113333ebdb243bba608a94ae7_738'
staprun:insert_module:177 Renamed module to 'stap_45506aa113333ebdb243bba608a94ae_3547'
Error inserting module '/tmp/stapgWNqNn/stap_45506aa113333ebdb243bba608a94ae7_738.ko': Operation not permitted
Spawn waitpid result (0x100): 1
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run completed in 0usr/0sys/10real ms.
Pass 5: run failed. Try again with another '--vp 00001' option.
Running rm -rf /tmp/stapgWNqNn
Spawn waitpid result (0x0): 0