Date: Sat, 1 Feb 2014 15:12:56 +0100 From: =?utf-8?Q?Hans_Petter_Selasky?= <hans.petter.selasky@bitfrost.no> To: =?utf-8?Q?perox=40freenet=2Ede?= <perox@freenet.de>, =?utf-8?Q?freebsd-usb=40freebsd=2Eorg?= <freebsd-usb@freebsd.org> Subject: RE: Entering password at GELI prompt using USB keyboard Message-ID: <zarafa.52ed00e8.474d.7996c96968fa9477@mail.lockless.no> In-Reply-To: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de> References: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, The problem is not in the USB subsystem. Last time I looked into this, the problem was that syscons was going in a terrible polling loop, leaving no CPU for other subsystems. Does the mountroot prompt work? Polling for characters during early boot is a special mode of operation for the UKBD driver and it might conflict if there are multiple threads trying to get characters from the keyboard. hw.usb.ukbd.debug=15 Might give you some clues. You might need to hack this into the ukbd.c driver when building the kernel. --HPS -----Original message----- > From:perox@freenet.de <mailto:perox@freenet.de> <perox@freenet.de <mailto:perox@freenet.de> > > Sent: Saturday 1st February 2014 13:10 > To: freebsd-usb@freebsd.org <mailto:freebsd-usb@freebsd.org> > Subject: Entering password at GELI prompt using USB keyboard > > Hello, > > I have been encountering this problem for almost a year now and I'd really like > help fixing it. My system only has USB ports and no ps/2 for a keyboard. I'm > running FreeBSD 9 with an encrypted GELI container for the whole system. The > kernel resides on a USB key and with 8.1 - 9.0 I was able to enter the GELI > password using a USB keyboard at the GELI prompt during booting. Since 9.1 this > is not possible anymore and still isn't with 10.0. The GELI prompt either > doesn't accept any key press or ignores Enter (I can't tell the difference > because the password is not shown). I already looked at the code but could > not find significant changes in ukbd.c or the likes from 9.0 to 9.1. However, > since the GELI code was changed even less I post the question here. Is there > a possibility to get more debug output except for verbose boot? Can I provide > other information to help fix the problem? > > Thanks a lot! > > > > > --- > Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! http://email.freenet.de/basic/Informationen <http://email.freenet.de/basic/Informationen> > _______________________________________________ > freebsd-usb@freebsd.org <mailto:freebsd-usb@freebsd.org> mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb <http://lists.freebsd.org/mailman/listinfo/freebsd-usb> > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org <mailto:freebsd-usb-unsubscribe@freebsd.org> " From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 14:39:38 2014 Return-Path: <owner-freebsd-usb@FreeBSD.ORG> 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 <freebsd-usb@freebsd.org>; 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 <freebsd-usb@freebsd.org>; 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 <hans.petter.selasky@bitfrost.no>, 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 <freebsd-usb.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>, <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb/> List-Post: <mailto:freebsd-usb@freebsd.org> List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>, <mailto:freebsd-usb-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 01 Feb 2014 14:39:38 -0000 SGksDQoNCj4gVGhlIHByb2JsZW0gaXMgbm90IGluIHRoZSBVU0Igc3Vic3lzdGVtLiBMYXN0IHRp bWUgSSBsb29rZWQgaW50bw0KPiB0aGlzLCB0aGUgcHJvYmxlbSB3YXMgdGhhdCBzeXNjb25zIHdh cyBnb2luZyBpbiBhIHRlcnJpYmxlIHBvbGxpbmcNCj4gbG9vcCwgbGVhdmluZyBubyBDUFUgZm9y IG90aGVyIHN1YnN5c3RlbXMuDQo+DQo+IERvZ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