Tom Rini wrote:
>On Fri, Jun 23, 2006 at 09:47:42AM -0700, Geoff Levand wrote:
>
>
>>Tom Rini wrote:
>>
>>
>>>On Fri, Apr 28, 2006 at 04:35:45PM +0530, Girish Shilamkar wrote:
>>>
>>>
>>>
>>>>Hi,
>>>> I am using 2.6.16 kernel on mips32r2, I found that kernel panic is
>>>>generated after doing info threads.
>>>>
>>>>Any ideas where I can look into.
>>>>
>>>>
>>>What toolchain? I've got confirmation that this works on the SiByte in
>>>both 32 and 64bit mode, but again with gcc-3.4.3/gdb-6.2. It's possible
>>>your config file is messed up.
>>>
>>>
>>Tom,
>>
>>Is that SiByte big or little endian? I get the same problem as Girish,
>>and we both are running BE targets.
>>
>>
>
>I don't recall anymore. Manish, do you recall?
>
>
>
Hi !
I quickly tried a 2.6.16 kernel with GCC 3.4.3 and GDB 6.3 on a Sibyte
SWARM SMP 32-bit Board. Here is the GDB session:
[EMAIL PROTECTED] linux-2.6.16]#
/opt/oldlsps/mips2-broadcom_fp_be-051006/montavista/pro/devkit/mips/mips2_fp_be/bin/mips2_fp_be-gdb
vmlinux
GNU gdb 6.3 (MontaVista 6.3-20.0.37.0501605 2005-10-05)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=mips-montavista-linux"...
(gdb) set remotebaud 115200
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0xffffffff8015238c in breakinst () at kernel/kgdb.c:1874
1874 BREAKPOINT();
(gdb) b ip_init
Breakpoint 1 at 0x8036cb0c: file net/ipv4/ip_output.c, line 1399.
(gdb) c
Continuing.
[New Thread 1]
[Switching to Thread 1]
Breakpoint 1, ip_init () at net/ipv4/ip_output.c:1399
1399 ip_rt_init();
(gdb) bt
#0 ip_init () at net/ipv4/ip_output.c:1399
(gdb) s
ip_rt_init () at net/ipv4/route.c:3123
3123 rt_hash_rnd = (int) ((num_physpages ^ (num_physpages>>8)) ^
(gdb) s
3139 ipv4_dst_ops.kmem_cachep =
kmem_cache_create("ip_dst_cache",
(gdb) s
3123 rt_hash_rnd = (int) ((num_physpages ^ (num_physpages>>8)) ^
(gdb) info threads
36 Thread 32769 (Shadow task 1 for pid 0) 0xffffffff8ff9b71c in ?? ()
35 Thread 32768 (Shadow task 0 for pid 0) 0x00000000 in ?? ()
34 Thread 660 (kpsmoused) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
33 Thread 648 (kseriod) kernel_thread_helper (arg=0x0, fn=0x8f5eb000)
at arch/mips/kernel/process.c:252
32 Thread 643 (IRQ 9) kernel_thread_helper (arg=0x80153fb4,
fn=0x80153d88 <do_irqd+1092>)
at arch/mips/kernel/process.c:252
31 Thread 642 (IRQ 8) kernel_thread_helper (arg=0x80153fb4,
fn=0x80153d88 <do_irqd+1092>)
at arch/mips/kernel/process.c:252
30 Thread 60 (aio/1) kernel_thread_helper (arg=0xffffffff, fn=0xffffffff)
at arch/mips/kernel/process.c:252
29 Thread 59 (aio/0) kernel_thread_helper (arg=0xffffffff, fn=0xffffffff)
at arch/mips/kernel/process.c:252
28 Thread 58 (kswapd0) kernel_thread_helper (arg=0x80141824,
fn=0x8f435f44)
at arch/mips/kernel/process.c:252
27 Thread 57 (pdflush) kernel_thread_helper (arg=0x8f5ef8d0, fn=0) at
arch/mips/kernel/process.c:252
26 Thread 56 (pdflush) kernel_thread_helper (arg=0x8f5ef468, fn=0) at
arch/mips/kernel/process.c:252
25 Thread 27 (kblockd/1) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
24 Thread 26 (kblockd/0) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
23 Thread 23 (kthread) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
22 Thread 22 (khelper) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
21 Thread 21 (events/1) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
20 Thread 20 (events/0) kernel_thread_helper (arg=0xffffffff,
fn=0xffffffff)
at arch/mips/kernel/process.c:252
19 Thread 19 (desched/1) kernel_thread_helper (arg=0x803f5fa0, fn=0)
at arch/mips/kernel/process.c:252
18 Thread 18 (softirq-tasklet) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
17 Thread 17 (softirq-block/1) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
16 Thread 16 (softirq-net-rx/) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
15 Thread 15 (softirq-net-tx/) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
14 Thread 14 (softirq-timer/1) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
13 Thread 13 (softirq-high/1) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
12 Thread 12 (migration/1) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
11 Thread 11 (desched/0) kernel_thread_helper (arg=0x803d5fa0, fn=0)
at arch/mips/kernel/process.c:252
10 Thread 10 (softirq-tasklet) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
9 Thread 9 (softirq-block/0) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
8 Thread 8 (softirq-net-rx/) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
7 Thread 7 (softirq-net-tx/) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
6 Thread 6 (softirq-timer/0) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
5 Thread 5 (softirq-high/0) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
4 Thread 4 (migration/0) kernel_thread_helper (arg=0x0, fn=0) at
arch/mips/kernel/process.c:252
3 Thread 3 (IRQ 26) kernel_thread_helper (arg=0x80153fb4,
fn=0x80153d88 <do_irqd+1092>)
at arch/mips/kernel/process.c:252
2 Thread 2 (IRQ 2) kernel_thread_helper (arg=0x80153fb4, fn=0x80153d88
<do_irqd+1092>)
at arch/mips/kernel/process.c:252
---Type <return> to continue, or q <return> to quit---
* 1 Thread 1 (swapper) ip_rt_init () at net/ipv4/route.c:3123
(gdb) info all-registers
zero at v0 v1 a0 a1
a2 a3
R0 00000000 10005f00 01fff6d9 fe049a28 80310000 00000000 00000000
ffffffff
t0 t1 t2 t3 t4 t5
t6 t7
R8 0000fe74 00000000 00000008 6c655f74 80335640 8033563c 803c1d50
00000000
s0 s1 s2 s3 s4 s5
s6 s7
R16 80390000 803a0000 80330000 80320000 80350000 00000000 803a0160
00000000
t8 t9 k0 k1 gp sp
s8 ra
R24 00000018 34dd4205 00000008 6c655f74 803c0000 803c1f18 00000000
8036cb14
sr lo hi bad cause pc
10005f03 9999999c 00000001 80320000 00808024 8036c74c
f0: 0x00000000 flt: 0 dbl: 0
f1: 0x00000000 flt: 0
f2: 0x00000000 flt: 0 dbl: 0
f3: 0x00000000 flt: 0
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport