From owner-freebsd-current@FreeBSD.ORG Mon Aug 31 08:54:12 2009 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 2FC1F1065676 for ; Mon, 31 Aug 2009 08:54:12 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 7992E8FC0A for ; Mon, 31 Aug 2009 08:54:11 +0000 (UTC) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id n7V8s3HK016442; Mon, 31 Aug 2009 09:54:03 +0100 (BST) Received: from ury.york.ac.uk ([144.32.108.81]) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Mi2eJ-00046Y-JP; Mon, 31 Aug 2009 09:54:03 +0100 Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.14.3/8.14.3) with ESMTP id n7V8s3SV032046; Mon, 31 Aug 2009 09:54:03 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.14.3/8.14.3/Submit) with ESMTP id n7V8s2LT032043; Mon, 31 Aug 2009 09:54:03 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Mon, 31 Aug 2009 09:54:02 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Ed Schouten In-Reply-To: <20090826195407.GW2829@hoeg.nl> Message-ID: <20090831094627.L24691@ury.york.ac.uk> References: <4A9571EB.7090209@fsu.edu> <20090826195407.GW2829@hoeg.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-current@FreeBSD.org, Nathan Lay Subject: First keypresses after boot being discarded 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: Mon, 31 Aug 2009 08:54:12 -0000 (Thread hijacked, subject changed) On Wed, 26 Aug 2009, Ed Schouten wrote: > People also reported issues to me where the first keypresses after the > system has booted are discarded. I have yet to be convinced this is a > TTY issue, not the keyboard code, interrupt handling, etc. I've seen this, and might be able to offer some more information. I booted 8.0-BETA2 from the same hard drive install on about 15 machines, and saw this problem on four of them, all identical motherboards. In this setup, I had "-D" in /boot.config "console-comconsole" in /boot/loader/conf ttyu0 enabled in /etc/ttys I was then accessing them over the serial port. When the machine had booted and was showing the "login:" prompt, sometimes input would be ignored from that point, and other times it would allow me to enter "root" but would hang on the enter. Once it had hung, sometimes hammering the keyboard would bring it back, but the only reliable way of getting it to recover was to have the kernel print something out. Luckily, the three LOR's often printed a minute or so after boot would do this, but unplugging/replugging (say) a USB keyboard so that the detection lines were printed would also free things up. I don't know if that gives any clues as to where the problem lies. Gavin