From owner-freebsd-stable@FreeBSD.ORG Tue May 2 17:52:40 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5873016A5C6 for ; Tue, 2 May 2006 17:52:40 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 192C043DB1 for ; Tue, 2 May 2006 17:52:16 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so3147655pyc for ; Tue, 02 May 2006 10:52:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Rmh0gsyypAsoI1GwqAjjN2tHUtzyHec6RoUD0/QsY4kWPHf2BeRz7PINJK8h68e3RLpazlmZe0JL4cFV5F6Qm2qYi/VeEl04miMeKWyN6UWgxL7EGvqjHxh781CrZLZ9V5Ks7DlOq6QmJa8rvgP3cfgZeNILQn67kSIydSaV34M= Received: by 10.35.119.11 with SMTP id w11mr1356038pym; Tue, 02 May 2006 10:52:00 -0700 (PDT) Received: by 10.35.57.2 with HTTP; Tue, 2 May 2006 10:52:00 -0700 (PDT) Message-ID: Date: Tue, 2 May 2006 10:52:00 -0700 From: "Maksim Yevmenkin" To: "Anders Nordby" In-Reply-To: <20060502173656.GA2335@totem.fix.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060502173656.GA2335@totem.fix.no> Cc: Maksim Yevmenkin , stable@freebsd.org, Pawel Jakub Dawidek Subject: Re: geom_eli and kbdmux, enemies? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 17:52:49 -0000 Anders, > Just upgraded 6.1-RC2 on my laptop. Having kbdmux now enabled by > default, I was completely unable to boot due to having a geom eli > encrypted filesystem. My encrypted filesystem was initialized with the > geli -b option, to have the kernel ask for passphrase upon boot. > > I have tried using geom_eli as a kernel module and having it included in > the kernel. If combined with kbdmux, geom_eli fails to read the > passphrase from the keyboard. Nothing happens. I have to turn off the > laptop, and use a live CD to rescue the system. > > By using geli_devices in rc.conf, and having the geli rc script attach > my encrypted filesystem, I can type the passphrase just fine. But then > it's a userland program asking for it. > > I can live with that, but I take it this is a bug that should be fixed? > Should be fixed before 6.1 is out the door? known problem. as workaround you may use usb (ukbd(4)) keyboard. so far i have traced this back to atkbd(4) driver now working very well in "polled" mode. basically, when system boots (or drops into ddb(4)) interrupts are "disabled" and atkbd(4) should operate in "polled" mode. kbdmux(4) + ukbd(4) seems to work just fine, kbdmux(4) + atkbd(4) is not. it may or may not be kbdmux(4) problem, but on thing for sure - kbdmux(4) makes this problem appear. i'm working on the fix, but i cannot give you eta yet. thanks, max