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 288891 Details for
Bug 396631
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 146:726cd201f4cd ported to 2.6.9-67.EL
linux-2.6.18-xen-146-726cd201f4cd (text/plain), 2.00 KB, created by
Ian Campbell
on 2007-12-14 09:25:59 UTC
(
hide
)
Description:
linux-2.6.18-xen 146:726cd201f4cd ported to 2.6.9-67.EL
Filename:
MIME Type:
Creator:
Ian Campbell
Created:
2007-12-14 09:25:59 UTC
Size:
2.00 KB
patch
obsolete
># HG changeset patch ># User kfraser@localhost.localdomain ># Date 1185366573 -3600 ># Node ID 726cd201f4cde2be30657ee8690bc8e47260eb6a ># Parent 3b0bce92b2f254242c785d2662776e04a0817301 >xenbus: Improvements to wait_for_devices(). > 1. When printing a warning about a timed-out device, print the > current state of both ends of the device connection (i.e., backend as > well as frontend). > 2. A device is 'not yet connected' only when the local state is *less > than* XenbusStateConnected. If the state is Closing or Closed > (usually because of an explicit failure when trying to make the > connection) then we should not wait for the connection to occur -- it > will never happen! > >Signed-off-by: Keir Fraser <keir@xensource.com> >linux-2.6.18-xen changeset: 146:726cd201f4cde2be30657ee8690bc8e47260eb6a >linux-2.6.18-xen date: Wed Jul 25 13:29:33 2007 +0100 > >diff -r 3b0bce92b2f2 -r 726cd201f4cd drivers/xen/xenbus/xenbus_probe.c >--- a/drivers/xen/xenbus/xenbus_probe.c Tue Jul 24 17:09:09 2007 +0100 >+++ b/drivers/xen/xenbus/xenbus_probe.c Wed Jul 25 13:29:33 2007 +0100 >@@ -1034,7 +1034,7 @@ static int is_disconnected_device(struct > return 0; > > xendrv = to_xenbus_driver(dev->driver); >- return (xendev->state != XenbusStateConnected || >+ return (xendev->state < XenbusStateConnected || > (xendrv->is_ready && !xendrv->is_ready(xendev))); > } > >@@ -1059,10 +1059,13 @@ static int print_device_status(struct de > /* Information only: is this too noisy? */ > printk(KERN_INFO "XENBUS: Device with no driver: %s\n", > xendev->nodename); >- } else if (xendev->state != XenbusStateConnected) { >+ } else if (xendev->state < XenbusStateConnected) { >+ enum xenbus_state rstate = XenbusStateUnknown; >+ if (xendev->otherend) >+ rstate = xenbus_read_driver_state(xendev->otherend); > printk(KERN_WARNING "XENBUS: Timeout connecting " >- "to device: %s (state %d)\n", >- xendev->nodename, xendev->state); >+ "to device: %s (local state %d, remote state %d)\n", >+ xendev->nodename, xendev->state, rstate); > } > > return 0;
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 396631
:
288881
|
288891
|
288901
|
350208
|
350209