Date: Thu, 22 Jun 2017 10:38:45 -0600 From: Warner Losh <imp@bsdimp.com> To: Guido Falsi <madpilot@freebsd.org> Cc: Peter Blok <pblok@bsd4all.org>, Ed Maste <emaste@freebsd.org>, 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> 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: <CANCZdfpy2B4TtcY=NOqMO0ChdkcJBuA%2Bk2xy1Fy_G4yoMxWHXw@mail.gmail.com> In-Reply-To: <05e6bd02-3582-aea1-5fc3-19caa4073f94@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 22, 2017 at 2:26 AM, Guido Falsi <madpilot@freebsd.org> wrote: > On 06/21/17 16:59, Guido Falsi wrote: > > On 06/13/17 13:44, Peter Blok wrote: > >> Hi, > >> > >> For a while now, I=E2=80=99m not able to build a RPI1-B image from -st= able. I > have narrowed it dow to fix 318394, which adds a refresh option to > geom_label. If I undo this fix in today=E2=80=99s stable it works ok. If = I don=E2=80=99t > I=E2=80=99m getting continuously: > >> > >> vm_fault: pager read error, pid 1 (init) > >> vnode_pager_generic_getpages_done: I/O read error 5 > >> > >> I have looked at the fix and I can=E2=80=99t figure out why it breaks = the code. > >> > >> And yes I have tried various other SD cards - they all have the same > issue. > >> > > > > Hi, > > > > I'm seeing similar symptoms with NanoBSD images on PCEngines ALIX and > > APU2 boards, using compactflash and SD card storage respectively. The > > problem has appeared as soon as I started testing 11.1-BETA1 from the > > stable branch. > > > > Problem appears when I update the image, using a slightly modified > > version of the standard nanobsd update and updatep[12] scripts. My > > changes are not in the dd/gpart commands though, which are the same. > > gpart seems the most likely candidate though. > > > > I have just discovered this thread and I will test reverting r318394 > > soon. Thanks to Peter for narrowing it down! > > > > Maybe this is related to having the disks mounted read-only? > > > > I noticed that after the problem appears many commands, including > shutdown, start failing telling "device not configured" for all mounted > FSes. I'm even unable to "ls /dev". > > Looks like the geom refresh changes devices from below the system in a > way which triggers this reaction. > > I don't know the geom code and have been unable to find an immediate > problem in the commit mentioned above. I'd really like some help to know > where to look, or what kind of debugging information is needed. > > This is quite a bad bug for people running NanoBSD and should be fixed > before the release. > So can I recreate this with the embedded-type NanoBSD image? If this change breaks NanoBSD, it will need to be reverted... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpy2B4TtcY=NOqMO0ChdkcJBuA%2Bk2xy1Fy_G4yoMxWHXw>