Thread (27 messages) 27 messages, 6 authors, 2007-10-29

Re: Apparent kernel bug with GDB on ppc405

From: Grant Likely <hidden>
Date: 2007-10-24 20:46:19

On 10/24/07, Matt Mackall [off-list ref] wrote:
On Wed, Oct 24, 2007 at 02:28:14PM -0600, Grant Likely wrote:
quoted
On 10/24/07, Matt Mackall [off-list ref] wrote:
quoted
I'm trying to debug a trivial statically-linked hello world program on
a Xilinx PPC 405 and I'm seeing the following behavior:
<snip>
quoted
Any suggestions?
http://thread.gmane.org/gmane.linux.ports.ppc.embedded/11202

I was fighting with a similar problem almost 2 years ago.  Looks like
it might be related.  At some point the problem seemed to go away and
I determined what the root cause was.  :-(

I haven't been using gdb lately, so I don't know if it's the same
problem.  Nobody I had talked to had seen the issue on other 405
platforms.  It could very well be something virtex-specific.
Could be the same problem, but I'm seeing only your symptom 3 so far.

I've tried throwing some larger hammers at the problem. Flushing all
of the dcache and icache (flush_dcache_all and
flush_instruction_cache) isn't helping. But printk(".") does!
It's really true; printk *is* the most valuable tool kernel hackers
have for debugging.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help