Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2016 14:12:52 +0100
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <jean-sebastien.pedron@dumbbell.fr>
To:        Ian Lepore <ian@freebsd.org>, Edward Tomasz Napierala <trasz@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r297190 - head/sys/kern
Message-ID:  <56F29654.8030806@dumbbell.fr>
In-Reply-To: <1458662141.1091.16.camel@freebsd.org>
References:  <201603221346.u2MDk1XH029623@repo.freebsd.org> <1458662141.1091.16.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0B9JVUCBwOKSP9m8Kq0FVuC4PHAci9EkL
Content-Type: multipart/mixed; boundary="AXlQFSuSJxW4vmkjT4whgfo7VNcrsdjhk"
From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?=
 <jean-sebastien.pedron@dumbbell.fr>
To: Ian Lepore <ian@freebsd.org>, Edward Tomasz Napierala
 <trasz@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Message-ID: <56F29654.8030806@dumbbell.fr>
Subject: Re: svn commit: r297190 - head/sys/kern
References: <201603221346.u2MDk1XH029623@repo.freebsd.org>
 <1458662141.1091.16.camel@freebsd.org>
In-Reply-To: <1458662141.1091.16.camel@freebsd.org>

--AXlQFSuSJxW4vmkjT4whgfo7VNcrsdjhk
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 22/03/2016 16:55, Ian Lepore wrote:
> On Tue, 2016-03-22 at 13:46 +0000, Edward Tomasz Napierala wrote:
>> Author: trasz
>> Date: Tue Mar 22 13:46:01 2016
>> New Revision: 297190
>> URL: https://svnweb.freebsd.org/changeset/base/297190
>>
>> Log:
>>   Wait for root mount tokens before showing the root mount prompt.
>>   This restores the pre-r290196 behaviour, eliminating the need to man=
ually
>>   press '.' a couple of times to get USB to finish probing.
>>  =20
>>   Note that there's still something wrong with the console (character
>>   echoing doesn't quite work), and there's also a reported problem wit=
h
>>   BHyVe, but those two don't seem related to the problem above.
>=20
> Just a datapoint on the echoing... it works fine on a serial console,
> it's been years since I've seen glitches at the mountroot prompt.  So
> the problem may be in vt or kbdmux.

I confirm this is a known issue with vt(4): it uses a callout to refresh
the screen, but for reasons unknown to me, the callout is not called
anymore on mountroot prompt. I tried to debug this but failed. Since
then, I didn't have time to work on this again.

So maybe callouts are disabled in this situation. If there is a way to
detect that, then vt(4) can go back to a "synchronous mode" where it
refreshes the screen after each typed character, like it does when ddb
is active.

I will repeat this in the bug report.

--=20
Jean-S=E9bastien P=E9dron


--AXlQFSuSJxW4vmkjT4whgfo7VNcrsdjhk--

--0B9JVUCBwOKSP9m8Kq0FVuC4PHAci9EkL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJW8pZUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz
OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMAHwP/RqsOpvumSYEqUIiSSQTIu5w
pRmrdg77PhVHRDk627QbA/IEP3o4hrkSZUEwDcEkzDsIu1cNY8vrJVOwPtQmhH3T
XFl+s8SbByJLDv65l3RRGh4bRdEbi2otojG1xN40rRfQKEq7S3pt+94olg9eFr+k
8NiQiIueqmt7KVtjowrRwMRxV4lnfqUmo9IDsu9VxOZIp2wsNh3wvZ64zcSDq5nu
gV4edAyLdjikQDrc9SB5tbZYcUx26is4hYWY/UyHyNiuuLGw65zL1wYXuWkjC0Uf
z+wZhzBl4wCNUmaJ0zlOh91+QveGdnIzipQGJaEqeee2l8IUNthwpexnHBcRGSrD
FZerOFYNv0cvR624k1d0u9e9e41oxLejYruiut5vN6s7xIzPRWHD0HQgtrEW9Odd
UyW9tD1+4NMtItbCYQKXNvDyYfgadDF50qKUwUFC52Z49o5Bf1w2HMtaIHwmWKjZ
mbIrQweuDfew3DiEoFEJG773WvzX2OnZFJqjUbfLVQFMpYkNWQVJgRwXDxSQvQcz
VVRU7lPGgDx4rLT3gqo49oThqigJOZXFljYXTBRcPlzQnNsyHPPHCkYd7GaKQnK9
UaKbLuRNJI2a02G3mENGVhDaqPVbYbkNW2Eu7XJc+N+yl4vS5is6SN0koJfEqRpx
Drd85vptITNp6pqq6oh5
=NZuA
-----END PGP SIGNATURE-----

--0B9JVUCBwOKSP9m8Kq0FVuC4PHAci9EkL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F29654.8030806>