From owner-svn-src-all@freebsd.org Wed Mar 23 01:28:09 2016 Return-Path: Delivered-To: svn-src-all@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 3FD46A926BB for ; Wed, 23 Mar 2016 01:28:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 15E3219B9 for ; Wed, 23 Mar 2016 01:28:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x233.google.com with SMTP id o5so8575589iod.2 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=abcmFKNVCNXYVCaN8pMEQrVc5Wv5knvhj6MnN35dFzwvoY+ieI4S+oXTapF83D2NdT R9b8BNePTP3IekZ+6Ld+cki2Ep0Fi4Sa4tQMaJKGPzEfeStOgwHMeoOEYNWVPi4euWIJ cW8xqVGvZgGeNXw6Qfo20QQfN3LV0nMfdNiYxYef00YY/q4L4BP3F/D2gVLx0g4pmg0c jYtUGycqIrPcvO3LU5Dqvd3AEp2k4mJFsTIvB1QR3AwR6YFNciha7VhEOafcIsrWeOO+ U9alyk4MXmjVJ9HvDtBqM912XpOSd0ddA9q1Z+frUzFIU6ddB02v0U4/cNTzpX4DZVzK NuKQ== X-Gm-Message-State: AD7BkJJ7ROJtHOlByvM/4UAiojzxP05iUncIawWnIUaZh/zh8uJfCf6RDASHIC4hqXtUhB4hSI/JHX4PeF/HTA== 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-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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