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: Troubleshooting "UNEXPECTED FATAL ERROR in staprun" on ARM9 target.


Grant Edwards <grant.b.edwards@gmail.com> writes:

> I figured out (or so I thought) the issues with cross-compiling runtime
> support for an ARM9 target (Atmel AT91SAM9G20), but the resulting
> staprun dies like so:
> [...]
>    UNEXPECTED FATAL ERROR in staprun. Please file a bug report.
>    Segmentation fault

You could run staprun under gdb; this was a normal user-space abort, so
normal user-space diagnostic tools can be used.

> Here's how I built hello.ko:
>
>    $ stap -p4 -a arm \
>           -B CROSS_COMPILE=/home/nextgen/toolchain/bin/arm-linux- \
>           -r /home/nextgen/kernel/linux-2.6.30 \
>           -m hello  hello.stp

That looks ok.


- FChE


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