Date: Wed, 27 Jun 2018 12:42:17 -0700 From: bob prohaska <fbsd@www.zefox.net> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net> Subject: Re: RPI3 swap experiments Message-ID: <20180627194217.GA27793@www.zefox.net> In-Reply-To: <CC72E766-03CB-476C-8F2B-DAAC266CE63D@yahoo.com> References: <20180626052451.GA17293@www.zefox.net> <CANCZdfpXyzxzOZ8pqcRtuFsxYx5Jjs9oSL1ok2sGVPHdiB0qVQ@mail.gmail.com> <201806261040.w5QAeBKq035183@donotpassgo.dyslexicfish.net> <A6986B21-FF6E-48F5-9F3A-06B3D2A92C55@yahoo.com> <20180626151843.GD17293@www.zefox.net> <3525D7C7-F848-45A1-BD85-2DAC895DF48C@yahoo.com> <20180626222834.GA20270@www.zefox.net> <28012DFB-37A0-461A-BB62-CD3EE61E82F0@yahoo.com> <20180627054027.GA22144@www.zefox.net> <CC72E766-03CB-476C-8F2B-DAAC266CE63D@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 26, 2018 at 11:30:52PM -0700, Mark Millard wrote: > On 2018-Jun-26, at 10:40 PM, bob prohaska <fbsd at www.zefox.net> wrote: > [apologies to all, especially Mark, for the length of this tale. Keeping it short, sweet and accurate is harder than expected!] [big snip] > > A) Any examples of /dev/da0 errors without crashes? No. /dev/da0 errors always end in a panic or hang. > B) Any examples of crashes without /dev/da0 errors? No. > C) All examples that do either also does the other > (so both always go together)? Yes. Rarely, on hands-off reboot, da0 errors were reported, with eventual panic, but fsck always cleared the problem. Later on it seemed booting first to single user, then exiting to multiuser fixed (or avoided) the problem. So, ephemeral /dev/da0 errors have been seen without running -j4 buildworld. Next time it happens I'll try to capture the messages. IIRC, they started with "lost mount". Once the system goes multi-user no da0 errors have been seen apart from those during -j4 buildworld. > > (I've having trouble parsing a specific meaning for > the reference. I did not go back trough all the logs > again to identify the combinations recorded.) > > For (A), have you tried any examples of: > > sufficient swap on mmcsd0 (or other such) with no swap > on da0 (but /usr and /var on /dev/da0)? Yes, that is the configuration which completes successfully. > > If yes, did you check on if there were /dev/da0 errors > logged? What, if any, /dev/da0 errors where logged? > None? Correct, no errors on da0 when -j4 buildworld is successful. > For (B), have you tried any examples of: > > insufficient swap on (say) mmcsd0 and no use of the > /dev/da0 drive that has reported errors at all, > /usr/ and /var not on mmcsd0 (or whatever was used > for swap) either? Did some drive end up reporting > errors? Which? Did the system still crash as well? > I think this is the standard test case: /usr and /var on /dev/da0 /tmp on /dev/mmcsd0s3a swap on /dev/mmcsd0s3b This configuration has crashed reliably with errors on /dev/da0 but no other "disk" errors. Did I understand the question correctly? > > > Have such test-context combinations been tried? > > Without any logs to look at for such alternatives, I > can not try to compare/contrast such to the others > examples. > Understood. The matrix of test conditions is not completely filled, and the test of different media for /dev/da0 has not yet been made. I'd like to play with stress2 and ports/sysutils/stress before doing that. There is a new, successful -j4 buildworld swapuse.log for the case of 3 GB of USB flash swap at http://www.zefox.net/~fbsd/rpi3/swaptests/r335576/3gbusbflash/ The system is now up to r335655 and I'm trying to replicate earlier crash behavior before proceeding further. Thanks for reading! bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180627194217.GA27793>