From owner-freebsd-current@FreeBSD.ORG Sun Dec 11 22:06:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E115106564A for ; Sun, 11 Dec 2011 22:06:41 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 318A78FC12 for ; Sun, 11 Dec 2011 22:06:40 +0000 (UTC) Received: by ggnp1 with SMTP id p1so6595136ggn.13 for ; Sun, 11 Dec 2011 14:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H1BTTpAmPL4oyToD3XMZRRQfD2DN9q62C8+r5096wq8=; b=Pxs8YByTbyk6sxnALIuZ7k2mlvb65aBjW8nSwmq1gswveZajYjQGOG3pjrof6u5yw8 TccOgG4oxLQpXCTco3Ng/dJm5ggDRA8M6iN7900FKZdMB27BzTQbgUPfskZDeaqFYR1r jXCp/3Wh/sgLgXmf2sOrgXEusozvz5a4lqLgo= MIME-Version: 1.0 Received: by 10.182.45.102 with SMTP id l6mr2360101obm.0.1323641200271; Sun, 11 Dec 2011 14:06:40 -0800 (PST) Received: by 10.182.36.133 with HTTP; Sun, 11 Dec 2011 14:06:40 -0800 (PST) In-Reply-To: <4EE52469.3050201@FreeBSD.org> References: <4EE52469.3050201@FreeBSD.org> Date: Mon, 12 Dec 2011 00:06:40 +0200 Message-ID: From: Alexander Yerenkow To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: arch@freebsd.org, FreeBSD current Subject: Re: grabbing console (syscons) in kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 22:06:41 -0000 2011/12/11 Andriy Gapon > > There are a few cases when the kernel needs to interact with a user via > syscons. > This is the cases where the kernel not only spews some output but also > expects > some input. Some examples are: > - asking for a root filesystem specification > - entering ddb > - asking to press a key for reboot > > In this cases the kernel implicitly grabs the console for its own use. > I'd like to make action more explicit. > > What do you think about the approach and implementation in the following > patches? > Thank you! > > > https://gitorious.org/~avg/freebsd/avgbsd/commit/5248b49ebf84d98a0597fa5aa4d813a38f581acc > > https://gitorious.org/~avg/freebsd/avgbsd/commit/a0849c52242378474bb2eaa41726376fbc4c5bf6 > > https://gitorious.org/~avg/freebsd/avgbsd/commit/a67515cbd720b16f03ba435ed182966a8a338b15 > > https://gitorious.org/~avg/freebsd/avgbsd/commit/b8864b68b4c0e26ece065a38301c305833be32eb > > https://gitorious.org/~avg/freebsd/avgbsd/commit/1017ae425d8abecd7482bd6c6deaaf9f25f5c6cd > > P.S. one of the benefits is that a keyboard is put into and out of the > polling > mode before getting all the required input and after that; not around each > character as it is done now in rather twisted way. > Does asking for geli password is such case too? For example, I have mouse, which can disappear/reappear while laying still; and when geli asks password, ums0 connect message can appear, which moves line "Please enter geli password..." to top, and it can be missed; This behavior somehow change? > > -- > Andriy Gapon > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Regards, Alexander Yerenkow