Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2016 19:28:08 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        Ian Lepore <ian@freebsd.org>, Edward Tomasz Napierala <trasz@freebsd.org>,  src-committers <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r297190 - head/sys/kern
Message-ID:  <CANCZdfpqokV%2Brx3Z=2Obwh8THj3UbhBUGrG4G8v96NCVOvqRRw@mail.gmail.com>
In-Reply-To: <1614105839.27686393.1458695637184.JavaMail.zimbra@uoguelph.ca>
References:  <201603221346.u2MDk1XH029623@repo.freebsd.org> <1458662141.1091.16.camel@freebsd.org> <1614105839.27686393.1458695637184.JavaMail.zimbra@uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 22, 2016 at 7:13 PM, Rick Macklem <rmacklem@uoguelph.ca> wrote:

> 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
> manually
> > >   press '.' a couple of times to get USB to finish probing.
> > >
> > >   Note that there's still something wrong with the console (character
> > >   echoing doesn't quite work), and there's also a reported problem with
> > >   BHyVe, but those two don't seem related to the problem above.
> >
> > 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.
> >
> When I had a console character echo problem (not serial), changing the
> clock source to RTC fixed it.
>

I fixed this for the UART code a while ago in r260890. Maybe a similar fix
is needed here? Basically, is the data being consumed by the interrupt
handler before we can poll-read it...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpqokV%2Brx3Z=2Obwh8THj3UbhBUGrG4G8v96NCVOvqRRw>