This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Troubleshooting "UNEXPECTED FATAL ERROR in staprun" on ARM9 target.
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Grant Edwards <grant dot b dot edwards at gmail dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Tue, 31 Aug 2010 11:43:17 -0400
- Subject: Re: Troubleshooting "UNEXPECTED FATAL ERROR in staprun" on ARM9 target.
- References: <i5j427$l33$2@dough.gmane.org>
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