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.

Thanks & Regards,
Girish.
[EMAIL PROTECTED] linux-2.6.16-mips-be]$ ~/gdb-mips-be vmlinux
GNU gdb 6.4 (TimeSys special)
Copyright 2005 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-timesys-linux --target=mipsisa32r2-linux"...
(gdb) tar re termserver04.farm.timesys.com:2008
Remote debugging using termserver04.farm.timesys.com:2008
0xffffffff8014b288 in breakinst () at kernel/kgdb.c:1887
1887            BREAKPOINT();
(gdb) info threads
* 26 thread 32768 (Shadow task 0 for pid 0)  0xffffffff8014b288 in breakinst () at kernel/kgdb.c:1887
  25 thread 1091 (bash)  0x2ac5cf30 in ?? ()
  24 thread 1090 (login)  0x2ace876c in ?? ()
  23 thread 1074 (atd)  0x2abf5020 in ?? ()
  22 thread 1035 (crond)  0x2abf5020 in ?? ()
  21 thread 1025 (sendmail)  0x2b15cf70 in ?? ()
  20 thread 1015 (sendmail)  0x2b196e60 in ?? ()
  19 thread 993 (xinetd)  0x2ae0ee60 in ?? ()
  18 thread 981 (sshd)  0x2b176e60 in ?? ()
  17 thread 935 (rpc.statd)  0x2ac82e60 in ?? ()
  16 thread 916 (portmap)  0x2ac3819c in ?? ()
  15 thread 907 (klogd)  0x2ac24f30 in ?? ()
  14 thread 903 (syslogd)  0x2ac2ee60 in ?? ()
  13 thread 665 (rpciod/0)  kernel_thread_helper (arg=0x0, fn=0x1) at arch/mips/kernel/process.c:249
  12 thread 625 (kseriod)  kernel_thread_helper (arg=0x8013e1f8, fn=0x8046df44) at arch/mips/kernel/process.c:249
  11 thread 42 (aio/0)  kernel_thread_helper (arg=0x0, fn=0x1) at arch/mips/kernel/process.c:249
  10 thread 41 (kswapd0)  kernel_thread_helper (arg=0x8037da50, fn=0x801597a0 <kswapd>) at arch/mips/kernel/process.c:249
  9 thread 40 (pdflush)  kernel_thread_helper (arg=0x1, fn=0x80380000 <proc_task_operations+76>)
    at arch/mips/kernel/process.c:249
  8 thread 39 (pdflush)  kernel_thread_helper (arg=0x1, fn=0x80380000 <proc_task_operations+76>)
    at arch/mips/kernel/process.c:249
  7 thread 7 (kblockd/0)  kernel_thread_helper (arg=0x0, fn=0x1) at arch/mips/kernel/process.c:249
  6 thread 6 (kthread)  kernel_thread_helper (arg=0x0, fn=0x1) at arch/mips/kernel/process.c:249
  5 thread 5 (khelper)  kernel_thread_helper (arg=0x0, fn=0x1) at arch/mips/kernel/process.c:249
  4 thread 4 (events/0)  kernel_thread_helper (arg=0x0, fn=0x1) at arch/mips/kernel/process.c:249
  3 thread 3 (watchdog/0)  kernel_thread_helper (arg=0xfffffffc, fn=0) at arch/mips/kernel/process.c:249
  2 thread 2 (ksoftirqd/0)  kernel_thread_helper (arg=0x0, fn=0) at arch/mips/kernel/process.c:249
  1 thread 1 (init)  0x2ac2ee60 in ?? ()
(gdb) c
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to thread 1]
0xffffffff8014b288 in breakinst () at kernel/kgdb.c:1887
1887            BREAKPOINT();
(gdb)                                                                                          
Kernel 2.6.16 for mips

