From owner-freebsd-arm@FreeBSD.ORG Mon May 17 11:06: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 C775D1065676 for ; Mon, 17 May 2010 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8648FC32 for ; Mon, 17 May 2010 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4HB6s9T015676 for ; Mon, 17 May 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4HB6rVA015674 for freebsd-arm@FreeBSD.org; Mon, 17 May 2010 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 May 2010 11:06:53 GMT Message-Id: <201005171106.o4HB6rVA015674@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org 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: Mon, 17 May 2010 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 o arm/134338 arm [patch] Lock GPIO accesses on ixp425 2 problems total. From owner-freebsd-arm@FreeBSD.ORG Wed May 19 06:20:09 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 BC35C1065670 for ; Wed, 19 May 2010 06:20:09 +0000 (UTC) (envelope-from Matthias.Reyelt@brunel.de) Received: from mailgate2.arcor-ip.de (mailgate2.arcor-ip.de [145.253.2.48]) by mx1.freebsd.org (Postfix) with ESMTP id 389EC8FC1E for ; Wed, 19 May 2010 06:20:08 +0000 (UTC) Received: from mailer.brunellocal.de (ffmcospub2ffmbrunelfw2lo-cs-nat-mail-server.adm.arcor.net [145.254.28.157]) by mailgate1.cs.arcor.net (Arcor-CN-MailRelay-l-B) with ESMTP id 861D6F9BBB9 for ; Wed, 19 May 2010 08:20:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 488894A5EB for ; Wed, 19 May 2010 08:20:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at brunellocal.de Received: from mailer.brunellocal.de ([127.0.0.1]) by localhost (mailer.brunellocal.de [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 34kHrYlihbXd for ; Wed, 19 May 2010 08:20:07 +0200 (CEST) Received: from mail-hv.brunel.de (mail-hv.brunellocal.de [192.168.1.234]) by mailer.brunellocal.de (Postfix) with ESMTP id 296154A42D for ; Wed, 19 May 2010 08:20:07 +0200 (CEST) Received: from bcslx10.bcs.brunel.local ([172.16.101.231]) by 935s02su.brunellocal.de (Lotus Domino Release 7.0.4FP1) with ESMTP id 2010051908200164-14429 ; Wed, 19 May 2010 08:20:01 +0200 Received: from bcspc139.bcs.brunel.local (bcspc139.bcs.brunel.local [172.16.101.98]) by bcslx10.bcs.brunel.local (Postfix) with ESMTP id 26A1CFD85E; Wed, 19 May 2010 08:20:02 +0200 (CEST) From: Matthias Reyelt Organization: Brunel Communications To: freebsd-arm@freebsd.org Date: Wed, 19 May 2010 08:19:58 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) MIME-Version: 1.0 Message-Id: <201005190820.00413.Matthias.Reyelt@brunel.de> X-MIMETrack: Itemize by SMTP Server on HUB93501/Brunel/De(Release 7.0.4FP1|July 20, 2009) at 19.05.2010 08:20:01 AM, Serialize by Router on HUB10149/Brunel/De(Release 7.0.4FP1|July 20, 2009) at 19.05.2010 08:20:06 AM, Serialize complete at 19.05.2010 08:20:06 AM Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Subject: 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 06:20:09 -0000 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 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 From owner-freebsd-arm@FreeBSD.ORG Wed May 19 17:23:10 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 985781065674 for ; Wed, 19 May 2010 17:23:10 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3738FC08 for ; Wed, 19 May 2010 17:23:09 +0000 (UTC) Received: by wye20 with SMTP id 20so803173wye.13 for ; Wed, 19 May 2010 10:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=hNPS1EpIwfNqT+jzHZRoQwm7ik67+WwlmYDSy/BRC5k=; b=q2LfXnOmah9VV9TkchJ6Cei3RMX7Oe2QFtOJcK/rta0gwX8Ym5k8JU9vjVYAyoElzV e38IPdRpb6eWkjKpzyXDWvtIdylB18pupUVcYM+NF5ApRmKMEDh23aHvf7lTL52Lv2jW hkGBO1XOfc2MoZ0LIs7ZIcN1U6+uMAYz9E5PA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=lg6MS8QQZdakD5oBBxGCzBC0BHSLXHA51D9ZM59g2/ljCBE6tfkdJnCv4WjbtGsvYH QNEYvD2JmeC+c02dxEn2QKtLIAfkumbLZfmLl2VsCoq1tAkxVl8sa8Ksl8jHfCJM+Pml o0KJdYQmpKoxkrwJxT6SYEDB7zQj3ljgLPmlE= Received: by 10.216.188.207 with SMTP id a57mr1046665wen.147.1274287905716; Wed, 19 May 2010 09:51:45 -0700 (PDT) Received: from [192.168.1.100] (ccn66.casselton.net [63.165.140.66]) by mx.google.com with ESMTPS id k13sm3164280wed.11.2010.05.19.09.51.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 May 2010 09:51:44 -0700 (PDT) Message-ID: <4BF4171A.3050706@gmail.com> Date: Wed, 19 May 2010 11:51:38 -0500 From: Mark Tinguely User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Rafal Jaworowski References: <201005190820.00413.Matthias.Reyelt@brunel.de> <9E1BDCD0-CBE1-46D8-AECC-AE9E277C86B7@semihalf.com> In-Reply-To: <9E1BDCD0-CBE1-46D8-AECC-AE9E277C86B7@semihalf.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Matthias Reyelt , 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 17:23:10 -0000 Rafal Jaworowski wrote: > On 2010-05-19, at 08:19, Matthias Reyelt wrote: > > >> 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), >> these files differ from the original. This occurs only when copying to md. >> >> Kernel is: >> FreeBSD discovery1 8.0-STABLE FreeBSD 8.0-STABLE #0 r206836: Mon Apr 19 >> 12:53:42 CEST 2010 >> 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 located >> in /etc (which is also in RAM): >> ------------------------------------------------------------ >> passwd: compat >> passwd_compat: nis >> shells: files >> ----------------------------------------------------------------- >> ... >> ----------------------------------------------------------------- >> staff:*:20: >> sshd:*:22: >> smmsp:*:25: >> mailnull:*:26: >> guest:*:3-��� >> ------------------------------------------------------------------ >> >> Looks as if the CPU has problems accessing the RAM. I have already changed the >> RAM, so I don't think it's a hardware problem. >> >> 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 > Hmmm. The Discovery must have PIPT caches? (The S_MV76100_78100_78200_OpenSource.pdf doc mentions 32KB/4 way I/D cache; 128-256KB/8 way L2 caches, so I assume from that configuration, they must be PIPT). I don't have access to the MV internal cache documents. Is the L2 enabled? Probably off topic: Does this have an active PCI express? I just noticed the note for the SlvWrSpltCnt bit in the PCI Express Window1-4 Control Registers. --Mark Tinguely. From owner-freebsd-arm@FreeBSD.ORG Thu May 20 12:23:25 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 17F1F1065670 for ; Thu, 20 May 2010 12:23:25 +0000 (UTC) (envelope-from Matthias.Reyelt@brunel.de) Received: from mailgate2.arcor-ip.de (mailgate2.arcor-ip.de [145.253.2.48]) by mx1.freebsd.org (Postfix) with ESMTP id 8E6CB8FC0A for ; Thu, 20 May 2010 12:23:24 +0000 (UTC) Received: from mailer.brunellocal.de (ffmcospub2ffmbrunelfw2lo-cs-nat-mail-server.adm.arcor.net [145.254.28.157]) by mailgate1.cs.arcor.net (Arcor-CN-MailRelay-l-B) with ESMTP id E5E19F9AEC8; Thu, 20 May 2010 14:23:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 7D20A4A64F; Thu, 20 May 2010 14:23:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at brunellocal.de Received: from mailer.brunellocal.de ([127.0.0.1]) by localhost (mailer.brunellocal.de [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 9MfA2gMD6eb3; Thu, 20 May 2010 14:23:22 +0200 (CEST) Received: from mail-hv.brunel.de (mail-hv.brunellocal.de [192.168.1.234]) by mailer.brunellocal.de (Postfix) with ESMTP id 5A31436D0C; Thu, 20 May 2010 14:23:22 +0200 (CEST) Received: from bcslx10.bcs.brunel.local ([172.16.101.231]) by 935s02su.brunellocal.de (Lotus Domino Release 7.0.4FP1) with ESMTP id 2010052014231915-14684 ; Thu, 20 May 2010 14:23:19 +0200 Received: from bcspc139.bcs.brunel.local (bcspc139.bcs.brunel.local [172.16.101.98]) by bcslx10.bcs.brunel.local (Postfix) with ESMTP id C027CFD9E6; Thu, 20 May 2010 14:23:19 +0200 (CEST) From: Matthias Reyelt Organization: Brunel Communications To: Rafal Jaworowski Date: Thu, 20 May 2010 14:23:15 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: <201005190820.00413.Matthias.Reyelt@brunel.de> <9E1BDCD0-CBE1-46D8-AECC-AE9E277C86B7@semihalf.com> In-Reply-To: <9E1BDCD0-CBE1-46D8-AECC-AE9E277C86B7@semihalf.com> MIME-Version: 1.0 Message-Id: <201005201423.18112.Matthias.Reyelt@brunel.de> X-MIMETrack: Itemize by SMTP Server on HUB93501/Brunel/De(Release 7.0.4FP1|July 20, 2009) at 20.05.2010 02:23:19 PM, Serialize by Router on HUB10149/Brunel/De(Release 7.0.4FP1|July 20, 2009) at 20.05.2010 02:23:21 PM, Serialize complete at 20.05.2010 02:23:21 PM Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Content-Disposition: inline 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: Thu, 20 May 2010 12:23:25 -0000 Hi, I have changed the mount options for the memory disks and they work fine no= w.=20 I also got rid of regular crashes of the board :-) Are there other caveats in the virtual cache area, things that should be=20 avoided on the Marvell ARM? Matthias=20 Am Mittwoch 19 Mai 2010 12:29:52 schrieb Rafal Jaworowski: >=20 > On 2010-05-19, at 08:19, Matthias Reyelt wrote: >=20 > > 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=20 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=20 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 chan= ged=20 the=20 > > RAM, so I don't think it's a hardware problem.=20 > >=20 > > Any idea? >=20 >=20 > Try turning off clustering on the filesystem(s). There was least one know= n=20 problem in this area leading to cache incoherency, see this thread for more= =20 details (and how-to):=20 http://lists.freebsd.org/pipermail/freebsd-arm/2008-December/001423.html >=20 > Rafal >=20 >=20 =2D-=20 Dr.-Ing. Matthias Reyelt Master Software Designer Brunel GmbH Bereich Communications Daimlerring 9 31135 Hildesheim Tel: +49 5121 1760 805 =46ax: +49 5121 1760 999 email: Matthias.Reyelt@brunel.de Internet: www.brunel.de Hauptsitz: Airport City, Hermann-K=C3=B6hl-Str. 1, 28199 Bremen Amtsgericht Bremen HRB 16935 General Manager: Johan Arie van Barneveld