Re: kernel crash

From: Russell King (rmk@arm.linux.org.uk)
Date: Thu Apr 12 2001 - 10:31:53 EST


On Thu, Apr 12, 2001 at 05:16:33PM +0200, Cyrille Ngalle wrote:
> This is just to reinforce the message below.

And why is it of interest to LKML? I can think if no one here who'd
be interested in it.

> This crash is ver easy to reproduce.
>
> Use bootldr (with the last patch from Nico) [it also happens with
> Redboot]

It is not a function of the bootloader, this is irrelevent.

Also, I believe that the original posters message was an April Fool's
joke (was posted on the 1st April to the linux-arm lists).

However, the problem it describes is not, and I do have a fix in my
tree, but the delta between my last patch and my current tree is one
line, which hardly seems worth putting out a new ARM patch.

--- linux.rel/arch/arm/mm/fault-armv.c Fri Apr 6 19:09:05 2001
+++ linux/arch/arm/mm/fault-armv.c Thu Apr 12 16:30:25 2001
@@ -490,7 +490,7 @@
 bad_or_fault:
         if (type == TYPE_ERROR)
                 goto bad;
-
+ regs->ARM_pc -= 4;
         /*
          * We got a fault - fix it up, or die.
          */

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



This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:19 EST