summaryrefslogtreecommitdiff
path: root/lib/prio_heap.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2013-04-02 13:58:25 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-04-02 18:35:33 (GMT)
commit5e404cd65860d6da7c08362e9e4d0b5dc40a9985 (patch)
treeb778bfa09c5f163f32a1b0bd5a3b225a5fc3bb3b /lib/prio_heap.c
parentf7f22874267bddcf2f2017d5045fdce390aee8c8 (diff)
downloadlinux-5e404cd65860d6da7c08362e9e4d0b5dc40a9985.tar.xz
ipconfig: add informative timeout messages while waiting for carrier
Commit 3fb72f1e6e6165c5f495e8dc11c5bbd14c73385c ("ipconfig wait for carrier") added a "wait for carrier on at least one interface" policy, with a worst case maximum wait of two minutes. However, if you encounter this, you won't get any feedback from the console as to the nature of what is going on. You just see the booting process hang for two minutes and then continue. Here we add a message so the user knows what is going on, and hence can take action to rectify the situation (e.g. fix network cable or whatever.) After the 1st 10s pause, output now begins that looks like this: Waiting up to 110 more seconds for network. Waiting up to 100 more seconds for network. Waiting up to 90 more seconds for network. Waiting up to 80 more seconds for network. ... Since most systems will have no problem getting link/carrier in the 1st 10s, the only people who will see these messages are people with genuine issues that need to be resolved. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/prio_heap.c')
0 files changed, 0 insertions, 0 deletions