From owner-freebsd-usb@FreeBSD.ORG Fri Nov 20 11:22:36 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BAB5106568B; Fri, 20 Nov 2009 11:22:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 867598FC16; Fri, 20 Nov 2009 11:22:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9dZ5St_m-RsA:10 a=Qa35spukGxu/rmuNTmr4yg==:17 a=I_4bdOnyZPBF-CD-pNEA:9 a=e1bq7c-f9fAet-WSFHK_HZ0vxLsA:4 Received: from [85.19.72.137] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1148502407; Fri, 20 Nov 2009 12:22:33 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Andrew Thompson Date: Fri, 20 Nov 2009 12:24:07 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4B03FB5E.5070308@icyb.net.ua> In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911201224.08313.hselasky@c2i.net> Cc: Subject: Re: [keyboard] ukbd stops working after filesystems mount at boot time X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 11:22:36 -0000 On Friday 20 November 2009 10:06:56 Travelling Particle wrote: > New symptom, as Greg House would say. It appears that keyboard is not as > dead as it looks. If I do shutdown -h, the keyboard suddenly becomes > usable: I can hit any key to reboot. However, between the start of the late > boot stage and the end of halt the system behaves exactly as if somebody > pressed Enter and stick some gum to it to stay that way. > > > I am booting off USB stick because I have to attach root partition on HDD > > > > > with GELI. It all works fine, I am able to enter passphrase on the > > > > keyboard > > > > > (there's only ukbd keyboard in the kernel at this moment, but I had > > > tried with atkbd as well; I have also experimented with or without > > > TEKEN with > > > > no > > > > > difference). After root partition is mounted, system mounts other geli > > > partitions on the same hard disk. It is right after the filesystems > > > were mounted that the problem starts. The output on console at that > > > moment > > > > starts > > > > > to be interleaved with new lines symbols. After late boot stage > > > > completes, I > > > > > see login prompt on console, but system acts *as if* I had just pressed > > > Enter and presents login prompt again and again. The keyboard itself > > > > appears > > > > > to be dead. If I choose to boot single-mode, behavior is the same -- I > > > > see > > > > > multiple shell prompts as if I were hitting Enter repeatedly. I had > > > been trying various configurations in the kernel for over 5 days now, > > > and > > > > still > > > > > couldn't make the console work on the system (I can login via network > > > though). There was a recent EHCI interrupt patch. I'm not sure if it is committed to 9- current yet. --HPS