Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 434238 Details for
Bug 232733
[NeedPatch] sys-kernel/genkernel: implement rootwait parameter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This adds a loop of up to 3 seconds to wait for the device
linuxrc_wait.patch (text/plain), 931 bytes, created by
John Klug
on 2016-05-14 03:34:27 UTC
(
hide
)
Description:
This adds a loop of up to 3 seconds to wait for the device
Filename:
MIME Type:
Creator:
John Klug
Created:
2016-05-14 03:34:27 UTC
Size:
931 bytes
patch
obsolete
># Root may not be ready when the linuxrc ># script probes for root. This results ># in a wait for input at every boot. ># A return at the prompt is a workaround. ># My system was set to UEFI boot. The ># root drive was drive sdb. The drive was ># an SD card on a USB 3.0 dongle. >diff -u a/linuxrc b/linuxrc >--- a/linuxrc 2016-05-13 17:12:46.604906262 -0500 >+++ b/linuxrc 2016-05-13 17:13:06.100905565 -0500 >@@ -492,6 +492,9 @@ > do > while [ "${got_good_root}" != '1' ] > do >+ COUNTER=0 >+ # Start of sleep loop waiting on root >+ while [ ${COUNTER} -lt 30 -a "${got_good_root}" != '1' ] ; do > case "${REAL_ROOT}" in > LABEL=*|UUID=*) > >@@ -577,6 +580,11 @@ > ;; > esac > >+ if [ "${got_good_root}" != '1' ] ; then >+ let COUNTER=${COUNTER}+1 >+ usleep 100 >+ fi >+ done # End of sleep loop waiting on root > if [ "${REAL_ROOT}" = '' ] > then > # No REAL_ROOT determined/specified. Prompt user for root block device.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232733
: 434238