Wait for all-device probe to complete before mounting root
Is there a way to mute the message (screenshot provided) during installation of the latest version of FreeNAS (FreeNAS 11.2-INTERNAL7)
#2 Updated by Alexander Motin almost 3 years ago
That message is a regular device detection message, possibly some USB detection takes too long time. I am not sure we can block that, at least I don't know how right now. If we wait a bit more during boot, it may not be a problem, but that is also a high-cost workaround, not a fix.
#4 Updated by Alexander Motin almost 3 years ago
What we need here is estimate minimal value of kern.cam.boot_delay loader tunable, sufficient to make USB devices complete probing before the root mounting attempt. Right now we have it set to 30000 milliseconds for FreeNAS normal boot, and 10000 milliseconds for TrueNAS normal boot, and no values set for installer. But those values, especially FreeNAS one, are pretty high, and I'd really like them to be lower.
Bonnie, could you experiment with that on different systems with different USB devices plugged in, doing different `set kern.cam.boot_delay=XXXXXX` in loader prompt and checking that no USB devices are reported in `dmesg` after the root mount or root mount waiting line? I could just blindly add 5-10 seconds wait there for installer, but would prefer to have any real input there.