usertap kernel read faults - can I ignore them somehow?
Matthew Ward
matthew.ward@fubra.com
Tue Nov 29 15:02:00 GMT 2011
On 29/11/2011 14:38, Frank Ch. Eigler wrote:
>
> Hi, Matthew -
>
>> I'm having an issue with our usertap tapset
>> (https://github.com/fubralimited/usertap) [...]
>> ERROR: kernel read fault at 0x0000000100000264 (addr) near identifier
>> '@cast' at /usr/share/systemtap/tapset/ip.stp:45:11
>
> You can do several things.
> First, you can run "stap --skip-badvars ...", which turns all erroneous
> $var accesses into 0. Second, you can (sometimes) wrap expressions with
> try { var = $var } catch { }
> to absorb the error. But see<http://sourceware.org/PR13306>.
>
> - FChE
>
Thanks, that's exactly what I was looking for. When using the
--skip-badvars option, if I'm running the tapset as a service using
stapio, do I pass this to /usr/bin/stap when I build the original module
(.ko) and this will apply whenever the module version is used by stapio
etc. from then on?
Matt.
More information about the Systemtap
mailing list