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 250496

Summary: eHCA infiniband adapter works only for IPoIB
Product: Red Hat Enterprise Linux 5 Reporter: Scott Moser <smoser>
Component: kernelAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1CC: dzickus
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0959 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 19:57:42 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: 250144    
Bug Blocks: 250497    
Attachments:
Description Flags
ib_ehca_user_space_support_for_rhel5.patch none

Description Scott Moser 2007-08-01 21:58:45 UTC
Description of problem:

The eHCA driver has a problem with mapping userspace resources.  It's nicely
explained in the upstream git submission:
Some drivers have resources that they want to be able to map into
userspace that are 4k in size. On a kernel configured with 64k pages
we currently end up mapping the 4k we want plus another 60k of
physical address space, which could contain anything.  This can
introduce security problems, for example in the case of an infiniband
adaptor where the other 60k could contain registers that some other
program is using for its communications.

This is present in kernel-2.6.18-36.el5

Without these changes the eHEA driver will only function in IPoIB (IP over
Infiniband).  User space applications will fail to run (for example MPI). Its
primary value is thus not usable.

Comment 1 Scott Moser 2007-08-01 21:58:45 UTC
Created attachment 160469 [details]
ib_ehca_user_space_support_for_rhel5.patch

Comment 5 Don Zickus 2007-08-15 19:08:40 UTC
in 2.6.18-40.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 7 Issue Tracker 2007-08-28 18:55:43 UTC
----- Additional Comments From HNGUYEN.com  2007-08-28 13:04 EDT
-------
Downloaded snapshot3 dvd and installed it on our ppc64 system:
[root@idd60 ~]# uname -r
2.6.18-41.el5

Performed following tests:
- kernel space
  * flood ping, ifconfig down/up, rmmod/modprobe
- user space
  * ibv_ud/rc/uc_pingpong, reverse direction, parallel runs
  * ib_rdma/send/read/write_bw/lat

Thus, basically everything runs perfectly so far.
Just wondering if the dvd image above contains any mpi testsuite. If yes,
can
you (someone from RH) tell me the package name to install? I was able to 
install openmpi, but could not find any osu benchmark tests eg osu_bw.
Running such one mpi appl would stress user space much more than the user
space
tools above.
Thanks!
Nam 


This event sent from IssueTracker by jkachuck 
 issue 128280

Comment 9 errata-xmlrpc 2007-11-07 19:57:42 UTC
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 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-2007-0959.html