Commit 5d3ac48
authored
minimal-init: Try to load modules for all devices again after a timeout (#114)
Normally it works to do one full module load and then the drive is
detected but in case this takes longer and mdev doesn't do the job of
module loading we can fall back to a full load again to try to progress.
So far we don't know if this helps (it won't for completly missing
kernel modules of course) but it's good to have this done automatically
instead of having to ask users if it helps for them when they hit an
issue.
## How to use
## Testing done
With a wrong verity usr kernel cmdline arg it now prints "Still waiting"
every five seconds.1 file changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
| |||
0 commit comments