public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Question on mlx5-ib auto load
@ 2017-09-24 13:43 Sagi Grimberg
       [not found] ` <daab19a4-98c8-3115-065d-2c40c5843121-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Sagi Grimberg @ 2017-09-24 13:43 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Did anyone notice that mlx5_ib does not auto load at boot time?

While mlx5_core requests mlx5_ib, mlx5_ib still does not load
at boot time (only when reloading mlx5_core).

I noticed it today, and could only get around it by adding
mlx5_ib to /etc/modules-load.d/modules.conf

Is there something I'm missing?

Cheers,
Sagi
--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on mlx5-ib auto load
       [not found] ` <daab19a4-98c8-3115-065d-2c40c5843121-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
@ 2017-09-24 18:52   ` Jason Gunthorpe
  2017-09-24 18:55   ` Leon Romanovsky
  1 sibling, 0 replies; 7+ messages in thread
From: Jason Gunthorpe @ 2017-09-24 18:52 UTC (permalink / raw)
  To: Sagi Grimberg; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Sun, Sep 24, 2017 at 04:43:58PM +0300, Sagi Grimberg wrote:
> Did anyone notice that mlx5_ib does not auto load at boot time?
>
> While mlx5_core requests mlx5_ib, mlx5_ib still does not load
> at boot time (only when reloading mlx5_core).

I tested this recently, and it does work.

Be aware, that if you have mlx5_core in your initrd then you must also
have mlx5_ib in the initrd as well, otherwise it will not work.

Not all distros are doing this yet. eg there are patches for Debian
derived.

Jason
--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on mlx5-ib auto load
       [not found] ` <daab19a4-98c8-3115-065d-2c40c5843121-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
  2017-09-24 18:52   ` Jason Gunthorpe
@ 2017-09-24 18:55   ` Leon Romanovsky
       [not found]     ` <20170924185559.GI25094-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Leon Romanovsky @ 2017-09-24 18:55 UTC (permalink / raw)
  To: Sagi Grimberg; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

On Sun, Sep 24, 2017 at 04:43:58PM +0300, Sagi Grimberg wrote:
> Did anyone notice that mlx5_ib does not auto load at boot time?
>
> While mlx5_core requests mlx5_ib, mlx5_ib still does not load
> at boot time (only when reloading mlx5_core).
>
> I noticed it today, and could only get around it by adding
> mlx5_ib to /etc/modules-load.d/modules.conf

It is supposed to work automatically without need to add anything
(except rxe) in the modules-load.d.

>
> Is there something I'm missing?

We had an opposite bug - the removal didn't work.
https://lkml.org/lkml/2017/9/9/123

What is your OS, rdma-core version and kernel version?

Thanks

>
> Cheers,
> Sagi
> --
> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on mlx5-ib auto load
       [not found]     ` <20170924185559.GI25094-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
@ 2017-09-24 19:49       ` Sagi Grimberg
       [not found]         ` <23e29fc3-408b-1809-97eb-a105ab0e6488-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Sagi Grimberg @ 2017-09-24 19:49 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org


>> Did anyone notice that mlx5_ib does not auto load at boot time?
>>
>> While mlx5_core requests mlx5_ib, mlx5_ib still does not load
>> at boot time (only when reloading mlx5_core).
>>
>> I noticed it today, and could only get around it by adding
>> mlx5_ib to /etc/modules-load.d/modules.conf
> 
> It is supposed to work automatically without need to add anything
> (except rxe) in the modules-load.d.
> 
>>
>> Is there something I'm missing?
> 
> We had an opposite bug - the removal didn't work.
> https://lkml.org/lkml/2017/9/9/123
> 
> What is your OS, rdma-core version and kernel version?

# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

# uname -a
Linux client 4.14.0-rc1+ #193 SMP Sun Sep 24 11:24:38 IDT 2017 x86_64 
x86_64 x86_64 GNU/Linux

# dpkg -l | grep rdma-core
rc  rdma-core                         14-1 
amd64        RDMA core userspace infrastructure and documentation
--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on mlx5-ib auto load
       [not found]         ` <23e29fc3-408b-1809-97eb-a105ab0e6488-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
@ 2017-09-24 19:57           ` Jason Gunthorpe
       [not found]             ` <20170924195730.GC18007-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Gunthorpe @ 2017-09-24 19:57 UTC (permalink / raw)
  To: Sagi Grimberg
  Cc: Leon Romanovsky,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Sun, Sep 24, 2017 at 10:49:25PM +0300, Sagi Grimberg wrote:

> # cat /etc/os-release
> NAME="Ubuntu"
> VERSION="16.04 LTS (Xenial Xerus)"

This has the initrd problem I mentioned.

Jason
--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on mlx5-ib auto load
       [not found]             ` <20170924195730.GC18007-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2017-09-25  5:34               ` Sagi Grimberg
  2017-09-25 11:40               ` Benjamin Drung
  1 sibling, 0 replies; 7+ messages in thread
From: Sagi Grimberg @ 2017-09-25  5:34 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: Leon Romanovsky,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

>> # cat /etc/os-release
>> NAME="Ubuntu"
>> VERSION="16.04 LTS (Xenial Xerus)"
> 
> This has the initrd problem I mentioned.

Well, I guess I'll keep the local workaround then...
--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question on mlx5-ib auto load
       [not found]             ` <20170924195730.GC18007-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  2017-09-25  5:34               ` Sagi Grimberg
@ 2017-09-25 11:40               ` Benjamin Drung
  1 sibling, 0 replies; 7+ messages in thread
From: Benjamin Drung @ 2017-09-25 11:40 UTC (permalink / raw)
  To: Jason Gunthorpe, Sagi Grimberg
  Cc: Leon Romanovsky,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Am Sonntag, den 24.09.2017, 13:57 -0600 schrieb Jason Gunthorpe:
> On Sun, Sep 24, 2017 at 10:49:25PM +0300, Sagi Grimberg wrote:
> 
> > # cat /etc/os-release
> > NAME="Ubuntu"
> > VERSION="16.04 LTS (Xenial Xerus)"
> 
> This has the initrd problem I mentioned.

which is following bug:
https://bugs.debian.org/871595
https://launchpad.net/bugs/1719302

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org
Web: https://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Achim Weiss.

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-25 11:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-24 13:43 Question on mlx5-ib auto load Sagi Grimberg
     [not found] ` <daab19a4-98c8-3115-065d-2c40c5843121-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-09-24 18:52   ` Jason Gunthorpe
2017-09-24 18:55   ` Leon Romanovsky
     [not found]     ` <20170924185559.GI25094-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-09-24 19:49       ` Sagi Grimberg
     [not found]         ` <23e29fc3-408b-1809-97eb-a105ab0e6488-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-09-24 19:57           ` Jason Gunthorpe
     [not found]             ` <20170924195730.GC18007-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-09-25  5:34               ` Sagi Grimberg
2017-09-25 11:40               ` Benjamin Drung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox