[#5904] trunk kernel fails to run gdb testing
Submitted By: Mingquan Pan
Open Date
2010-02-20 04:12:11 Close Date
2010-02-21 04:40:35
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
N/A
Processor:
BF561 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
trunk head 4.3
App binary format:
N/A
Summary: trunk kernel fails to run gdb testing
Details:
trunk kernel fails to run gdb testing now. It would stop in middle and fails to run rsh.
This happens between changes:
Good version: toolchain:3945, uclinux: 9450, linux: 8304
Failed version: toolchain:3945, uclinux: 9453, linux: 8309
gdb stops at:
Source directories searched: $cdir:$cwd^M
(gdb) dir /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.threads^M
Source directories searched: /home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.threads:$cdir:$cwd^M
(gdb) shell stty intr '^C'^M
gdb.threads/schedlock.exp
and ps on host can see:
test 2586 0.0 0.1 4056 1420 pts/1 S Feb15 0:00 | | \_ /bin/sh ./toolchain_test
test 19830 0.0 0.1 4320 1700 pts/1 S Feb15 0:00 | | \_ /bin/sh ./toolchain-regtest -s /home/test/work/cruise/checkouts/toolchain -o /home/test/work/cruise/temp/bfin -b /home/test/work/cruise/temp/regtest_build4.1 -t uclinux -T 10.100.4.50 -a -L
test 21260 0.0 0.1 4052 1304 pts/1 S Feb15 0:00 | | \_ sh
test 21264 0.0 0.9 11000 9548 pts/1 S Feb15 0:45 | | | \_ /usr/bin/expect -- /usr/share/dejagnu/runtest.exp --tool gdb -all
test 24319 0.0 0.0 2044 624 pts/7 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2524 /tmp/reread.21264
test 24322 0.0 0.0 2044 232 pts/7 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2524 /tmp/reread.21264
test 27917 0.0 0.0 2040 624 pts/8 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2738 /tmp/stack.21264
test 27920 0.0 0.0 2040 232 pts/8 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2738 /tmp/stack.21264
test 27976 0.0 0.0 2044 628 pts/10 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2740 /tmp/simple.21264
test 27979 0.0 0.0 2044 236 pts/10 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2740 /tmp/simple.21264
test 30691 0.0 0.0 2040 632 pts/20 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2832 /tmp/bp_in_thread.21264
test 30694 0.0 0.0 2040 240 pts/20 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2832 /tmp/bp_in_thread.21264
test 30763 0.0 0.0 2040 632 pts/21 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2835 /tmp/killed.21264
test 30766 0.0 0.0 2040 240 pts/21 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2835 /tmp/killed.21264
test 30853 0.0 0.0 2044 628 pts/22 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2839 /tmp/print-threads.21264
test 30856 0.0 0.0 2044 236 pts/22 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2839 /tmp/print-threads.21264
test 30857 0.0 0.0 2040 628 pts/19 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2840 /tmp/print-threads.21264
test 30860 0.0 0.0 2040 236 pts/19 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2840 /tmp/print-threads.21264
test 30900 0.0 0.0 2040 632 pts/24 Ss+ Feb15 0:00 | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2843 /tmp/pthread_cond_wait.21264
test 30912 0.0 0.0 2040 240 pts/24 S+ Feb15 0:00 | | | | \_ rsh -lroot 10.100.4.50 gdbserver 10.100.4.50:2843 /tmp/pthread_cond_wait.21264
test 30935 0.0 0.2 7672 2572 pts/18 Ss+ Feb15 0:00 | | | \_ bfin-uclinux-gdb -nw -nx
root 30939 0.0 0.0 2040 624 pts/1 S Feb15 0:00 | | | \_ rsh -l root 10.100.4.50 rm -f /tmp/schedlock.21264
test 30940 0.0 0.0 2744 568 pts/1 S Feb15 0:00 | | | \_ cat
test 30907 0.0 0.0 4320 808 pts/1 S Feb15 0:00 | | \_ /bin/sh ./toolchain-regtest -s /home/test/work/cruise/checkouts/toolchain -o /home/test/work/cruise/temp/bfin -b /home/test/work/cruise/temp/regtest_build4.1 -t uclinux -T 10.100.4.50 -a -L
root 30908 0.0 0.0 2044 624 pts/1 S Feb15 0:00 | | \_ rsh -l root 10.100.4.50 ls / 1>/dev/null
test 30909 0.0 0.0 2752 584 pts/1 S Feb15 0:00 | | \_ wc -l
Follow-ups
--- Sonic Zhang 2010-02-20 05:24:25
Mike's latest change to ptrace and signal may cause this bug.
--- Mingquan Pan 2010-02-21 04:39:47
It looks the trunk head kernel later has fixed this issue and gdb testing can
finish now.
So close this.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found