Bug 121339
Summary: | [PATCH] Support multiple IO port spaces (for multiple IO chassis) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Bjorn Helgaas <bjorn.helgaas> | ||||||
Component: | kernel | Assignee: | Larry Woodman <lwoodman> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | CC: | charline.polifka, petrides, rick.hester, riel, sharon.smith, tao, tim.chambers | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | ia64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-09-02 04:31:22 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 116727 | ||||||||
Attachments: |
|
Description
Bjorn Helgaas
2004-04-20 16:12:16 UTC
Created attachment 99565 [details]
add the missing IO port space support
I used spec changes like this:
--- SPECS/kernel-2.4.spec.orig 2004-03-08 17:36:53.000000000 -0700
+++ SPECS/kernel-2.4.spec 2004-04-19 16:40:54.000000000 -0600
@@ -19,7 +19,7 @@
# that the kernel isn't the stock RHL kernel, for example by
# adding some text to the end of the version number.
#
-%define release 11.EL
+%define release 11.EL.BH1
%define sublevel 21
%define kversion 2.4.%{sublevel}
# /usr/src/%{kslnk} -> /usr/src/linux-%{KVERREL}
@@ -232,6 +232,7 @@
Patch274: linux-2.4.20-ia64-mcadump.patch
Patch276: linux-2.4.21-ia64-fancyiommu.patch
Patch278: linux-2.4.21-ia64-cyclone.patch
+Patch280: linux-2.4.21-ia64-ioport.patch
# PPC is 340 - 419
Patch340: linux-2.4.21-ppc64-core.patch
@@ -759,6 +760,8 @@
%patch276 -p1
# cyclone timer support
%patch278 -p1
+# multiple I/O port space support
+%patch280 -p1
# s390 s390x
I have tested this patch out and verified that it works OK and doesnt break the kernel ABI. However, we need to change it so that the output of /proc/ioports is not altered because that might break utilities that read that file, Bjorn agreed to include a new patch that does this. Once that is done we will include it in RHEL3-U3, it is too late for U2. Larry Woodman Created attachment 99964 [details]
Updated patch (no root bridge regions in /proc/io{mem,ports})
Here's the updated patch that doesn't put root bridge
regions in /proc/iomem and /proc/ioports.
A fix for this problem has been committed to the RHEL3 U3 patch pool this evening (in kernel version 2.4.21-15.6.EL). HP, can you confirm that the latest U3-candidate kernel resolves the issues you were seeing? weekly rhel meeting jneedle "this is absolutely not a stop-ship in my mind" I configured a Superdome to try to reproduce this bug using RHEL3u3 public beta (our beta 2) with the 2.4.21-18.EL kernel: -------------------------------+ Cabinet | 0 | 1 | -------------+--------+--------+ Slot |01234567|01234567| -------------+--------+--------+ Partition 0 |X.....X.|........| Partition 1 |....X...|........| Partition 2 |.XX.....|........| Partition 3 |.....X..|........| Partition 4 |...X...X|........| --------------------------+ Cabinet | 0 | 1 | --------+--------+--------+ Slot |01234567|01234567| --------+--------+--------+ Cell |XXXXXXXX|........| IO Cab |008800..|........| IO Bay |100010..|........| IO Chas |311313..|........| I installed the OS on Partition 2, which you can see has 2 IO bays. I put a fibre channel card in cabinet 1, chassis 1 and a 4-port tulip in cabinet 8 (our IOX), chassis 1. Sharon Smith ran some tests. It looks like the bug is fixed. Her results will follow. After checking the configuration, I ran /proc/ioports again to ck the fix. Here's the info: cat /proc/ioports 00000d00-00000d7f : tulip 00001000-000010ff : sym53c8xx 00003000-000030ff : qla2300 00003100-000031ff : qla2300 01000d00-01000d7f : tulip 01001000-010010ff : sym53c8xx 01002000-0100207f : tulip 01002080-010020ff : tulip 01002100-0100217f : tulip 01002180-010021ff : tulip 01008000-010080ff : sym53c8xx 0100b000-0100b0ff : sym53c8xx ~Sharon An errata 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 the 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/RHBA-2004-433.html |