Date: Mon, 26 Jun 2017 22:36:56 +0800 From: Marcelo Araujo <araujobsdport@gmail.com> To: Guido Falsi <madpilot@freebsd.org> Cc: Warner Losh <imp@bsdimp.com>, FreeBSD FS <freebsd-fs@freebsd.org>, Glen Barber <gjb@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@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: <CAOfEmZiO-AePq8Z03ppjf1YedKKHgJ7sD6M-qKAN3n-Y=samEA@mail.gmail.com> In-Reply-To: <e722eebb-6107-2f7e-e974-53c31a86148c@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> <e722eebb-6107-2f7e-e974-53c31a86148c@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2017-06-23 4:02 GMT+08:00 Guido Falsi <madpilot@freebsd.org>: > 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> > _______________________________________________ > 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 <http://www.freebsd.org/> \/ \ ^ Power To Server. .\. /_)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfEmZiO-AePq8Z03ppjf1YedKKHgJ7sD6M-qKAN3n-Y=samEA>