This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: kernel panic when removing a running script directly
- From: Martin Hunt <hunt at redhat dot com>
- To: Masami Hiramatsu <mhiramat at redhat dot com>
- Cc: systemtap-ml <systemtap at sources dot redhat dot com>
- Date: Thu, 01 Nov 2007 15:21:55 -0400
- Subject: Re: kernel panic when removing a running script directly
- Organization: Red Hat Inc.
- References: <4720E574.9080006@redhat.com>
On Thu, 2007-10-25 at 14:50 -0400, Masami Hiramatsu wrote:
> Hello Martin,
>
> I've gotten kernel panic when removing a running script (which is detached
> from staprun) directly using rmmod command.
> I hit it on Fedora7(2.6.22.9-91.fc7)@i386 and Fedora8test3(2.6.23.1-30.fc8)@x86-64
> with latest systemtap on CVS.
>
> Here is what I did:
> $ stap -m iotime examples/iotime.stp
> ^4 (send SIGQUIT)
> $ /sbin/rmmod iotime
>
> This bug sometimes did not occur, so you might need to repeat it.
> And I could not reproduce it on RHEL5.
I wrote a script to repeat the above process hundreds of times per
second and was able to reproduce on all systems I tried. I have checked
in a fix. Please update from CVS and confirm it works for you.
Thanks for reporting this.
Martin