From mboxrd@z Thu Jan 1 00:00:00 1970 From: catalin.marinas@arm.com (Catalin Marinas) Date: Tue, 10 Jan 2017 12:14:23 +0000 Subject: Unhandled level 2 translation fault (11) at 0x000000b8, esr 0x92000046, rpi3 (aarch64) In-Reply-To: References: <20161230151323.583b7ac5@xhacker> <20170109151354.GC7593@e104818-lin.cambridge.arm.com> Message-ID: <20170110121423.GF19960@e104818-lin.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jan 09, 2017 at 07:06:19PM +0100, Bas van Tiel wrote: > > I defined STACKSIZE to the kernel's SIGSTKSZ (16384) and it seems to run > > fine, though I'll leave it longer/overnight (on a Juno board). With the > > 4K signal stack it was crashing shortly after start. > > I tried the STACKSIZE of 16384 for both the RPI3 and the PINEA64 board > and still see the same behaviour of crashing. Sometimes the process > is also blocked for a long time before it crashes. > > Setting the interval to 200 usec [5 Khz] will help to crash it faster. > > To further isolate the issue I will create a kernel module (based on a > hrtimer) that will sent a periodic signal to the registered process > and execute the same sighandler logic to check if the problem is still > there. I lowered the interval to 100us (it was 100ms in the original file) and I can indeed trigger segfault easily on Juno. But it doesn't fail in the same way every time, I sometimes get permission fault, other times bad frame. -- Catalin