From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1W46vY-0007gV-0Y for ptxdist@pengutronix.de; Fri, 17 Jan 2014 11:45:47 +0100 Received: from [192.168.102.58] (unknown [192.168.102.58]) by mail.er.corscience.de (Postfix) with ESMTPA id B3746478001 for ; Fri, 17 Jan 2014 11:45:21 +0100 (CET) Message-ID: <52D909B4.1050206@corscience.de> Date: Fri, 17 Jan 2014 11:45:08 +0100 From: Tim Niemeyer MIME-Version: 1.0 References: <49BD654B8E52F64BBC06DF3F86638DFAF59FF7@MSE1MUC.toptica.com> In-Reply-To: <49BD654B8E52F64BBC06DF3F86638DFAF59FF7@MSE1MUC.toptica.com> Subject: Re: [ptxdist] sporadic crashes of shell commands Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi Arno Am 17.01.2014 11:16, schrieb Arno Euteneuer: > We are fighting sporadic segmentation fault and illegal instruction > crashes of standard shell commands like lsusb, lsmod, cp, du etc. on > a rootfs build with ptxdist and OSELAS-Toolchains. The problems seem > to disappear when we use a different Toolchain (ELDK). I discovered similar problems on an AM37xx and OMAP35xx with Linux 3.4 and 3.3. > Any ideas of what could be wrong will be highly appreciated. Did you try to activate all the Kernel Arm-Errata? At least for OMAP3503D we figured out that it suffers from more than what the Kernel-Doc says: https://lkml.org/lkml/2013/2/18/349 With all erratas enabled, the AM37xx was (in my opinion) more stable. > We also ruled out the kernel because running our kernel (build with > OSELAS-Toolchain) in an ELDK rootfs showed no problems. [..] > I would love to understand what is causing these problems and would > highly appreciate any suggestion. Yes, but you could try the errata and when they work, they may give you a good hint what the real problem (maybe in the toolchain) is. Tim Niemeyer -- ptxdist mailing list ptxdist@pengutronix.de