From owner-freebsd-arm@freebsd.org Mon Jan 8 01:49:05 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D1BCE6DB73 for ; Mon, 8 Jan 2018 01:49:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-141.reflexion.net [208.70.210.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E031282F81 for ; Mon, 8 Jan 2018 01:49:04 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 15900 invoked from network); 8 Jan 2018 01:48:57 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 8 Jan 2018 01:48:57 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.4) with SMTP; Sun, 07 Jan 2018 20:48:57 -0500 (EST) Received: (qmail 4233 invoked from network); 8 Jan 2018 01:48:57 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 8 Jan 2018 01:48:57 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id A1FECEC8BF3; Sun, 7 Jan 2018 17:48:56 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Orange pi one ,receive panic: bad pte2 Date: Sun, 7 Jan 2018 17:48:56 -0800 References: To: =?utf-8?B?6Zi/6YeR?= , Freebsd-arm In-Reply-To: Message-Id: <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2018 01:49:05 -0000 On 2018-Jan-7, at 5:20 PM, =E9=98=BF=E9=87=91 = wrote: > when I access SD files a lot (ex: find files,make port),I often got = errors > =3D> panic: bad pte2, > I thought maybe is my SD card problem,so I mount root file (/) to USB = disk. > the problem remain same. > How could I fix this?? >=20 >=20 > my board is Orange pi one >=20 > FreeBSD 12.0-CURRENT #0 r326307M: Wed Jan 3 07:17:09 CST 2018 > root@VirtualBox pi:/opt/head_obj/obj/opt/head/arm.armv6/sys/GENERIC = arm > FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on = LLVM > 5.0.0svn) >=20 . . . I saw such back on such old versions as well. For example: = https://lists.freebsd.org/pipermail/freebsd-hackers/2017-December/051942.h= tml is is report for the RPi2B V1.1 . -r326726 showed the "bad pte2" problem. But your example does not involve exec_elf32_imgact . (My examples might not have run into all cases of failure.) head -r327485 has not done such for me. Also, by then head had a fix for a boot-sometimes-hangs issue introduced in -r326347 . (There still can be hangups when plugging in USB drives after booting, at least on Pine64+ 2GBs.) =3D=3D=3D Mark Millard markmi at dsl-only.net