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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2/5/2017 16:57, Warner Losh wrote:
> On Sun, Feb 5, 2017 at 2:22 PM, Karl Denninger <karl@denninger.net> wrote:
>>
>> The above works -- almost.
>>
>> The system boots on first start, gets an IP address, sets time and such
>> and then hangs here:
> ...
>> Do I need "console=comconsole" 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=213687) 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....

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

[-- Attachment #2 --]
0	*H
010
	`He0	*H
\0X0@=0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
161218194535Z
211217194535Z0W10	UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
	*H
0
͍fd`1ie6";fSz`5¹/?{=Ӵowjħ_fnӴMG\ҢҖ4ib}>@mJo&mM;
Q9U cj]p퐆W.2E=
^¢tzĄ'5i7_`~#dY
`]R]N%R}EXzqV@[oN	T>5AwYˡA"\v&YG]+($p:M,T?=mJkMљg*ym
L!J[./d׷?W^LysD'1
+V'~{-SSX=q-f=%&V<m4BeSet|
l2m 6iO{wv
+aHXˈ5=~é*C!?uJr3tb'3`Oe)üLxt&3N526llU
.|Cp[l?007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U/Zi
0GhG0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
b%X%gwq	
ɁэrK[DMJ35W6
sz8d|qB2Cyw2PbV}
â[!W{HD7oD.TZ'w6~g( -,]R8P{*[f<1=7jGj9铚~3f2AʺN	k~@vz^j(>ͺyh2y{/9}4.45#S|<fW!.,Bss*Q+h=}l@	"q "M&6J5*,G {hɫjbNgǠ.ЃXȶ4$O.5evHlZba!4eE!x|Za1򹿈nZ5TuPvW|#G+	DZpI7S'n0 haGa@vZ	e|]Cu+))vRyY100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA=0
	`HeM0	*H
	1	*H
0	*H
	1
170206142818Z0O	*H
	1B@>qmX[ǁO udf]mڊ}A)~@( WE0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA=0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA=0
	*H
}*QЃ`KLJ՜UTO_ DY.JuƄѫ%tI/e5!LƁ0,\nB\1!E>ss$*jLΆ>ofIuጒprL݁)<^"Ԩ|MfzkzIa&fqBTiq;:t~?fH|
7$}7,%2i{t;|w_H_xP]?|^=C'f4z <@n9~2]r"zǁhu÷V]6MDZ0)z&:QpQ@\Z<0t]tbd5Ht i(WoHAn
:N5O7|ѥpnls
DhYƸlʲЎ|`ضxOgɪ
home | help

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