On Wed, 11 Jul 2001, Yu Xuanwei wrote:
> 022869b4 <__pthread_compare_and_swap>:
...
> 22869d0: e3a03001 mov r3, #1 ; 0x1
> 22869d4: e1043093 swp r3, r3, [r4] ;=======================>>>>>>>
>ERROR LINE: illegal instruction
> 22869d8: e3530000 cmp r3, #0 ; 0x0
> 22869dc: 0a000001 beq 22869e8 <__pthread_compare_and_swap+0x34>
> 22869e0: e1a00004 mov r0, r4
This could be the old problem. The swp instruction faults, because the
page that is adressed in not in RAM but in swap. Somehow the kernel still
seems unwilling to handle this case.
Since there are people out there using threads and stumble over this issue
over and over again, why not simply apply the patch that's been on the
list some time ago?
sh
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.