From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: gdb hangs on Linux 2.6.11 on 8xx
Date: Tue, 13 Sep 2005 12:11:32 -0300 [thread overview]
Message-ID: <20050913151132.GF10602@dmt.cnet> (raw)
In-Reply-To: <20050913122541.GB9076@cathedrallabs.org>
On Tue, Sep 13, 2005 at 09:25:41AM -0300, Aristeu Sergio Rozanski Filho wrote:
> > I am running Linux 2.6.11 on a TQM823L development board. I find that
> > gdb (version 6.3) hangs when I try to run an application - any
> > application, even a simple helloworld. It's not just gdb hanging, the
> > whole system is stone dead.
> "me too"
> actually the system is not completely dead, you still can use sysrq keys.
> Tried to use gdbserver too, but it also doesn't work (hangs after the first
> breakpoint and timeouts).
>
> gdb S 30106778 0 691 687 692 (NOTLB)
> Call trace:
> [c0005330] __switch_to+0x44/0x78
> [c015beb0] schedule+0x30c/0x730
> [c015c888] schedule_timeout+0xdc/0xe0
> [c0068918] sys_poll+0x27c/0x404
> [c0002810] syscall_dotrace_cont+0x24/0x38
> flash_test t 100009E4 0 692 691 (NOTLB)
> Call trace:
> [c0005330] __switch_to+0x44/0x78
> [c015beb0] schedule+0x30c/0x730
> [c0026248] ptrace_stop+0x68/0x88
> [c0026604] get_signal_to_deliver+0x130/0x2b4
> [c00063dc] do_signal+0x38/0x464
> [c0003034] do_user_signal+0x74/0xc4
Aris,
How does the disassemble of __switch_to looks like?
Chris oopsen is exactly what the 'icbi' patch fixes.
Maybe this is an additional problem then.
SysRq : Show Regs
NIP: C00047BC LR: C000A0C0 SP: C09FBDD0 REGS: c09fbd20 TRAP: 0501 Not
tainted
MSR: 00009022 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 10
TASK = c031f3e0[187] 'gdb' THREAD: c09fa000
Last syscall: 26
GPR00: 00009022 C09FBDD0 C031F3E0 00589000 00000100 C01F3000 00588000
808B0000
GPR08: 38600000 C01D0000 00009032 0000B100 33003035
NIP [c00047bc] __flush_dcache_icache_phys+0x38/0x54
LR [c000a0c0] flush_dcache_icache_page+0x20/0x30
Call trace:
[c000a17c] update_mmu_cache+0x68/0x98
[c003dbe8] do_wp_page+0x184/0x3a4
[c003ebc8] handle_mm_fault+0x29c/0x42c
[c003ee7c] get_user_pages+0x124/0x428
[c001a030] access_process_vm+0xfc/0x1bc
[c0006680] sys_ptrace+0x22c/0x4b4
[c0002590] ret_from_syscall+0x0/0x44
next prev parent reply other threads:[~2005-09-13 15:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 9:06 gdb hangs on Linux 2.6.11 on 8xx Chris
2005-09-13 12:25 ` Aristeu Sergio Rozanski Filho
2005-09-13 14:15 ` Chris
2005-09-13 14:25 ` Marcelo Tosatti
2005-09-13 14:51 ` Aristeu Sergio Rozanski Filho
2005-09-13 16:27 ` Chris
2005-09-13 15:11 ` Marcelo Tosatti [this message]
2005-09-13 17:22 ` Aristeu Sergio Rozanski Filho
2005-09-13 18:04 ` Marcelo Tosatti
2005-09-14 15:42 ` Aristeu Sergio Rozanski Filho
2005-09-14 20:55 ` Marcelo Tosatti
2005-09-14 21:30 ` Aristeu Sergio Rozanski Filho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050913151132.GF10602@dmt.cnet \
--to=marcelo.tosatti@cyclades.com \
--cc=aris@cathedrallabs.org \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.