Re: ADS GCP reboots when running the application!

Russell King (rmk@arm.linux.org.uk)
Tue, 14 May 2002 10:29:01 +0100


On Tue, May 14, 2002 at 02:41:06PM +0530, rpm wrote:
> On Monday 13 May 2002 10:07 pm, Russell King wrote:
> > No such thing on ARMs. If you take a fault while handling one, you
> > re-enter the fault handler - you don't reboot.
>
> What if the fault handler does a fault ( like seg fault in seg fault handler
> ) , cause in i386, i remember such a situation causes a processor reboot as
> it becomes a infinite loop !

You're right in the x86 case, but wrong in the ARM case - you just take a
fault after fault after fault (and you'll either end up overwriting the
kernel or something else of that nature).

> so i conclude that the system crashes in brk() sys call !

strace would print 'brk(' on entry to the syscall though.

> If you can point out the cases where the kernel reboots without showing
> any message , then it will be easier to debug for me!

Well, if I knew of any, they'd get removed/fixed pretty damned fast.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/