Created attachment 363850 [details] RHEL5 fix for this issue Description of problem: pci_dev->is_enabled is not set in RHEL5.4. This may cause some devices suspend/resume to fail. Version-Release number of selected component (if applicable): 2.6.18-164.el5 How reproducible: 100% Additional info: We haven't seen a problem, but the variable needs to be set in order for code to work properly.
Created attachment 363851 [details] RHEL5 fix for this issue
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
in kernel-2.6.18-170.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Please do NOT transition this bugzilla state to VERIFIED until our QE team has sent specific instructions indicating when to do so. However feel free to provide a comment indicating that this fix has been verified.
drivers/pci/pci.c on 2.6.18-192.el5: 710 if (dev->is_enabled) 711 return 0; /* already enabled */ 712 713 for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) 714 if (dev->resource[i].flags & flags) 715 bars |= (1 << i); On 2.6.18-192.el5: 710 if (dev->is_enabled) 711 return 0; /* already enabled */ 712 713 dev->is_enabled = 1; <-------------- here it is 714 715 for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) 716 if (dev->resource[i].flags & flags) 717 bars |= (1 << i);
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0178.html