Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2010 08:19:58 +0200
From:      Matthias Reyelt <Matthias.Reyelt@brunel.de>
To:        freebsd-arm@freebsd.org
Subject:   files damaged on memory disk on Marvell Discovery 78100
Message-ID:  <201005190820.00413.Matthias.Reyelt@brunel.de>

next in thread | raw e-mail | index | archive | help
Hi,

I have observed a strange behaviour on the Marvell Discovery:

I have a memory disk for /etc and /opt:
/dev/md0 on /etc (ufs, local)
/dev/md1 on /opt (ufs, local)

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

Kernel is:
=46reeBSD 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

I had a look into the damaged file and found some excerpts from files locat=
ed=20
in /etc (which is also in RAM):
=2D-----------------------------------------------------------
passwd: compat
passwd_compat: nis
shells: files
=2D----------------------------------------------------------------
=2E..
=2D----------------------------------------------------------------
staff:*:20:
sshd:*:22:
smmsp:*:25:
mailnull:*:26:
guest:*:3-=EF=BF=BD=EF=BF=BD=EF=BF=BD=0F
=2D-----------------------------------------------------------------

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

Any idea?

Matthias



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005190820.00413.Matthias.Reyelt>