From owner-freebsd-arm@FreeBSD.ORG Wed May 19 10:29:54 2010 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEF521065742 for ; Wed, 19 May 2010 10:29:54 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 687AA8FC19 for ; Wed, 19 May 2010 10:29:54 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 50701C42DB; Wed, 19 May 2010 12:34:26 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id ydZyuBNYNf8O; Wed, 19 May 2010 12:34:25 +0200 (CEST) Received: from [10.0.0.79] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id C02EBC42D9; Wed, 19 May 2010 12:34:25 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=utf-8 From: Rafal Jaworowski In-Reply-To: <201005190820.00413.Matthias.Reyelt@brunel.de> Date: Wed, 19 May 2010 12:29:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9E1BDCD0-CBE1-46D8-AECC-AE9E277C86B7@semihalf.com> References: <201005190820.00413.Matthias.Reyelt@brunel.de> To: Matthias Reyelt X-Mailer: Apple Mail (2.1078) Cc: freebsd-arm@freebsd.org Subject: Re: files damaged on memory disk on Marvell Discovery 78100 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 10:29:54 -0000 On 2010-05-19, at 08:19, Matthias Reyelt wrote: > I have observed a strange behaviour on the Marvell Discovery: >=20 > I have a memory disk for /etc and /opt: > /dev/md0 on /etc (ufs, local) > /dev/md1 on /opt (ufs, local) >=20 > When I copy files to that disk, which are larger than 0x1ffff (131071 = bytes),=20 > these files differ from the original. This occurs only when copying to = md.=20 >=20 > Kernel is: > FreeBSD discovery1 8.0-STABLE FreeBSD 8.0-STABLE #0 r206836: Mon Apr = 19=20 > 12:53:42 CEST 2010 =20 > root@vbcspc12.bcs.brunel.local:/usr/obj/arm/root/ARM/8/sys/DB-78XXX = arm >=20 > I had a look into the damaged file and found some excerpts from files = located=20 > in /etc (which is also in RAM): > ------------------------------------------------------------ > passwd: compat > passwd_compat: nis > shells: files > ----------------------------------------------------------------- > ... > ----------------------------------------------------------------- > staff:*:20: > sshd:*:22: > smmsp:*:25: > mailnull:*:26: > guest:*:3-=EF=BF=BD=EF=BF=BD=EF=BF=BD=0F > ------------------------------------------------------------------ >=20 > Looks as if the CPU has problems accessing the RAM. I have already = changed the=20 > RAM, so I don't think it's a hardware problem.=20 >=20 > Any idea? Try turning off clustering on the filesystem(s). There was least one = known problem in this area leading to cache incoherency, see this thread = for more details (and how-to): = http://lists.freebsd.org/pipermail/freebsd-arm/2008-December/001423.html Rafal