[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] pthread_mutex_unlock() on unlocked mutex lock system hard



At Thu, 26 Aug 2004 11:58:51 +1000,
John Williams wrote:
[...]
> >>As for source of problem - by locks hard I assume you mean totally dead 
> >>system?  no ping reply, no interrupts, nothing?
> > 
> > no nothing..  sigh...
> 
> A thought - if it's locked up this hard, it must be somewhere in the 
> kernel (or indeed my suspect semaphore handling) - otherwise interrupts 
> should still be getting through.  I'd get out the xmd/mdm debugger and 
> see what's going on.

finally i got chance to debug this with mdm.  however, result is not
good.

first, I can't load linux elf image with load command in mb-gdb. while
loading .text section, mb-gdb reports memory access error.

> (gdb) load image.elf
> Loading section .text, size 0xf3cb0 lma 0x80000000
> 
> Error: Memory access error while loading section .text.


so I tried xmd to get pc. but, after kernel locked hard, I can't even
stop xmd

RUNNING> stop
ERROR<Stop> :: Unable to Stop MicroBlaze
Microblaze Pipeline Stalled executing Instruction at >> PC: 0x800031c0, MSR: 0x0
0000003
RUNNING>

could someone give me a hint?

best,
--
              yashi

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/