From owner-freebsd-stable@freebsd.org Thu Jun 22 20:02:31 2017 Return-Path: Delivered-To: freebsd-stable@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 E077BD9384C; Thu, 22 Jun 2017 20:02:31 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (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 A1AFA37EF; Thu, 22 Jun 2017 20:02:31 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3wtsts4FmBzb56; Thu, 22 Jun 2017 22:02:29 +0200 (CEST) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id 2YAnvQsr0yva; Thu, 22 Jun 2017 22:02:27 +0200 (CEST) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Thu, 22 Jun 2017 22:02:26 +0200 (CEST) Subject: Re: vnode_pager_generic_getpages_done: I/O read error 5 caused by r318394 (was Re: FreeBSD 11.1-BETA1 Now Available) From: Guido Falsi To: Warner Losh Cc: FreeBSD-STABLE Mailing List , FreeBSD FS , Glen Barber , Jonathan Chen , Peter Blok 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> Message-ID: Date: Thu, 22 Jun 2017 22:02:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <0c4c58d6-f34c-a358-3bda-122913110c6d@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2017 20:02:32 -0000 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