From owner-freebsd-bugs@FreeBSD.ORG Sun May 15 19:40:08 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE89F1065670 for ; Sun, 15 May 2011 19:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B1D278FC17 for ; Sun, 15 May 2011 19:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4FJe8QZ084120 for ; Sun, 15 May 2011 19:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4FJe8YN084119; Sun, 15 May 2011 19:40:08 GMT (envelope-from gnats) Resent-Date: Sun, 15 May 2011 19:40:08 GMT Resent-Message-Id: <201105151940.p4FJe8YN084119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Kazarov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F0D106566B for ; Sun, 15 May 2011 19:36:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C21AF8FC12 for ; Sun, 15 May 2011 19:36:56 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4FJaucm003402 for ; Sun, 15 May 2011 19:36:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4FJauQt003401; Sun, 15 May 2011 19:36:56 GMT (envelope-from nobody) Message-Id: <201105151936.p4FJauQt003401@red.freebsd.org> Date: Sun, 15 May 2011 19:36:56 GMT From: Dmitry Kazarov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/157074: vfs_mountroot_ask is called when no usb keyboard is initialized X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2011 19:40:09 -0000 >Number: 157074 >Category: kern >Synopsis: vfs_mountroot_ask is called when no usb keyboard is initialized >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 15 19:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dmitry Kazarov >Release: FreeBSD 8.2-STABLE >Organization: >Environment: FreeBSD Trudiaga.localdomain 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 15 04:04:48 MSD 2011 root@Trudiaga.localdomain:/var/obj/usr/src/sys/GENERIC i386 >Description: When kernel can not locate root filesystem it asks user to input filesystem specification. But no USB keyboards are initialized at that moment. And user is not capable to fix problem unless he have an AT keyboard. This is a part of dmesg of normal boot process. start_init functions calls vfs_mountroot right before searching for the "init" executable.In case of unavailability of root system vfs_mountroot_ask is called from vfs_mountroot. And usb keyboard stays uninitialized. Trying to mount root from ufs:/dev/ad6p3.journal start_init: trying /sbin/init ugen2.2: at usbus2 ukbd0: on usbus2 kbd2 at ukbd0 kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000 uhid0: on usbus2 ugen2.3: at usbus2 >How-To-Repeat: Comment out or spoil the line of /etc/fstab specifying a root filesystem. Reboot system. Try to use usb keyboard to fix problem. >Fix: >Release-Note: >Audit-Trail: >Unformatted: