From owner-svn-src-head@freebsd.org Wed Mar 23 01:28:09 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50A1BA926BE for ; Wed, 23 Mar 2016 01:28:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1885119BC for ; Wed, 23 Mar 2016 01:28:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22d.google.com with SMTP id m184so8685744iof.1 for ; Tue, 22 Mar 2016 18:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=n5KeFm+vsD4LQMsbEHLBF65JydSXDPkfdcAQLAWSQJE=; b=i6XCE6X6Upplt7lVigLJgsupM9kPCyo9xX2gsDSk+Q/wNhmCNs/sGOPr4mGwaRdStF IrAFW5l8GvAZQn9S6elNi7AxwiedrrM/lS1vEWMhgJzpIic6NeJTXq5wiHLmhwsXwime 9jSHhiuIVAQ15YaXmKDG4L5Ql2lRq0sgNouDsafyLoEGkpY00SD6ohAtD5+NsbbsCYud H3nNZdvlZaSekCczZzT47VSC6ERzIDcSorl0xC7fgxdQygbAFOadWTS0D2UfeE69viBL FcRrJje0fzTdWI67A2Z9j48IbHegj3tu+JOj7VRe99JH8AlDnhMStqU2vh6A/4xDJvz4 atgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=n5KeFm+vsD4LQMsbEHLBF65JydSXDPkfdcAQLAWSQJE=; b=m+xn+ZwKVgkYmTBShmYNExd2jy5RCOONTQKcTlTMk7sMjQW3iWYH4NntdQijadfIXR UdZuNX8N3hrIfQIAMImUXFeNqXnJgBgsPl25r2cQE4q7gny1JQeqNWtRdk/skek2aq3y Su/UlHJnPx8fPyN55VulbNL0B0qtx8F9UQXwd/OrpWgD1DHQjB6k8DhGVNj+bifSByMX /y6PzkPsk6UwFDuk5YzoTY7yzqQEC71IAsgRSTQL09tm8YFTROeuG8mA++BTG4lJJJg+ xZA6EzIuXXfr2AGj4Kw0yVU/VmvIw+muVc/Mpw4DqvG4R9D/Ekl4BihxhVK145qpBdVe VCSw== X-Gm-Message-State: AD7BkJJEJz5vm57ZDZufLPSi4FsZP232iM8Xcui23VUwOEldCAt1ufJkG1IEAXJ1T8FPlMhq85i4aBViK3JX8w== MIME-Version: 1.0 X-Received: by 10.107.14.209 with SMTP id 200mr596036ioo.73.1458696488256; Tue, 22 Mar 2016 18:28:08 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.36.65.230 with HTTP; Tue, 22 Mar 2016 18:28:08 -0700 (PDT) X-Originating-IP: [50.253.99.174] 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> Date: Tue, 22 Mar 2016 19:28:08 -0600 X-Google-Sender-Auth: WVf5Dq1-ZkI4ZA3MJJURU2tbZWI Message-ID: Subject: Re: svn commit: r297190 - head/sys/kern From: Warner Losh To: Rick Macklem Cc: Ian Lepore , Edward Tomasz Napierala , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 01:28:09 -0000 On Tue, Mar 22, 2016 at 7:13 PM, Rick Macklem 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