Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 10:28:32 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Bizarre clone attempt failures on Raspberry Pi2...
Message-ID:  <7ec73971-bc45-3e3c-2cb2-9ec9b9df3a4f@denninger.net>
In-Reply-To: <CANCZdfoczKL-zX11S6FoyC98-K%2BDvzDXgDCEVFP1-PDA9FUBiQ@mail.gmail.com>
References:  <548783e1-9047-68f7-5f50-449db684d602@denninger.net> <d2eb4035-e494-1a7b-98e5-2aa87efe0763@denninger.net> <EDE65B12-4961-4CEF-8AE9-BFDA4FD508A5@gromit.dlib.vt.edu> <5475ea53-ae22-2634-6f2a-5737d1b0e308@denninger.net> <398ae56c-8893-f188-c210-cf7f19ccf433@denninger.net> <1468518953.72182.219.camel@freebsd.org> <7a91fc79-1c85-fac8-aa3f-db90592f3f44@denninger.net> <bec46aff-a4d5-9c4d-49d0-78534b13f719@denninger.net> <E01579F5-9562-4E51-9CFB-EA510460A4C8@gromit.dlib.vt.edu> <60b6e156-981e-9fbd-b68c-0daae1961286@denninger.net> <04391154-A38E-46CD-B570-B2BECFD19022@gromit.dlib.vt.edu> <d1aba096-e645-04df-dfda-5a9284250960@denninger.net> <CANCZdfoczKL-zX11S6FoyC98-K%2BDvzDXgDCEVFP1-PDA9FUBiQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms030704040203050106050807
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 7/15/2016 09:53, Warner Losh wrote:
> I saw your failok PR. That's a good idea.
>
> A better idea, though, is to implement true dual-console mode where
> both the kernel *AND* /etc/rc run on both the serial and the video
> consoles. I've poked at this in the past, but have never had time to
> fully implement it due to other things being more pressing.
>
> Warner
Agreed.  The best option is the one that exposes what is going on in a
way that is *usable* to those in any reasonable set of expected "base"
configurations.  But for now "failok" is better than nothing.

BTW I've run into some very nasty microSD card failure modes of late on
these devices and suspect that atime is thrashing them in terms of write
endurance, resulting in the destruction of several cards after
approximately 9 months of "always on" use.  The symptom is that you wind
up with a hard error in a given location on the card and there's nothing
you can do about it; this results in repeated panics.  This has now
destroyed three Sandisk 32Gb cards here in the last two weeks, all on
different Pi2s doing different things, two of which were on
UPS-protected power and thus hadn't taken unprotected shutdowns.

As a result I am now mounting root "noatime" which should materially
decrease the write load.

For most users with these devices in common configurations that isn't
going to include a serial console.  Hell, I don't usually have one
hooked up, although I *can*, because it's just flat-out simpler to plug
in a monitor and USB keyboard.  For the common person who buys a Pi2 to
screw around they will likely not have a serial console available to
them at all.

Indeed the opposite situation exists in the Intel world; it's a royal
PITA to run serial as a primary console that "just works" on servers (in
fact I've never found the "recipe" for doing so that doesn't leave me
with an exposure where a particular mode of failure might leave me with
no way to get in and resolve whatever is broken, including BIOS access),
which is why built-in IPMI KVMs are such a big deal on those boards --
they "just work" for the "expected" circumstance that "mirrors" what the
common user expects and has.

BTW uboot is allegedly able to support a USB keyboard.  I don't know if
the version we are currently using does, but it allegedly is capable of
doing so in the current code that is out there.

In addition, how does one change the 10 second boot delay in the current
kernel to something shorter? /boot/loader.conf is ignored on ARM systems
since they're loaded with uboot, yes?

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms030704040203050106050807
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC
Bl8wggZbMIIEQ6ADAgECAgEpMA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G
A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl
bXMgTExDMRw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Pvf3cUudy
+OR/j3pSHfI9TU1H/SQKEKQQPfr33r9ktTIQ0jIi007Xd/PINeJUORM+gb+zrfaQ7LbJZYLw
zp2k3PGeAHG52eCMNRvBY/iVHY5TispTD4HJAaPkjg7pnvN2d310DeAE11ujIBdjRl/IVOT/
TLRf8XbMR1bNPQTMUZ+JNqoGRe2tAbO1RcVlKhHwXWLcknUc7zSU2TlGzTPgYtlzoPU/wd62
35plZjaoZGr7GI3quIyX66zGgKCbIUdP5NZblRfDCUYm5LOg+xvbz/Milv23GkV1U1Ly0LLS
7HWPBWIc9V9HDl7GCSY3Np6DjTSODv9tYoDVt091WKFwLCvnVJjjPIIWulkUcfC5+ZTwUrWB
M0s7pXOetrt4tTdEgK1RAxxvbp/+hyuulEvn3V8Gmr64qKhg/FKVRGTAQXMu6trQ9IOCmmoc
BVVTX+ESlDo8hpc9zkgpL/rBg++H5YsFS0OPIHBYw3Ard2eq8ORaxmYPVPV06TG4XUrdMaLl
wMQDllVGL4s3v137VQWMG9AurpChcs3WuKlZVJa3O+r8VBFMEDPJhsJOswT4TQW0tyTKKVDB
8/5oL4tkWH9JjbKN3OjSdDY+Os4AAAAAAAA=
--------------ms030704040203050106050807--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ec73971-bc45-3e3c-2cb2-9ec9b9df3a4f>