From owner-freebsd-fs@freebsd.org Mon Jun 26 14:36:58 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 51198D88D90; Mon, 26 Jun 2017 14:36:58 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0191F7BAFF; Mon, 26 Jun 2017 14:36:58 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id 70so2052976uau.0; Mon, 26 Jun 2017 07:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=eLJC3DaMFhxev2U7RyM84p6FOR/QOX+FGgwQi+EeruU=; b=KIw+jUmHLosjac+4f1585lcBf/vh2n4jd/cx53THr0r9fvbpVlcg7qT2m+jn7+g/LQ xs2xdT4W9V0gppJ1IibMP3PZF/XLsqGTqwmWcaAtKia4lVZwwCoJQHRN4Y3rbzTfYcH4 t+0unczepOnoysXrvPDhaokUd1UwcS/UQvN9cdMNF7EQC3tWLMUSOSFlMcrnCCaUva55 WRHWEE4bu43kaPbEfbloyfQoblxwcFvmcDEutdEn1lg9whX1fWLVx0LDBSqwcm3Nhy14 0NQOhCs3iL/bf8OJEpLDWcjLNNTNGdQnPJi3UEzYB6ZcIG3zh6WnfY4yESJ9wX3/XVcI NvxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=eLJC3DaMFhxev2U7RyM84p6FOR/QOX+FGgwQi+EeruU=; b=sgaQTH8xPHtOpHPTichr92U/r/PDrtkDUSXYMwr4xxTCTMofW0DXwscmIOeJD82Tou eA/oTaNe9HHdOhgoQNz21GE5iKM/7cj+ouCgiK1cG9CYgLQU/pV3au2yCapTdgR7htpC FJRqJa9yUGUpZ7FFTFMg3RHAlVKzyDW6ocGCG2TxAiNt5C2rTuYyjFHIry6dJ4UeznMo LaHziBxJsSY+8yRtV4sX3CQE6YTqEG0zAYeX5g1+/8q+wS8LKw2VZYRJgCmJPOs3oCr8 ZPt98l4MV+QxkGgYYOfWMCH7q7+vdCwWErdv7JT2wey9mqBcaXA4WB2pwh0bs4ryIFkz Z/rg== X-Gm-Message-State: AKS2vOxjH++hfxctLZ0UHccv5kfKVoPPdfWrZ48jw2iv9tIrV0p0qu5C ixrg0kYNIsN37rtK7GXXO/cISAMfL1Vw X-Received: by 10.176.77.155 with SMTP id s27mr246693uag.75.1498487816823; Mon, 26 Jun 2017 07:36:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.16.239 with HTTP; Mon, 26 Jun 2017 07:36:56 -0700 (PDT) Reply-To: araujo@freebsd.org In-Reply-To: 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> From: Marcelo Araujo Date: Mon, 26 Jun 2017 22:36:56 +0800 Message-ID: Subject: Re: vnode_pager_generic_getpages_done: I/O read error 5 caused by r318394 (was Re: FreeBSD 11.1-BETA1 Now Available) To: Guido Falsi Cc: Warner Losh , FreeBSD FS , Glen Barber , FreeBSD-STABLE Mailing List , Jonathan Chen , Peter Blok Content-Type: text/plain; charset="UTF-8" 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 14:36:58 -0000 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: >> > > 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. >> > > I have made a few more tests. > > I am able to trigger this bug easily by running gpart. > > I'm testing on a PCEngines APU2 board with SD memory card. > > # 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 > > also, if I open another shell I can't perform many other operations which > are not failing in the previous root shell: > > > tail /var/log/messages > /usr/bin/tail: Device not configured. > > > 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. > > There is a chance it only shows with these embedded systems storage > controllers though. > > -- > 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" > Hi, Could you guys test this patch: https://reviews.freebsd.org/D11365? Would it solve the issue? Best, -- -- Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_)