Re: ADS GCP reboots when running the application!

rpm (rajendra.mishra@timesys.com)
Tue, 14 May 2002 14:41:06 +0530


On Monday 13 May 2002 10:07 pm, Russell King wrote:
> On Mon, May 13, 2002 at 05:08:30PM +0530, rpm wrote:
> > The kernel is not showing any OOPS or panic , it just reboots !
>
> Weird. Tried any more recent kernels?
>
> > what i think is that some double fault ( fault inside fault handler )
>
> 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 !

the same code works fine on an iPAQ ! without any problems
and i did a diff of the strace output on iPAQ and GCP and found that the
following lines are extra in case of iPAQ while GCP reboots before it can
print the lines !
***************************************
brk(0xc8000) = 0xc8000
close(4) = 0
close(3) = 0
munmap(0x40000000, 4096) = 0
_exit(0) = ?

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

If you can point out the cases where the kernel reboots without showing any
message , then it will be easier to debug for me!
and thanks a lot for the reply :)

rpm
-
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/