Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 242863

Summary: A warning message(invalid IRQ. Check vendor BIOS) is displayed by PCI express port.
Product: Red Hat Enterprise Linux 5 Reporter: Haruo Tomita <haruo.tomita>
Component: kernelAssignee: Prarit Bhargava <prarit>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: low    
Version: 5.0CC: jarod
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-12 15:34:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg of 2.6.18-8.1.3.el5
none
[PATCH] fix invalid IRQ. Check vendor BIOS none

Description Haruo Tomita 2007-06-06 05:16:12 UTC
Description of problem:
The following warning messages on some PCI Express ports.

pcie_portdrv_probe->Dev[2601:8086] has invalid IRQ. Check vendor BIOS

Version-Release number of selected component (if applicable):
2.6.18-8.1.4.el5

How reproducible:
EL5 is booted.

Steps to Reproduce:
1. EL5 is booted.
2.
3.
  
Actual results:
A warning message is displayed by PCI express port.

Expected results:
A warning message is not displayed.

Additional info:

Comment 1 Haruo Tomita 2007-06-06 05:24:51 UTC
Created attachment 156315 [details]
dmesg of 2.6.18-8.1.3.el5

Comment 2 Haruo Tomita 2007-06-06 05:31:56 UTC
This issue is already fixed by the upstream.

http://lkml.org/lkml/2006/12/6/102
http://lkml.org/lkml/2007/3/23/136

The patch for el5 is as follows.

 portdrv_pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -urpN linux-2.6.18-8.1.4.el5.orig/drivers/pci/pcie/portdrv_pci.c linux-
2.6.18-8.1.4.el5/drivers/pci/pcie/portdrv_pci.c
--- linux-2.6.18-8.1.4.el5.orig/drivers/pci/pcie/portdrv_pci.c	2006-09-20 
12:42:06.000000000 +0900
+++ linux-2.6.18-8.1.4.el5/drivers/pci/pcie/portdrv_pci.c	2007-06-06 
13:26:04.000000000 +0900
@@ -51,10 +51,10 @@ static int __devinit pcie_portdrv_probe 
 		return -ENODEV;
 	
 	pci_set_master(dev);
-        if (!dev->irq) {
+        if (!dev->irq && dev->pin) {
 		printk(KERN_WARNING 
 		"%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n", 
-		__FUNCTION__, dev->device, dev->vendor);
+		__FUNCTION__, dev->vendor, dev->device);
 	}
 	if (pcie_port_device_register(dev)) {
 		pci_disable_device(dev);



Comment 3 Haruo Tomita 2007-06-06 05:34:43 UTC
Created attachment 156316 [details]
[PATCH] fix invalid IRQ. Check vendor BIOS