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]

[Bug runtime/10031] New: current.exp test causes system to crash with 2.6.29


Kernel: 2.6.29 (31st March)
Systemtap: Git tree as of 31st March
Arch: ppc64



[root@llm27lp1 systemtap]# make installcheck RUNTESTFLAGS="current.exp"
if test \! -e /usr/local/bin/stap; then \
	  echo /usr/local/bin/stap doesn\'t exist, run make install; \
	  exit -1; \
	fi; \
	if test ./stap -nt /usr/local/bin/stap; then \
	  echo "/usr/local/bin/stap is not recent, run make install"; \
	  exit -1; \
	fi;
make -C testsuite installcheck RUNTESTFLAGS="current.exp"
make[1]: Entering directory `/home/mahesh/systemtap/systemtap/testsuite'
make  check-DEJAGNU RUNTESTFLAGS="current.exp --tool_opts \'install \'"
make[2]: Entering directory `/home/mahesh/systemtap/systemtap/testsuite'
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir; \
	EXPECT=expect; export EXPECT; \
	runtest="env SYSTEMTAP_RUNTIME=/usr/local/share/systemtap/runtime
SYSTEMTAP_TAPSET=/usr/local/share/systemtap/tapset
LD_LIBRARY_PATH=/usr/local/lib/systemtap CRASH_LIBDIR=/usr/local/lib/systemtap
PATH=/usr/local/bin:$PATH SYSTEMTAP_PATH=/usr/local/bin
SYSTEMTAP_INCLUDES=/usr/local/include ./execrc runtest"; \
	if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
	  exit_status=0; l='systemtap'; for tool in $l; do \
	    if $runtest  --tool $tool --tool_opts \'\' --srcdir $srcdir current.exp
--tool_opts \'install \'; \
	    then :; else exit_status=1; fi; \
	  done; \
	else echo "WARNING: could not find \`runtest'" 1>&2; :;\
	fi; \
	exit $exit_status
WARNING: Couldn't find the global config file.
kernel location: /boot/vmlinux-2.6.29-31Mar
kernel version: 2.6.29-31Mar
systemtap location: /usr/local/bin/stap
systemtap version: version 0.9.5/0.140 commit c5746f91
Test Run By root on Fri Apr  3 11:47:59 2009
Native configuration is powerpc64-redhat-linux-gnu

		=== systemtap tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/mahesh/systemtap/systemtap/testsuite/config/unix.exp as
tool-and-target-specific interface file.

Host: Linux llm27lp1.in.ibm.com 2.6.29-31Mar #2 SMP Tue Mar 31 15:35:17 IST 2009
ppc64 ppc64 ppc64 GNU/Linux
Snapshot: version 0.9.5/0.140 commit c5746f91
Distro: Red Hat Enterprise Linux Server release 5.2 (Tikanga)

Running /home/mahesh/systemtap/systemtap/testsuite/systemtap.stress/current.exp ...


=============================================================

llm27lp1.in.ibm.com login: 
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Kernel 2.6.29-31Mar on an ppc64

llm27lp1.in.ibm.com login: cpu 0x6: Vector: d00 (Single Step) at [c00000000ffcef90]
    pc: c00000000006dfb4: .scheduler_tick+0xfc/0x198
    lr: c00000000006dfb4: .scheduler_tick+0xfc/0x198
    sp: c00000000ffcf210
   msr: 8000000040101032
  current = 0xc0000000c8120a20
  paca    = 0xc000000000733000
    pid   = 0, comm = swapper
	ld	r2,40(r1)
enter ? for help
[c00000000ffcf210] c00000000006df0c .scheduler_tick+0x54/0x198 (unreliable)
[c00000000ffcf2a0] c00000000007f000 .update_process_times+0x68/0x94
[c00000000ffcf330] c000000000099364 .tick_periodic+0xc0/0xec
[c00000000ffcf3c0] c0000000000993c4 .tick_handle_periodic+0x34/0xb0
[c00000000ffcf460] c0000000000254a4 .timer_interrupt+0xb0/0x104
[c00000000ffcf4f0] c000000000003718 decrementer_common+0x118/0x180
--- Exception: 901 (Decrementer) at c0000000004286a0 ._spin_lock_irqsave+0x0/0xdc
[link register   ] c00000000042cfe0 .kretprobe_hash_lock+0x74/0x9c
[c00000000ffcf7e0] c00000000ffcfb30 (unreliable)
[c00000000ffcf870] c000000000429eac .trampoline_probe_handler+0x54/0x1b4
[c00000000ffcf940] c000000000429b7c .kprobe_exceptions_notify+0x288/0x4b4
[c00000000ffcf9f0] c00000000042add4 .notifier_call_chain+0x5c/0xcc
[c00000000ffcfa90] c000000000091d2c .notify_die+0x3c/0x50
[c00000000ffcfb30] c00000000042911c .program_check_exception+0x124/0x684
[c00000000ffcfbf0] c000000000004f8c program_check_common+0x10c/0x180
--- Exception: 700 (Program Check) at c00000000002b070
.kretprobe_trampoline_holder+0x0/0x8
[c00000000ffcff90] c0000000000280cc .call_do_softirq+0x14/0x24
[c0000000fe1279a0] c00000000000cde0 .do_softirq+0x8c/0xf4
[c0000000fe127a40] c0000000000784bc .irq_exit+0x54/0x6c
[c0000000fe127ac0] c0000000000254cc .timer_interrupt+0xd8/0x104
[c0000000fe127b50] c000000000003718 decrementer_common+0x118/0x180
--- Exception: 901 (Decrementer) at c00000000000bce0
.raw_local_irq_restore+0x3c/0x40
[link register   ] c000000000012c24 .cpu_idle+0x10c/0x1b0
[c0000000fe127e40] c000000000012c18 .cpu_idle+0x100/0x1b0 (unreliable)
[c0000000fe127ed0] c000000000435268 .start_secondary+0x34c/0x38c
[c0000000fe127f90] c0000000000082d4 .start_secondary_prolog+0x10/0x14
6:mon> e
cpu 0x6: Vector: d00 (Single Step) at [c00000000ffcef90]
    pc: c00000000006dfb4: .scheduler_tick+0xfc/0x198
    lr: c00000000006dfb4: .scheduler_tick+0xfc/0x198
    sp: c00000000ffcf210
   msr: 8000000040101032
  current = 0xc0000000c8120a20
  paca    = 0xc000000000733000
    pid   = 0, comm = swapper
