[openib-general] Problem in patching 2.6.9 kernel

Liang Peng Liang.Peng at Sun.COM
Tue Nov 8 23:01:14 PST 2005


Hi there,

Got some problem in patch 2.6.9 kernel and someone please help me out. 
Thanks.

The details are as follows:

1) I wanted to try OpenIB on our AMD 64 Opteron machines, with 
Cisco/Topspin IB switch and Silverstorm HCA and cables with PCI-X slots.

2) I installed RHEL4U2 with kernel 2.6.9-22ELsmp and am using gcc to 
compile.

3) I downloaded the OpenIB packages from 
http://www.openib.org/downloads.html, which is openib-userspace-svn3279-2.x86_64.rpm <http://openib.org/downloads/openib-userspace-svn3279-2.x86_64.rpm>.
3.5) I am following OpenIB's installation guide at 
https://openib.org/tiki/tiki-index.php?page=Installation+Cheat+Sheet

4) I got the patches from 
https://openib.org/svn/gen2/branches/backport-to-2.6.9/

and got the *svn3279* patches because the OpenIB rpms that I downloaded 
is svn3279.

5) I applied the patches Linux kernel without any problems (at least I 
can't see any problems here).

6) I did "make menuconfig" and selected the corresponding infiniband support modules, 
saved configuration and exited.

7) I tried to add udev rules, but found that the file /etc/udev/udev.rules doesn't 
exist (however the directory /etc/udev exists with rules.d/ and some other subdirectories). 
So I just created a new file /etc/udev/rules.d/90-ib.rules as the installation guide suggests. 

8) The problems occurs when I tried to compile and load the modules:

[root at thebe linux-2.6.9]# make modules
...
  CHK     include/linux/version.h

make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.

  Building modules, stage 2.

  MODPOST

*** Warning: "get_sb_pseudo" [drivers/infiniband/core/ib_uverbs.ko] 
undefined!


[root at thebe linux-2.6.9]# make modules_install

......

if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.9; fi

WARNING: /lib/modules/2.6.9/kernel/drivers/infiniband/core/ib_uverbs.ko 
needs unknown symbol get_sb_pseudo


So the modules cannot be installed and I can't load them with "modprobe"
and it says the module cannot be found.

Can someone point out what I did wrongly? Any hints will be appreciated 
very much.


Regards,
Liang

-- 
Large Scale Computing and Grid Computing
Asia Pacific Science & Technology Center
Sun Microsystems Inc. 
Homepage: http://apstc.sun.com.sg
Email: Liang.Peng at Sun.com
and 
Nanyang Technological University, Singapore
Email: MLPeng at ntu.edu.sg




More information about the general mailing list