From owner-freebsd-fs@freebsd.org Mon Jun 26 18:11:31 2017 Return-Path: Delivered-To: freebsd-fs@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 0B352D8D83E; Mon, 26 Jun 2017 18:11:31 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from smtpq6.tb.mail.iss.as9143.net (smtpq6.tb.mail.iss.as9143.net [212.54.42.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF311826D6; Mon, 26 Jun 2017 18:11:30 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from [212.54.42.134] (helo=smtp10.tb.mail.iss.as9143.net) by smtpq6.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1dPYTp-000621-EP; Mon, 26 Jun 2017 20:11:21 +0200 Received: from 5ed15678.cm-7-2b.dynamic.ziggo.nl ([94.209.86.120] helo=wan0.bsd4all.org) by smtp10.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1dPYTp-0001hU-Ab; Mon, 26 Jun 2017 20:11:21 +0200 Received: from newnas (localhost [127.0.0.1]) by wan0.bsd4all.org (Postfix) with ESMTP id A364D21B; Mon, 26 Jun 2017 20:11:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from wan0.bsd4all.org ([127.0.0.1]) by newnas (newnas.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m1S9-VQDCGRA; Mon, 26 Jun 2017 20:11:18 +0200 (CEST) Received: from [192.168.1.64] (mm [192.168.1.64]) by wan0.bsd4all.org (Postfix) with ESMTPSA id 81F0F211; Mon, 26 Jun 2017 20:11:18 +0200 (CEST) From: Peter Blok Message-Id: <2D4D4BE2-1D05-43EF-8964-6478EE612175@bsd4all.org> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: vnode_pager_generic_getpages_done: I/O read error 5 caused by r318394 (was Re: FreeBSD 11.1-BETA1 Now Available) Date: Mon, 26 Jun 2017 20:11:17 +0200 In-Reply-To: Cc: Guido Falsi , Warner Losh , FreeBSD FS , Glen Barber , FreeBSD-STABLE Mailing List , Jonathan Chen To: araujo@freebsd.org References: <20170610123435.GB69235@FreeBSD.org> <10A08FC1-C84E-4D06-9360-B7C3848F4680@bsd4all.org> <05e6bd02-3582-aea1-5fc3-19caa4073f94@FreeBSD.org> <0c4c58d6-f34c-a358-3bda-122913110c6d@FreeBSD.org> X-Mailer: Apple Mail (2.3273) X-SourceIP: 94.209.86.120 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.2 cv=S5Wp+MkP c=1 sm=1 tr=0 a=IkzOOneQUJP1+bAPekPvBg==:17 a=LWSFodeU3zMA:10 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=j90g3uC65GxMD2nljHgA:9 a=QEXdDO2ut3YA:10 a=vUPWEWiMAAAA:8 a=ERGEnrLWe0TpccyqpOEA:9 a=H4FIEKXvFUr3Javy:21 a=_W_S_7VecoQA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 a=IjZwj45LgO3ly-622nXo:22 a=s3Yi14Of9AgBIP63TAoC:22 none X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 18:11:31 -0000 Marcelo, This fix solved the problem for RPI-1B. I=E2=80=99ll do some more = testing on other RPI and nanobsd variants. Peter > On 26 Jun 2017, at 16:36, Marcelo Araujo = wrote: >=20 >=20 >=20 > 2017-06-23 4:02 GMT+08:00 Guido Falsi >: > On 06/22/17 19:06, Guido Falsi wrote: > On 06/22/17 18:38, Warner Losh wrote: >=20 > I'll followup as soon as I have easier use case to reproduce it. I = first need to revert to an image affected by the problem. >=20 > I have made a few more tests. >=20 > I am able to trigger this bug easily by running gpart. >=20 > I'm testing on a PCEngines APU2 board with SD memory card. >=20 > # gpart set -a active -i 1 mmcsd0 > active set on mmcsd0s1 > # fsck_ffs -n /dev/mmcsd0s1a > ** /dev/mmcsd0s1a (NO WRITE) > ** Last Mounted on /mnt > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > Segmentation fault > # shutdown -r now > /sbin/shutdown: Device not configured >=20 > also, if I open another shell I can't perform many other operations = which are not failing in the previous root shell: >=20 > > tail /var/log/messages > /usr/bin/tail: Device not configured. >=20 >=20 > BTW while testing this multiple times I also had the root shell = segfault while browsing history, so it should be quite easy to reproduce = on your side too. running the gpart set command triggers it every time, = with slightly different bu always disruptive symptoms. >=20 > There is a chance it only shows with these embedded systems storage = controllers though. >=20 > --=20 > Guido Falsi > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs = > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org = " >=20 >=20 > Hi, >=20 > Could you guys test this patch: https://reviews.freebsd.org/D11365 = ? > Would it solve the issue? >=20 > Best, > --=20 >=20 > --=20 > Marcelo Araujo (__) > araujo@FreeBSD.org \\\'',) > http://www.FreeBSD.org \/ \ ^ > Power To Server. .\. /_)