6:mon> r
R00 = 0000000000000000   R16 = 0000000000000006
R01 = c00000000ffcf210   R17 = 0000000000000000
R02 = c0000000006a9450   R18 = 0000000000000000
R03 = c0000000008b3c00   R19 = 0000000000000000
R04 = c0000000c8120a20   R20 = 0000000000000000
R05 = 0000000000000000   R21 = 0000000000000000
R06 = 0000000000000005   R22 = c000000000743c18
R07 = 0000000000000000   R23 = 0000000000000001
R08 = 000000000000000f   R24 = c000000000732400
R09 = c00000000066bae8   R25 = c00000000ffcfc60
R10 = c0000000008b3c20   R26 = c00000000002b070
R11 = c00000000005d984   R27 = 0000000000310000
R12 = 000000002ebb6b19   R28 = c0000000c8120a20
R13 = c000000000733000   R29 = 0000000000000006
R14 = 0000000000000000   R30 = c0000000006515d8
R15 = 0000000000c00060   R31 = c0000000008b3c00
pc  = c00000000006dfb4 .scheduler_tick+0xfc/0x198
lr  = c00000000006dfb4 .scheduler_tick+0xfc/0x198
msr = 8000000040101032   cr  = 28000042
ctr = c00000000005d980   xer = 0000000000000000   trap =  d00
6:mon> S
msr  = 8000000000001032  sprg0= 0000000000000000
pvr  = 00000000003a0203  sprg1= c000000000733000
dec  = 0000000026f9ca7b  sprg2= c000000000733000
sp   = c00000000ffcebc0  sprg3= c000000000733000
toc  = c0000000006a9450  dar  = c000000038143a00
6:mon> t
[c00000000ffcf210] c00000000006df0c .scheduler_tick+0x54/0x198 (unreliable)
[c00000000ffcf2a0] c00000000007f000 .update_process_times+0x68/0x94
[c00000000ffcf330] c000000000099364 .tick_periodic+0xc0/0xec
[c00000000ffcf3c0] c0000000000993c4 .tick_handle_periodic+0x34/0xb0
[c00000000ffcf460] c0000000000254a4 .timer_interrupt+0xb0/0x104
[c00000000ffcf4f0] c000000000003718 decrementer_common+0x118/0x180
--- Exception: 901 (Decrementer) at c0000000004286a0 ._spin_lock_irqsave+0x0/0xdc
[link register   ] c00000000042cfe0 .kretprobe_hash_lock+0x74/0x9c
[c00000000ffcf7e0] c00000000ffcfb30 (unreliable)
[c00000000ffcf870] c000000000429eac .trampoline_probe_handler+0x54/0x1b4
[c00000000ffcf940] c000000000429b7c .kprobe_exceptions_notify+0x288/0x4b4
[c00000000ffcf9f0] c00000000042add4 .notifier_call_chain+0x5c/0xcc
[c00000000ffcfa90] c000000000091d2c .notify_die+0x3c/0x50
[c00000000ffcfb30] c00000000042911c .program_check_exception+0x124/0x684
[c00000000ffcfbf0] c000000000004f8c program_check_common+0x10c/0x180
--- Exception: 700 (Program Check) at c00000000002b070
.kretprobe_trampoline_holder+0x0/0x8
[c00000000ffcff90] c0000000000280cc .call_do_softirq+0x14/0x24
[c0000000fe1279a0] c00000000000cde0 .do_softirq+0x8c/0xf4
[c0000000fe127a40] c0000000000784bc .irq_exit+0x54/0x6c
[c0000000fe127ac0] c0000000000254cc .timer_interrupt+0xd8/0x104
[c0000000fe127b50] c000000000003718 decrementer_common+0x118/0x180
--- Exception: 901 (Decrementer) at c00000000000bce0
.raw_local_irq_restore+0x3c/0x40
[link register   ] c000000000012c24 .cpu_idle+0x10c/0x1b0
[c0000000fe127e40] c000000000012c18 .cpu_idle+0x100/0x1b0 (unreliable)
[c0000000fe127ed0] c000000000435268 .start_secondary+0x34c/0x38c
[c0000000fe127f90] c0000000000082d4 .start_secondary_prolog+0x10/0x14
6:mon>

====================================================

I exctracting all probe functions from generated C module for current.stp and
ran plain kprobe and kretprobe registration. I did not see any crash with this
plain kprobe/kretprobe registration.

Still investigating...

-- 
           Summary: current.exp test causes system to crash with 2.6.29
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mahesh at linux dot vnet dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10031

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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