This is the mail archive of the 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]

kernel panic when removing a running script directly

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( and Fedora8test3(
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.

Here is the oops message on Fedora8test3 that I could catch from serial console.

Unable to handle kernel paging request at 00007efedf5febc7 RIP:
 [<ffffffff81045bc7>] wq_per_cpu+0x14/0x19
<8>PGD 0
Oops: 0000 [1] SMP
<8>CPU 1
<8>Modules linked in: iotime(U) rfcomm l2cap bluetooth autofs4 sunrpc nf_conntrack_netbios_ns nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink ipt_REJECT iptable_filter
ip_tables xt_tcpudp ip6t_REJECT ip6table_filter ip6_tables x_tables ipv6 cpufreq_ondemand dm_mirror dm_multipath dm_mod snd_hda_intel snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm k8temp hwmon snd_timer parport_pc snd parport soundcore snd_page_alloc i2c_nforce2 tg3 button
i2c_core sg sr_mod cdrom ata_generic sata_nv libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd
<8>Pid: 0, comm: swapper Not tainted #1
<8>RIP: 0010:[<ffffffff81045bc7>]  [<ffffffff81045bc7>] wq_per_cpu+0x14/0x19
<8>RSP: 0018:ffff81012fe9bed8  EFLAGS: 00010246
<8>RAX: 00007efedf5febbf RBX: ffffffff88311da0 RCX: ffffffff810461bc
<8>RDX: ffff81012fe9bef0 RSI: 0000000000000001 RDI: ffff810120a01d00
<8>RBP: 0000000000000100 R08: ffffffff88311df8 R09: 0000000000000000
<8>R10: ffff81007fb96000 R11: ffffffff8101bdf7 R12: ffff81012fe88000
<8>R13: ffffffff810461bc R14: 0000000000000000 R15: 0000000000000000
<8>FS:  0000000040a00950(0000) GS:ffff810103820400(0000) knlGS:0000000000000000
<8>CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
<8>CR2: 00007efedf5febc7 CR3: 0000000000201000 CR4: 00000000000006e0
<8>DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<8>DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
<8>Process swapper (pid: 0, threadinfo ffff81012fe94000, task ffff81012fe8d020)
<8>Stack:  ffffffff810461d8 ffffffff88311da0 ffffffff8103f23c ffff81012fe9bef0
<8> ffff81012fe9bef0 ffffffff8104bf80 0000000000000001 ffffffff813c1110
<8> 000000000000000a 0000000000000001 ffffffff8103c9b9 ffff810001011778
<8>Call Trace:
<8> <IRQ>  [<ffffffff810461d8>] delayed_work_timer_fn+0x1c/0x25
<8> [<ffffffff8103f23c>] run_timer_softirq+0x167/0x1dc
<8> [<ffffffff8104bf80>] ktime_get+0xc/0x41
<8> [<ffffffff8103c9b9>] __do_softirq+0x55/0xc3
<8> [<ffffffff8100cd5c>] call_softirq+0x1c/0x28
<8> [<ffffffff8100de8d>] do_softirq+0x2c/0x85
<8> [<ffffffff8103c91f>] irq_exit+0x3f/0x84
<8> [<ffffffff8101c1ac>] smp_apic_timer_interrupt+0x3f/0x53
<8> [<ffffffff8100adba>] default_idle+0x0/0x3d
<8> [<ffffffff8100adba>] default_idle+0x0/0x3d
<8> [<ffffffff8100c806>] apic_timer_interrupt+0x66/0x70
<8> <EOI>  [<ffffffff8100ade3>] default_idle+0x29/0x3d
<8> [<ffffffff8100ae8b>] cpu_idle+0x94/0xbc
<8>Code: 48 8b 04 f0 c3 53 48 8b 4f 38 48 c7 c0 37 fe 31 81 48 c7 c2
RIP  [<ffffffff81045bc7>] wq_per_cpu+0x14/0x19
<8> RSP <ffff81012fe9bed8>
CR2: 00007efedf5febc7
Kernel panic - not syncing: Aiee, killing interrupt handler!


Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division


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