kern/157074: vfs_mountroot_ask is called when no usb keyboard is initialized

Dmitry Kazarov hanabana at mail.ru
Sun May 15 19:40:09 UTC 2011


>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 at 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: <Microsoft> at usbus2
ukbd0: <Microsoft Comfort Curve Keyboard 2000, class 0/0, rev 2.00/1.73, addr 2> on usbus2
kbd2 at ukbd0
kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000
uhid0: <Microsoft Comfort Curve Keyboard 2000, class 0/0, rev 2.00/1.73, addr 2> on usbus2
ugen2.3: <Microsoft> 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:


More information about the freebsd-bugs mailing list