JFFS and RTLinux

David Woodhouse dwmw2 at infradead.org
Thu Aug 9 07:12:13 EDT 2001


jan.debiec at jurca.de said:
>  unfortunately "stext_lock" tells me nothing (is used in head.S),
> sbc_mediagx_map is a structure used for Arcom GXM board

Spinlock deadlock. Check the spin_lock() and spin_unlock() pairs are evenly 
matched in sbc_mediagx.c (they look like they are in the current version of 
sbc_gxx.c).

$ gdb vmlinux
(gdb) disassemble 0xc01986d3

It should be in a loop which looks something like

0xc0263620 <stext_lock+64>:	cmpb   $0x0,0xc02ccdf8
0xc0263627 <stext_lock+71>:	repz nop 
0xc0263629 <stext_lock+73>:	jle    0xc0263620 <stext_lock+64>
0xc026362b <stext_lock+75>:	jmp    0xc0105b3f <__down+111>

The place it's jumping to in the final line is the place that's trying to 
obtain the (blocked) spinlock. 

--
dwmw2






More information about the linux-mtd mailing list