From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 539ABE00815; Tue, 27 Jan 2015 08:28:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C9AE1E00753 for ; Tue, 27 Jan 2015 08:27:50 -0800 (PST) Received: from [192.168.0.40] (unknown [93.152.143.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx2.mail.bg (Postfix) with ESMTPSA id AAE2860046A9 for ; Tue, 27 Jan 2015 18:27:48 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1422376068; bh=oYJvBpHZl8+xj5D5Rlz6YEdcpqpy9PMlKNZhFUiKtsU=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=vO3py5/k4TRZEBAEGJfOREOHsK47fiKiWpMqDzazmaUy67LAZH6LAckdqlrHMaEb7 XzXDmIPSBt4tSClvZbrpxkPGssbPrvmejalMg59TWcT0UVf8DH+PMtbQJ8Rr5ZdSgx vIP6+3auIwdIIWBkLP2jj0Zpb7Q8vQ2PcVOeM/Tw= Message-ID: <54C7BC84.90104@mail.bg> Date: Tue, 27 Jan 2015 18:27:48 +0200 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" References: <54C16AB6.20605@mail.bg> <54C2B900.8000807@mail.bg> <54C74EE4.8070308@mail.bg> In-Reply-To: <54C74EE4.8070308@mail.bg> Subject: Re: imx6 silent memory corruption X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 16:28:00 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi guys, Just to share my progress so far. My board passed 500+ iterations of DDR stress testing with the FSL tool (this bloody thing took 2 days to complete!). Tried the U-Boot integrated memory tests (both quick and alt), and they didn't show any issues. So I can say that at least the hardware and DDR settings seems to be OK. In addition, I tried to disable SMP, L2 & L1 cache support in my kernel and see what happens, but I can still observe the corruption. I found that there's an embedded memory tester in the kernel, but only for x86 (CONFIG_MEMTEST), not useful for ARM. I started to doubt that my 2 cross-build machines (x64 Debian stable) are maybe producing broken kernels, so did a test cross-build on Ubuntu 14.04, and even did native build on riotboard, but the results are the same - issue can be still observed. During boot and operation I sometimes see kernel oopses (I remember most of them related with execve and filesystem reads), sometimes apps segfault. Kernel and/or toolchain issues are also possible but I checked that Daisy has the gcc-4.8+ PR58854 patch, so not very likely, especially if other Yocto users don't report such issues. Possible step forward is to try to build original FSL 3.10.17 version without my local patches, and maybe even build a minimal 3.18+ mainline kernel to see how it behaves in the same test case. Someone can even joke that it's time to leave the dusty old Daisy and go forward with Dizzy and 3.10.53. Regards, Nikolay