All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Shvetsov <alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
To: Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: ib_srpt and mellanox mthca device
Date: Thu, 12 Apr 2012 22:02:58 +0300	[thread overview]
Message-ID: <41b9ab2a9c7e7a58c7e7a5b41bf1d9e8@omrb.pnpi.spb.ru> (raw)
In-Reply-To: <CAL1RGDXFVTD88ZF9rWoaDpOU7PuzdPcF7PSP4Ac6icgD=FPQLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Roland!

Also another question. I still cannot create target with targetcli nor 
with configfs. It alays said that wwn is invalid and seems cannot 
register ib device. Can it be related to order of module loading. I have 
this problems both with mlx4 and mthca device. Or may it be related to 
firmware version. Its branded HP devices. Can I use non OEM firmware for 
them?

Roland Dreier писал 2012-04-12 17:46:
> On Thu, Apr 12, 2012 at 2:09 AM, Roland Dreier
> <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org> wrote:
>> Are you sure you're actually loading the patched module?
>> I don't see how it could fail to print something if ib_create_srq()
>> fails.  You could try adding a printk() to the very beginning of
>> srpt_add_one() and making sure that shows up.
>>
>> (That would explain why my first patch didn't fix things for you)
>
> Indeed, I just replicated your problem on my system and confirmed
> that the patch adding "srq_attr.srq_type = IB_SRQT_BASIC" does
> let mthca devices get through srpt_add_one().  I'll get ready to send
> that fix upstream.
>
> It seems quite likely you forgot to install the patched ib_srpt 
> module
> or something similar.
>
> Thanks,
>   Roland

-- 
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
mailto:alexxy-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org
mailto:alexxy-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-04-12 19:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 14:52 ib_srpt and mellanox mthca device Alexey Shvetsov
     [not found] ` <5f95768153388b91a2ffa0cd118d7ad8-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-10 23:09   ` Roland Dreier
     [not found]     ` <CAL1RGDWNqMdQGrXbh2gj==_KvVRF1mUQw2D3NqEhjvuq2q2+6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11  9:21       ` Alexey Shvetsov
     [not found]         ` <97cccba5ba7ddc74e87b0791050fa755-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-11 20:06           ` Roland Dreier
     [not found]             ` <CAL1RGDVbqOQP+AH4f9cs+mEngXVTOy7r7gRjJ=SU_rMmvCg3Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11 20:13               ` Alexey Shvetsov
     [not found]                 ` <fa3a67e9423946c0bbd23abb3f60921a-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-11 22:15                   ` Roland Dreier
     [not found]                     ` <CAL1RGDVn1Roo-KaZW_r_WAQudbEZ2+mXD2RqNS68Rg=UBTRe7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-11 23:21                       ` Alexey Shvetsov
     [not found]                         ` <806c99edea592c69d0aa9073bae2a3b9-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-12  1:24                           ` Roland Dreier
     [not found]                             ` <CAL1RGDXT1gshgxA+c9M==zxarKnjKZtcy4dROtOnKVmc9+u9HQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12  5:52                               ` Alexey Shvetsov
     [not found]                                 ` <2f4564980ae4cdafdc456a8e41b4ab04-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-12  9:09                                   ` Roland Dreier
     [not found]                                     ` <CAL1RGDVh=n5rEB5GqmPaDvuNAKRkoVEro9LYr785zQpz7xR0vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 14:46                                       ` Roland Dreier
     [not found]                                         ` <CAL1RGDXFVTD88ZF9rWoaDpOU7PuzdPcF7PSP4Ac6icgD=FPQLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 18:58                                           ` Alexey Shvetsov
2012-04-12 19:02                                           ` Alexey Shvetsov [this message]
2012-04-12 19:17                                             ` Roland Dreier
     [not found]                                             ` <CAL1RGDVjhpzSDUvkpdkG8u2YPwAWmt_szUw=wb3j3=gsb-iW-g@mail.gmai l.com>
     [not found]                                               ` <CAL1RGDVjhpzSDUvkpdkG8u2YPwAWmt_szUw=wb3j3=gsb-iW-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-12 20:59                                                 ` Andy Grover
     [not found]                                                   ` <4F87423D.8010104-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-04-12 21:18                                                     ` Alexey Shvetsov
2012-04-12 22:01                                                       ` Andy Grover
2012-04-13  4:00                                                       ` Nicholas A. Bellinger
     [not found]                                                         ` <1334289638.3137.4938.camel-Y1+j5t8j3WgjMeEPmliV8E/sVC8ogwMJ@public.gmane.org>
2012-04-13  8:47                                                           ` Alexey Shvetsov
     [not found]                                                             ` <273131eb997f295f6b1f3d103a7013d4-heEE5zn7HfaV8fSEjHp0FA@public.gmane.org>
2012-04-14  1:27                                                               ` Nicholas A. Bellinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41b9ab2a9c7e7a58c7e7a5b41bf1d9e8@omrb.pnpi.spb.ru \
    --to=alexxy-abrp7r+bbdudnm+yrofe0a@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.