[ewg] OFED-3.5.2-daily does not work properly on latest RHEL6.4 kernel.

Rupert Dance rsdance at soft-forge.com
Tue Aug 20 03:28:19 PDT 2013


Hello Sato-San,

Bug 2436 http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2436 has now
been resolved and the fix is available in the latest daily build. Please try
this and let us know if it resolves your problem.

http://www.openfabrics.org/downloads/OFED/ofed-3.5-2-daily/OFED-3.5-2-201308
19-0655.tgz

Thank you,

Rupert

-----Original Message-----
From: ewg-bounces at lists.openfabrics.org
[mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Hiroyuki Sato
Sent: Sunday, August 18, 2013 7:41 PM
To: Shuichi Ihara
Cc: ewg
Subject: Re: [ewg] OFED-3.5.2-daily does not work properly on latest RHEL6.4
kernel.

Hello Ihara-san.

Thank you for your reply.

I'll check bugzilla at next time.

By the way, could you please tell me how to re-compile it?
I would like to know easiest way to rebuild it.

I've found same issue on Bugzilla.

http://bugs.openfabrics.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_
status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&content=&product=&query_f
ormat=specific&order=bug_id%20DESC&query_based_on=

I think it is better than your fix.
Because I think __pskb_copy does not use before 2.6.32-358.10.1.el6.
http://kernel.opensuse.org/cgit/kernel/commit/?id=117632e64d2a5f464e491fe221
d7169a3814a77b

1, Whether __pskb_copy declared or not in kernel.
  ex) grep -q '\<__pskb_copy\>' /boot/System.map-`uname -r`

2, If declared __pskb_copy define a macro CONFIG_COMPAT_HAS___PSKB_COPY

3, Add ifdef CONFIG_COMPAT_HAS___PSKB_COPY at same place which you added.

Best regards.

--
Hiroyuki Sato.


2013/8/19 Shuichi Ihara <sihara at ddn.com>:
> A similar issue was reported. 
> http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2436
> As a quick workaround, I just filed a patch on bz2436 only for the latest
RHEL6.4.
> This should work, but more proper fixes are needed since this kernel
changes happened in delta of kernel updates in RHEL6.4.
>
> Thanks
> Ihara
>
> On Aug 18, 2013, at 9:22 PM, Hiroyuki Sato <hiroysato at gmail.com> wrote:
>
>> Dear members.
>>
>> OFED-3.5.2-daily does not work properly on latest RHEL6.4 kernel.
>>
>> I get the following error when I execute 'service openibd start' on 
>> Scientific Linux 6.4 (kernel: 2.6.32-358.14.1.el6.x86_64)
>>
>>    compat: exports duplicate symbol __pskb_copy (owned by kernel)
>>    compat: exports duplicate symbol __pskb_copy (owned by kernel)
>>    compat: exports duplicate symbol __pskb_copy (owned by kernel)
>>
>>    compat: exports duplicate symbol __pskb_copy (owned by kernel)
>>
>>
>> I found about an article and a patch for this problem.
>>  http://community.mellanox.com/thread/1228
>>  
>> http://community.mellanox.com/servlet/JiveServlet/download/2333-1858/
>> mlnx-ofed-pskb-copy.diff.zip
>>
>> This is a patch for Mellanox OFED.2.0, but this is also useful for 
>> OFED-3.5.2
>>
>> This is because "tcp: take care of misalignments" patch use 
>> __pskb_copy funciton.
>>
>>  This patch was applyed on 2.6.32-358.10.1.el6
>>
>>    * Mon May 13 2013 Nikola Pajkovsky <npajkovs at redhat.com> 
>> [2.6.32-358.10.1.el6]
>>    ...
>>    - [net] tcp: take care of misalignments (Thomas Graf) [954298 
>> 896233]
>>
>> By the way, Does anyone point me how to make rpm package for compat-rdma?
>> Or how to compile compat-ofed from git source.
>>
>> I'll make a patch for this problem.
>>
>> Sincerely.
>>
>>
>> --
>> Hiroyuki Sato
>> _______________________________________________
>> ewg mailing list
>> ewg at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>



--
Hiroyuki Sato
_______________________________________________
ewg mailing list
ewg at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg





More information about the ewg mailing list