From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 14:12:14 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5042C76C for ; Sat, 1 Feb 2014 14:12:14 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id E50FB1183 for ; Sat, 1 Feb 2014 14:12:13 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id 359441001FB; Sat, 1 Feb 2014 15:12:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 332B18F15FC; Sat, 1 Feb 2014 15:12:58 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7k6kPkq179lb; Sat, 1 Feb 2014 15:12:57 +0100 (CET) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id DE8A88F0FA4; Sat, 1 Feb 2014 15:12:56 +0100 (CET) Subject: RE: Entering password at GELI prompt using USB keyboard From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?perox=40freenet=2Ede?= , =?utf-8?Q?freebsd-usb=40freebsd=2Eorg?= Date: Sat, 1 Feb 2014 15:12:56 +0100 Mime-Version: 1.0 In-Reply-To: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de> References: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 14:12:14 -0000 Hi,=0D=0A=0D=0AThe problem is not in the USB subsystem. Last time I looke= d into this, the problem was that syscons was going in a terrible polling= loop, leaving no CPU for other subsystems.=0D=0A=0D=0ADoes the mountroot= prompt work=3F=0D=0A=0D=0APolling for characters during early boot is a = special mode of operation for the UKBD driver and it might conflict if th= ere are multiple threads trying to get characters from the keyboard.=0D=0A= =0D=0Ahw.usb.ukbd.debug=3D15=0D=0A=0D=0AMight give you some clues. You mi= ght need to hack this into the ukbd.c driver when building the kernel.=0D= =0A=0D=0A--HPS=0D=0A=0D=0A=20=0D=0A=20=0D=0A-----Original message-----=0D= =0A> From:perox@freenet.de >=0D=0A> Sent: Saturday 1st February 2014 13:10=0D= =0A> To: freebsd-usb@freebsd.org =20=0D=0A= > Subject: Entering password at GELI prompt using USB keyboard=0D=0A>=20=0D= =0A> Hello,=0D=0A>=20=0D=0A> I have been encountering this problem for al= most a year now and I'd really like=0D=0A> help fixing it. My system only= has USB ports and no ps/2 for a keyboard. I'm=0D=0A> running FreeBSD 9 w= ith an encrypted GELI container for the whole system. The=0D=0A> kernel r= esides on a USB key and with 8.1 - 9.0 I was able to enter the GELI=0D=0A= > password using a USB keyboard at the GELI prompt during booting. Since = 9.1 this=0D=0A> is not possible anymore and still isn't with 10.0. The GE= LI prompt either=0D=0A> doesn't accept any key press or ignores Enter (I = can't tell the difference=0D=0A> because the password is not shown). I al= ready looked at the code but could=0D=0A> not find significant changes in= ukbd.c or the likes from 9.0 to 9.1. However,=0D=0A> since the GELI code= was changed even less I post the question here. Is there=0D=0A> a possib= ility to get more debug output except for verbose boot=3F Can I provide=0D= =0A> other information to help fix the problem=3F=0D=0A>=20=0D=0A> Thanks= a lot!=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A> ---=0D=0A> Alle Po= stf=C3=A4cher an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! = http://email.freenet.de/basic/Informationen =20=0D=0A> ______________________________________________= _=0D=0A> freebsd-usb@freebsd.org mailin= g list=0D=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-usb =20=0D=0A> To unsubscri= be, send any mail to "freebsd-usb-unsubscribe@freebsd.org "=0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 14:39:38 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B148F58 for ; Sat, 1 Feb 2014 14:39:38 +0000 (UTC) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 374771302 for ; Sat, 1 Feb 2014 14:39:38 +0000 (UTC) Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout2.freenet.de with esmtpa (ID perox@freenet.de) (port 25) (Exim 4.80.1 #4) id 1W9bjL-0003fK-Fn; Sat, 01 Feb 2014 15:39:35 +0100 Received: from localhost ([::1]:35900 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9bjL-0002DV-Au; Sat, 01 Feb 2014 15:39:35 +0100 Received: from mx15.freenet.de ([195.4.92.25]:53881) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9bgH-0008T0-CE; Sat, 01 Feb 2014 15:36:25 +0100 Received: from web3.emo.freenet-rz.de ([194.97.107.236]:34981 helo=web9.emo.freenet-rz.de) by mx15.freenet.de with esmtpa (ID perox@freenet.de) (port 587) (Exim 4.80.1 #4) id 1W9bgH-0004k6-Ac; Sat, 01 Feb 2014 15:36:25 +0100 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web9.emo.freenet-rz.de with esmtpa (Exim 4.72 1 (Panther_1)) id 1W9bgG-0006mB-Sf; Sat, 01 Feb 2014 15:36:24 +0100 Date: Sat, 01 Feb 2014 15:36:24 +0100 From: perox@freenet.de Subject: RE: RE: Entering password at GELI prompt using USB keyboard To: Hans Petter Selasky , freebsd-usb@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Abuse: 500871696 / 91.19.24.221 Message-Id: <9f23f31935759c88f8dad7a36e2ec508@email.freenet.de> User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Originated-At: 91.19.24.221!32611 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 14:39:38 -0000 SGksDQoNCj4gVGhlIHByb2JsZW0gaXMgbm90IGluIHRoZSBVU0Igc3Vic3lzdGVtLiBMYXN0IHRp bWUgSSBsb29rZWQgaW50bw0KPiB0aGlzLCB0aGUgcHJvYmxlbSB3YXMgdGhhdCBzeXNjb25zIHdh cyBnb2luZyBpbiBhIHRlcnJpYmxlIHBvbGxpbmcNCj4gbG9vcCwgbGVhdmluZyBubyBDUFUgZm9y IG90aGVyIHN1YnN5c3RlbXMuDQo+DQo+IERvZXMgdGhlIG1vdW50cm9vdCBwcm9tcHQgd29yaz8N Cg0KeWVwLCBtb3VudHJvb3QgaXMgd29ya2luZy4gVGhhdCdzIHVuZm9ydHVuYXRlbHkgdG9vIGxh dGUgZm9yIG1lIHRvIGVudGVyIHRoZSBwYXNzd29yZCA6KSBJZiB5b3Ugc2F5IFVTQiBpcyBtb3N0 IGxpa2VseSBub3QgdGhlIHByb2JsZW0sIGlz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