Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 08:28:18 -0600
From:      Karl Denninger <karl@denninger.net>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: NanoBSD config script for RPI2
Message-ID:  <03b3c4e7-c915-ebd5-d560-bf23673f5215@denninger.net>
In-Reply-To: <CANCZdfpsWt3z1LJL5W=9a1SqT=PtCqGLjSjWs_=gdRsKNCzG8w@mail.gmail.com>
References:  <69c5a012-c1e7-c887-cd3b-ffcf78d8175e@denninger.net> <CANCZdfqSMbygO47LYt7Yxi8m6OAawgta4swnv4WyVFzeD4D0vg@mail.gmail.com> <506d5c30-93f7-048e-2cde-d76bfaf76a8f@denninger.net> <CANCZdfoBYi_9TKpkq9SnBN6k-gWBo5-CAkTLfS5qdsKgfHLU8A@mail.gmail.com> <af492294-0333-5c67-a2b9-e9e9c478ccf2@denninger.net> <1892E365-966E-4DFA-8DE0-9BAD584754A1@dsl-only.net> <41e02f9b-7884-1eec-b4e0-a32c962642b9@denninger.net> <ce443e27-9586-3113-7fde-25d31361fd89@denninger.net> <CANCZdfpsWt3z1LJL5W=9a1SqT=PtCqGLjSjWs_=gdRsKNCzG8w@mail.gmail.com>

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

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

On 2/5/2017 16:57, Warner Losh wrote:
> On Sun, Feb 5, 2017 at 2:22 PM, Karl Denninger <karl@denninger.net> wro=
te:
>>
>> The above works -- almost.
>>
>> The system boots on first start, gets an IP address, sets time and suc=
h
>> and then hangs here:
> ...
>> Do I need "console=3Dcomconsole" in /boot/loader.conf?  I would think
>> setting the option in the nanobsd config file would generate that, but=

>> it does not appear to -- and it also doesn't appear to be necessary,
>> because I do get all the boot messages on the serial console side.
> If nanobsd did its thing right, you should have a getty running on
> both the serial port and the video "console" regardless of which one
> is /dev/console. onifconsole isn't that useful in this situation.
>
> Warner

Interesting observation -- I've been chasing problems with the sound
subsystem (one of the PRs involved is here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213687) and part of
the chase involved updating the bootcode.bin and related files.  /The
most-recent version of those files from Github results in FreeBSD
failing to reliably start/; it will sometimes hang after the ethernet
interface identifies and it /also /hangs somewhere in the last few
/etc/rc files (and I'm not sure exactly where) -- because those files
never all complete init never starts the gettys.  I've tried to locate
the offending rc file (the shell that init kicks off to run the jobs
appears to be spinning in an "R" state, but it's not accumulating time!)
but thus far have failed to do so.

On a "normally running" system as long as sshd comes up everything looks
ok.  But if you need to log in via a console, whether serial or
otherwise, it looks like it hung because the chain of things that have
to run before that gets started *did* hang.

Reverting to the u-boot port versions of said files fixes that.  Not
sure how badly doing so will hose my sound, however....

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

--------------ms040008020603040007090500
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
BlwwggZYMIIEQKADAgECAgE9MA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G
A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl
bXMgTExDMRwwGgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhND
dWRhIFN5c3RlbXMgTExDIENBMB4XDTE2MTIxODE5NDUzNVoXDTIxMTIxNzE5NDUzNVowVzEL
MAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM
TEMxGzAZBgNVBAMUEmthcmxAZGVubmluZ2VyLm5ldD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QV8uHfHX7lI7B5feLmGj5dQ2d1dCD/mmdx8
wYZePagAjbXQ7ojnQyfkFeTLZsQINKp6jdTwBtcgPNAF4ZRAbvQGgTkXfgEyXXKvCyJ6x4GM
t+todYezw7dW1BvutfCAXTYItk2ktfIbRLvuWo6WMCl6JrzyOlFwC1GHQNATh1xa/zyw2uYw
GRp0rRNdFLkB6qn5dGJki/wL/JOSNQRIpHQfiwaPILhpFYgo0FdvEMMP20j6HLO4QZluDYzg
Ok7nNU83fNGlsPxwboYS6mxzm6qUCpuZpP6Mj8L9RIPBaANZ1ND1hca4bKnKsuKDBdCOfJoI
YJnYtrADDM3/eE/4Z+L2yaoAAAAAAAA=
--------------ms040008020603040007090500--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03b3c4e7-c915-ebd5-d560-bf23673f5215>