Bug #35497
Wait for all-device probe to complete before mounting root
Description
Is there a way to mute the message (screenshot provided) during installation of the latest version of FreeNAS (FreeNAS 11.2-INTERNAL7)
Associated revisions
History
#1
Updated by Dru Lavigne almost 3 years ago
- Assignee changed from William Grzybowski to Alexander Motin
#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.
#3
Updated by Alexander Motin almost 3 years ago
- Status changed from Unscreened to Screened
- Target version changed from Backlog to 11.2-RC2
- Severity changed from New to Low
- Seen in changed from 11.2-RC2 to 11.2-BETA1
I'll probably add some boot delay after beta1 is out to hide those.
#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.
#5
Updated by Dru Lavigne over 2 years ago
- Target version changed from 11.2-RC2 to 11.2-BETA3
#6
Updated by Kris Moore over 2 years ago
- Target version changed from 11.2-BETA3 to Backlog
#8
Updated by Alexander Motin over 2 years ago
- Status changed from Screened to In Progress
- Target version changed from Backlog to 11.2-BETA2
- Needs Doc changed from Yes to No
I think I've found nicer workaround without fixed delay: https://github.com/freenas/build/pull/91
#9
Updated by Alexander Motin over 2 years ago
- Status changed from In Progress to Ready for Testing
#10
Updated by Alexander Motin over 2 years ago
- Needs Merging changed from Yes to No
#11
Updated by Dru Lavigne over 2 years ago
- Subject changed from Can we Mute the uhub0: message when installing using 11.2-INTERNAL7 to Wait for all device probe to complete before mounting root
#12
Updated by Bonnie Follweiler over 2 years ago
- Status changed from Ready for Testing to Passed Testing
Test passed in FreeNAS-11.2-MASTER-201807230852
#13
Updated by Bonnie Follweiler over 2 years ago
- Needs QA changed from Yes to No
#14
Updated by Dru Lavigne over 2 years ago
- Subject changed from Wait for all device probe to complete before mounting root to Wait for all-device probe to complete before mounting root
- Status changed from Passed Testing to Done