From nobody@FreeBSD.org  Mon Jan 28 17:50:25 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1475616A418
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Jan 2008 17:50:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 047A913C46A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Jan 2008 17:50:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0SHmeEG093013
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Jan 2008 17:48:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0SHmePC093012;
	Mon, 28 Jan 2008 17:48:40 GMT
	(envelope-from nobody)
Message-Id: <200801281748.m0SHmePC093012@www.freebsd.org>
Date: Mon, 28 Jan 2008 17:48:40 GMT
From: Yoshihiro Ota <ota@j.email.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [geli] geli boot password input fails when using usb keyboard
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120090
>Category:       kern
>Synopsis:       [geli] geli boot password input fails when using usb keyboard
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 28 18:00:01 UTC 2008
>Closed-Date:    Thu Apr 21 19:13:58 UTC 2011
>Last-Modified:  Thu Apr 21 19:13:58 UTC 2011
>Originator:     Yoshihiro Ota
>Release:        7.0-RC1
>Organization:
>Environment:
It happened 7.0-RC1 on i386 with GENERIC kernel from around 1/18/2008.
>Description:
The symptom is very similar to http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120066.

In my case, keyboard on a laptop computer is broken so that I had to connect usb keyboard to use it.

GELI password is prompted before USB keyboard is activated by the kernel.

This problem happend one of my laptop computer while using USB-HDD and USB-Keyboard.  However, when I attempted to reproduce the same error on another laptop with internal-HDD and USB-Keyboard, this problem didn't happen.  This problem may involve some hardware configuration, too.

>How-To-Repeat:
Create a geli partition to be mounted at boot time and use USB keyboard
>Fix:


>Release-Note:
>Audit-Trail:

From: Hannes Mehnert <hannes@mehnert.org>
To: bug-followup@FreeBSD.org, ota@j.email.ne.jp
Cc:  
Subject: Re: kern/120090: [geli] geli boot password input fails when using
 usb keyboard
Date: Sun, 14 Dec 2008 01:32:41 +0000

 I have the same problem, but it is even more curious:
 
 Using a FreeBSD/amd64 system, sometimes the USB keyboard is probed and
 detected before the geli passphrase prompt, so I can enter the
 passphrase (~ 1/3 of all boots).
 
 Using a FreeBSD/x86 system, sometimes the USB keyboard is probed before
 geli passphrase prompt, but it is never enabled, so I can't enter the
 passphrase (and thus not boot the 32bit system).
 
 Both kernels are FreeBSD-7.1 PRERELEASE kernels.
 
 I also tried to call kthread_suspend_check(curproc) in g_eli.c multiple
 times, just before the keyboard is requested for the passphrase; but
 this didn't help.
 
 Also, I tried to remove the #if 0 from ukbd_configure (dev/usb/ukbd.c),
 but this didn't help either.

From: Yoshihiro Ota <ota@j.email.ne.jp>
To: bug-followup@FreeBSD.org
Cc: hannes@mehnert.org
Subject: Re: kern/120090: [geli] geli boot password input fails when using
 usb keyboard
Date: Fri, 6 Feb 2009 01:37:06 -0500

 These days, probably since summer of 2008 on 7.0-STABLE to 7.1-RELEASE,
 USB keyboard is detected fine such that I can enter password from USB
 keyboard.
 
 I am using a different PC at this moment than when I reported.  I could
 try the old PC to see what happens, if time permits.
 
 In fact, even if I connect while geli is waiting for password, keyboard
 is detected and, hence, I can enter a password from USB keyboard.
 
 Regards,
 Hiro
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Fri Mar 4 16:05:18 UTC 2011 
State-Changed-Why:  
Can you still reproduce this on a supported release? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120090 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Thu Apr 21 19:13:57 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120090 
>Unformatted:
