Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 22:02:26 +0200
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, FreeBSD FS <freebsd-fs@freebsd.org>, Glen Barber <gjb@freebsd.org>, Jonathan Chen <jonc@chen.org.nz>, Peter Blok <pblok@bsd4all.org>
Subject:   Re: vnode_pager_generic_getpages_done: I/O read error 5 caused by r318394 (was Re: FreeBSD 11.1-BETA1 Now Available)
Message-ID:  <e722eebb-6107-2f7e-e974-53c31a86148c@FreeBSD.org>
In-Reply-To: <0c4c58d6-f34c-a358-3bda-122913110c6d@FreeBSD.org>
References:  <20170610123435.GB69235@FreeBSD.org> <CAJuc1zOuhKA2PQCbAk3KBfNka2F=xJ%2BvozxvDBzaR9wqbTkg=g@mail.gmail.com> <CANCZdfpefwXJ=4bkONd_VbMPRMqQ4GW5SQdNU%2BxK2KGq-FxvdQ@mail.gmail.com> <CAPyFy2AdGwYjFGtJHL-osJxEBWojjDb7=WyPRDn3vPJ62jj3NQ@mail.gmail.com> <10A08FC1-C84E-4D06-9360-B7C3848F4680@bsd4all.org> <f8c9e6a8-548e-10f0-4eed-87705dfdca4d@FreeBSD.org> <05e6bd02-3582-aea1-5fc3-19caa4073f94@FreeBSD.org> <CANCZdfpy2B4TtcY=NOqMO0ChdkcJBuA%2Bk2xy1Fy_G4yoMxWHXw@mail.gmail.com> <0c4c58d6-f34c-a358-3bda-122913110c6d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <madpilot@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e722eebb-6107-2f7e-e974-53c31a86148c>