Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 288851 Details for
Bug 396621
Increase timeout for device connection on boot
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
linux-2.6.18-xen 144:d88e59a7334a ported to 2.6.18-53.el5
linux-2.6.18-xen-144-d88e59a7334a (text/plain), 2.01 KB, created by
Ian Campbell
on 2007-12-14 09:23:27 UTC
(
hide
)
Description:
linux-2.6.18-xen 144:d88e59a7334a ported to 2.6.18-53.el5
Filename:
MIME Type:
Creator:
Ian Campbell
Created:
2007-12-14 09:23:27 UTC
Size:
2.01 KB
patch
obsolete
># HG changeset patch ># User kfraser@localhost.localdomain ># Date 1185266340 -3600 ># Node ID d88e59a7334ae584900a9f7221d494bcd9ef2a63 ># Parent c68699484a654681a2912e70411286f13119c01f >xenbus: Wait for 30s for devices to connect (previously 10s). >Give a visual update to the user on the console every 5s during this >period. >Signed-off-by: Keir Fraser <keir@xensource.com> >linux-2.6.18-xen changeset: 144:d88e59a7334ae584900a9f7221d494bcd9ef2a63 >linux-2.6.18-xen date: Tue Jul 24 09:39:00 2007 +0100 > >diff -r c68699484a65 -r d88e59a7334a drivers/xen/xenbus/xenbus_probe.c >--- a/drivers/xen/xenbus/xenbus_probe.c Thu Jul 19 13:28:14 2007 +0100 >+++ b/drivers/xen/xenbus/xenbus_probe.c Tue Jul 24 09:39:00 2007 +0100 >@@ -1072,7 +1072,7 @@ static int ready_to_wait_for_devices; > static int ready_to_wait_for_devices; > > /* >- * On a 10 second timeout, wait for all devices currently configured. We need >+ * On a 30-second timeout, wait for all devices currently configured. We need > * to do this to guarantee that the filesystems and / or network devices > * needed for boot are available, before we can allow the boot to proceed. > * >@@ -1087,17 +1087,29 @@ static int ready_to_wait_for_devices; > */ > static void wait_for_devices(struct xenbus_driver *xendrv) > { >- unsigned long timeout = jiffies + 10*HZ; >+ unsigned long start = jiffies; > struct device_driver *drv = xendrv ? &xendrv->driver : NULL; >+ unsigned int seconds_waited = 0; > > if (!ready_to_wait_for_devices || !is_running_on_xen()) > return; > > while (exists_disconnected_device(drv)) { >- if (time_after(jiffies, timeout)) >- break; >+ if (time_after(jiffies, start + (seconds_waited+5)*HZ)) { >+ if (!seconds_waited) >+ printk(KERN_WARNING "XENBUS: Waiting for " >+ "devices to initialise: "); >+ seconds_waited += 5; >+ printk("%us...", 30 - seconds_waited); >+ if (seconds_waited == 30) >+ break; >+ } >+ > schedule_timeout_interruptible(HZ/10); > } >+ >+ if (seconds_waited) >+ printk("\n"); > > bus_for_each_dev(&xenbus_frontend.bus, NULL, drv, > print_device_status);
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 396621
:
288851
|
288861
|
288871
|
332714
|
332715
|
332731
|
333643
|
333644