This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: psig for Linux


Hi Betito,

<quote sender="Betito Oliveira">
> I am trying to run a little "hello world" in systemtap with the 20071704
> snapshot (i am using this version purposely), with ARM arch, on Debian.
> I have already installed all the packages necessary.
> 
> I run: stap hello.stp -vv -k
> and I get this error:
> 
> stap hello.stp -vv -k
> SystemTap translator/driver (version 0.5.15/0.128 built 2008-01-11)
> Copyright (C) 2005-2007 Red Hat, Inc. and others
> This is free software; see the source for copying conditions.
> Created temporary directory "/var/tmp/stapCTonIb"
> Searched '/usr/stap0714/share/systemtap/tapset/*.stp', found 35
> Searched '/usr/stap0714/share/systemtap/tapset/LKET/*.stp', found 19
> Pass 1: parsed user script and 54 library script(s) in
> 4250usr/60sys/4392real ms.
> Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s)
> in 60usr/0sys/54real ms.
> Pass 3: using cached
> /root/.systemtap/cache/a8/stap_a820a733cd6e86f86c93dfbe5e80c64b_267.c
> Pass 4: using cached
> /root/.systemtap/cache/a8/stap_a820a733cd6e86f86c93dfbe5e80c64b_267.ko
> Pass 5: starting run.
> Running sudo /usr/stap0714/bin/staprun -v -u root -d 18254
> /var/tmp/stapCTonIb/stap_a820a733cd6e86f86c93dfbe5e80c64b_267.ko
> root is not in the sudoers file.  This incident will be reported.
> Pass 5: run completed in 0usr/20sys/33real ms.
> Pass 5: run failed.  Try again with more '-v' (verbose) options.
> Keeping temporary directory "/var/tmp/stapCTonIb"

Try with another -v, so run stap hello.stp -vvv -k

> when i run:  staprun
> /var/tmp/stapCTonlb/stap_a820a733cd6e86f86c93dfbe5e80c64b_267.ko -vv
> main:141 modpath="stap_a820a733cd6e86f86c93dfbe5e80c64b_267.ko",
> modname="stap_a820a733cd6e86f86c93dfbe5e80c64b_267"
> run_stp_check:194 executing /usr/stap0714/libexec/systemtap/stp_check
> mount: mounting relayfs on /mnt/relay failed   <<------- ERROR!
> insmod: cannot insert 'stap_a820a733cd6e86f86c93dfbe5e80c64b_267.ko':
> Invalid module format (-1): Exec format error
> ERROR, couldn't insmod probe module
> stap_a820a733cd6e86f86c93dfbe5e80c64b_267.ko

Is the kernel compiled with relayfs support?
 
> on line ERROR! i verified the stp_check and there is a line with mount
> relayfs
> in my /proc/filesystems the type relayfs doesn`t contain relayfs
> this must be patched to the kernel source? do you have any clue?
> 
> I would be very happy if you can give me this little help!!!

It's been a long while since I last tried doing this on arm. I'm cc'ing
this email to the mailing list so that others may be able to give you an
advice.

Thanks,
Eugene


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]