public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Error removing module
@ 2012-04-26 15:26 Stanley.Miao
  2012-04-26 15:53 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Stanley.Miao @ 2012-04-26 15:26 UTC (permalink / raw)
  To: systemtap

OS: ubuntu 10.04 server 64bit
kernel: 3.1.4+ (built from source code)
systemtap: the latest version.( I just git clone the source code)
elfutils: 0.153

./configure --with-elfutils=/home/stanley/elfutils-0.153 --prefix=/usr
make
sudo make install

$ sudo stap -e 'probe begin {log("hello world") exit()}'
hello world
Error removing module 'stap_9d638c974730532719dbb6696e35b4e2_748':
Device or resource busy.
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  Try again with another '--vp 00001' option.

$ dmesg|tail
[ 1323.937036] stap_3cb83415e3c3a2f147426e0154dbce86_748: systemtap:
1.8/0.153, base: ffffffffa0168000, memory:
20data/26text/3ctx/2058net/23alloc kb, probes: 1


Does anyone encounter the same problem with me?  How to resolve it ? Thanks.


Stanley

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error removing module
  2012-04-26 15:26 Error removing module Stanley.Miao
@ 2012-04-26 15:53 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2012-04-26 15:53 UTC (permalink / raw)
  To: Stanley.Miao; +Cc: systemtap

"Stanley.Miao" <stanleymiao@gmail.com> writes:

> [...]
> $ sudo stap -e 'probe begin {log("hello world") exit()}'
> hello world
> Error removing module 'stap_9d638c974730532719dbb6696e35b4e2_748':
> Device or resource busy.
> WARNING: /usr/bin/staprun exited with status: 1
> [...]

Perhaps this?  An earlier report related to a mismatch between the
version of gcc used to build the kernel vs. installed at stap time.

http://old.nabble.com/Error-removing-module%3A-Device-or-resource-busy-td33027584.html

- FChE

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-26 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 15:26 Error removing module Stanley.Miao
2012-04-26 15:53 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).