Bug 156898 - [keyboard] usb keyboard does not work while boot (ps2 keyboard works perfect)
Summary: [keyboard] usb keyboard does not work while boot (ps2 keyboard works perfect)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
Depends on:
Reported: 2011-05-09 07:30 UTC by igor.polovykh
Modified: 2018-01-03 05:12 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description igor.polovykh 2011-05-09 07:30:16 UTC
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:



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.
How-To-Repeat: 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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-05-10 20:19:26 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-usb

Over to maintainer(s).
Comment 2 fullermd 2012-08-18 14:26:35 UTC
See also usb/133989
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:59 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped