Avoiding the wait for root mount
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jan 2024 18:02:14 UTC
I am trying to find a good balance between avoiding the "Root mount waiting for: usbus0" during boot and allowing the keyrate to be set. During boot, "Root mount waiting for: usbus0" can take quite awhile as it looks like it is looking at each USB port--this motherboard has a lot of them--in serial. There are 26 of these messages. It would be great to have the boot go faster, especially when trying to change BIOS settings that require a lot of boots. While I can set hw.usb.no_boot_wait="1" in loader.conf to skip this issue, it seems to expose a race condition with when keyrate="fast" is set via rc.conf. I suspect that keyrate is being set before the keyboard is fully operation. The USB wait is delaying things long enough for keyrate to take effect. Holding the hjkl keys in vi is painfully slow in the console without the keyrate being set. Does anyone have any suggestions? I am currently opting for the longer boot, so I can have a faster vi experience. Setting keyrate after boot is also an option, yet it would be nice to fix the rc sequence issue, if there is one, to have keyrate wait until the keyboard is awake. Sean -- scf@FreeBSD.org