timesys-bsp login: root
Last login: Thu Apr 27 12:04:01 on console
-bash-2.05b# CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 802a5ab4, ra == 802a5d5c
Oops[#1]:
Cpu 0
$ 0   : 00000000 fffffffe 00000000 803f3d14
$ 4   : 803906a0 00000000 810d22c0 810d22c0
$ 8   : 80634e00 80635000 8037d574 04f80800
$12   : 17003a04 810ba000 00200200 00000000
$16   : fffffff0 00000800 00000000 803f3d14
$20   : 8111bc00 00000040 803f3aac 80380000
$24   : 00000000 802ea180
$28   : 810a0000 810a1900 810a1970 802a5d5c
Hi    : 00e94b40
Lo    : 00cc21d8
epc   : 802a5ab4 netif_receive_skb+0x1ec/0x3d8     Not tainted
ra    : 802a5d5c process_backlog+0xbc/0x1e0
Status: 1100a403    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019544
Modules linked in:
Process init (pid: 1, threadinfo=810a0000, task=8040f8c8)
Stack : 803e0000 00000088 804261e0 00000000 8111bc00 803f3a94 00000000 803f3a90
        fffe0cf5 802a5d5c 810d22c0 00000000 80634e00 80635000 803f3b68 803f3aac
        803f3aa0 803f3a90 fffe0cf5 80380000 00200200 10000528 00000000 802a5f28
        81129228 80325b88 80360000 10000528 0000012c 802ea180 00000000 803e0820
        00000001 803e2310 0000000a 803e0000 803e0800 8012c43c 00cc21d8 00000000
        ...
Call Trace:
 [<802a5d5c>] process_backlog+0xbc/0x1e0
 [<802a5f28>] net_rx_action+0xa8/0x1b8
 [<80325b88>] rpc_exit_task+0x0/0x98
 [<802ea180>] udp_sendmsg+0x0/0x760
 [<8012c43c>] __do_softirq+0x8c/0x140
 [<801ec1d0>] nfs_xdr_fhandle+0x0/0x58
 [<80325b88>] rpc_exit_task+0x0/0x98
 [<8012c558>] do_softirq+0x68/0x80
 [<80321e0c>] xprt_transmit+0xc4/0x2a0
 [<80321e0c>] xprt_transmit+0xc4/0x2a0
 [<80328058>] unx_marshal+0x58/0x100
 [<80321cbc>] xprt_prepare_transmit+0x6c/0xb8
 [<8012c608>] local_bh_enable+0x98/0xa0
 [<801ec1d0>] nfs_xdr_fhandle+0x0/0x58
 [<80320280>] call_transmit+0x188/0x280
 [<80320280>] call_transmit+0x188/0x280
 [<8031f83c>] call_allocate+0x8c/0x128
 [<80326228>] __rpc_execute+0x98/0x2c0
 [<803261f8>] __rpc_execute+0x68/0x2c0
 [<8031f49c>] rpc_call_sync+0xec/0x108
 [<801edff0>] nfs_proc_getattr+0x88/0xe8
 [<801ea358>] __nfs_revalidate_inode+0x110/0x2c8
 [<801ea2d0>] __nfs_revalidate_inode+0x88/0x2c8
 [<8012bf80>] getnstimeofday+0x18/0x50
 [<8014137c>] ktime_get_ts+0x3c/0xa8
 [<8012bf80>] getnstimeofday+0x18/0x50
 [<80141400>] ktime_get+0x18/0x40
 [<80141d98>] hrtimer_run_queues+0x40/0x170
 [<801e5b48>] nfs_lookup_revalidate+0x2d0/0x398
 [<8012c43c>] __do_softirq+0x8c/0x140
 [<8012c558>] do_softirq+0x68/0x80
 [<80103434>] do_IRQ+0x24/0x38
 [<8013e240>] wake_bit_function+0x0/0x50
 [<80101084>] mipsIRQ+0x124/0x12c
 [<8013e240>] wake_bit_function+0x0/0x50
 [<8014d970>] find_get_pages_tag+0x38/0xc0
 [<8018249c>] do_lookup+0xac/0x1c0
 [<80182454>] do_lookup+0x64/0x1c0
 [<8015747c>] pagevec_lookup_tag+0x2c/0x40
 [<80150444>] __generic_file_aio_write_nolock+0x38c/0x5e0
 [<80182900>] __link_path_walk+0x1b0/0xed0
 [<801836dc>] link_path_walk+0xbc/0x1c8
 [<8033456c>] schedule+0x17c/0x898
 [<8016cb28>] kfree+0x50/0xc8
 [<80189438>] core_sys_select+0x260/0x2d8
 [<80183910>] do_path_lookup+0x128/0x2c8
 [<80181cf8>] getname+0x28/0xd8
 [<80189188>] do_select+0x518/0x568
 [<80183fe0>] __user_walk_fd+0x78/0xb0
 [<8017dcc0>] vfs_stat_fd+0x20/0x78
 [<8016cb28>] kfree+0x50/0xc8
 [<80189438>] core_sys_select+0x260/0x2d8
 [<8017dfa8>] sys_newstat+0x20/0x58
 [<8012b3b8>] sys_time+0x18/0x60
 [<8010d7a0>] stack_done+0x20/0x3c
 [<80131918>] sys_alarm+0x0/0x70


Code: 10000007  00609821  24b0fff0 <8e050010> cca00000  26020010  10530015  00000000  96020000
Kernel panic - not syncing: Aiee, killing interrupt handler!
                                                                   

Reply via email to