amd64/156898: usb keyboard does not work while boot (ps2 keyboard works perfect)

Igor Polovykh Igor.Polovykh at
Mon May 9 06:30:18 UTC 2011

>Number:         156898
>Category:       amd64
>Synopsis:       usb keyboard does not work while boot (ps2 keyboard works perfect)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 09 06:30:16 UTC 2011
>Originator:     Igor Polovykh
>Release:        8.2
BVG Studio
[ip@?????.org /]$ uname -a
FreeBSD 8.2-STABLE FreeBSD 8.2-STABLE #15: Thu Apr 28 01:40:03 MSD 2011     root@:/usr/src/sys/amd64/compile/BVGM  amd64

when /etc/fstab file is corrupt and we can not boot normally. We get this error and cannot use usb keyboard to make something.

Root mount waiting for: usbus1
Trying to mount root from ufs:/dev/ad4s1a
If you have invalid mount options, reboot, and first try the following from the loader prompt:

     set vfs.root.mountfrom.options=rw

and then remove invalid mount options from /etc/fstab.

Loader variables:


1. attach usb keyboard to PC.
2. make corrupt file /etc/fstab to stop normal mounting from root partition (example change filesystem type from UFS to UFS2)
3. When you try to boot you won't be able to use usb keyboard to point right partition to mount (ps2 keyboard works ok). You'll see the message like noted in Full Description section. 

I think the code that support usb keyboard have to load first.
I guess there is some workaround but i am not so smart in FreeBSD boot loader to find it.
Perhaps this is a right behavior of boot loader ( by designed :), i do not know.


More information about the freebsd-amd64 mailing list