* mlx5 driver load error
@ 2016-07-21 22:54 Ming Lin
[not found] ` <CAF1ivSa1vtCzGX7tkyTwxQr7zbSZ-e=p8vJPFT=DANS7ZaE_eA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Ming Lin @ 2016-07-21 22:54 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Matan Barak, Leon Romanovsky
Hi,
I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver doesn't work.
root@host:~# lspci |grep -i mellanox
03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
root@host:~# dmesg |grep -i mlx5
[ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100
[ 4.024478] mlx5_core 0000:03:00.0: enable hca failed
[ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error code -5
[ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5
[ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100
[ 4.410366] mlx5_core 0000:03:00.1: enable hca failed
[ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error code -5
[ 4.570046] mlx5_core: probe of 0000:03:00.1 failed with error -5
Could you help on this?
Thanks,
Ming
--
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[parent not found: <CAF1ivSa1vtCzGX7tkyTwxQr7zbSZ-e=p8vJPFT=DANS7ZaE_eA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: mlx5 driver load error [not found] ` <CAF1ivSa1vtCzGX7tkyTwxQr7zbSZ-e=p8vJPFT=DANS7ZaE_eA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-07-25 7:00 ` Leon Romanovsky [not found] ` <20160725070059.GA20674-2ukJVAZIZ/Y@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Leon Romanovsky @ 2016-07-25 7:00 UTC (permalink / raw) To: Ming Lin; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak [-- Attachment #1: Type: text/plain, Size: 1473 bytes --] On Thu, Jul 21, 2016 at 03:54:31PM -0700, Ming Lin wrote: > Hi, > > I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver doesn't work. > > root@host:~# lspci |grep -i mellanox > 03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] > 03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] > > root@host:~# dmesg |grep -i mlx5 > [ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100 > [ 4.024478] mlx5_core 0000:03:00.0: enable hca failed > [ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error code -5 > [ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5 > [ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100 > [ 4.410366] mlx5_core 0000:03:00.1: enable hca failed > [ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error code -5 > [ 4.570046] mlx5_core: probe of 0000:03:00.1 failed with error -5 > > Could you help on this? Hi Ming, Sorry for slow response, We tested this commit with this firmware version to eliminate the case that it is related to FW and it works. Can you please post your "grep MLX5 .config" output? Thanks > > Thanks, > Ming > -- > 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: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20160725070059.GA20674-2ukJVAZIZ/Y@public.gmane.org>]
* Re: mlx5 driver load error [not found] ` <20160725070059.GA20674-2ukJVAZIZ/Y@public.gmane.org> @ 2016-07-25 7:28 ` Ming Lin [not found] ` <CAF1ivSZarECVv9J2epbtmhgD9txfhZXGRiAnCpVPh+rP4ib3PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Ming Lin @ 2016-07-25 7:28 UTC (permalink / raw) To: Leon Romanovsky; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak On Mon, Jul 25, 2016 at 12:00 AM, Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote: > On Thu, Jul 21, 2016 at 03:54:31PM -0700, Ming Lin wrote: >> Hi, >> >> I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver doesn't work. >> >> root@host:~# lspci |grep -i mellanox >> 03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] >> 03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] >> >> root@host:~# dmesg |grep -i mlx5 >> [ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100 >> [ 4.024478] mlx5_core 0000:03:00.0: enable hca failed >> [ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error code -5 >> [ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5 >> [ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100 >> [ 4.410366] mlx5_core 0000:03:00.1: enable hca failed >> [ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error code -5 >> [ 4.570046] mlx5_core: probe of 0000:03:00.1 failed with error -5 >> >> Could you help on this? > > Hi Ming, > Sorry for slow response, Hi Leon, > > We tested this commit with this firmware version to eliminate the case > that it is related to FW and it works. > > Can you please post your "grep MLX5 .config" output? $ grep MLX5 .config CONFIG_MLX5_CORE=m # CONFIG_MLX5_CORE_EN is not set CONFIG_MLX5_INFINIBAND=m > > Thanks -- 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
[parent not found: <CAF1ivSZarECVv9J2epbtmhgD9txfhZXGRiAnCpVPh+rP4ib3PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: mlx5 driver load error [not found] ` <CAF1ivSZarECVv9J2epbtmhgD9txfhZXGRiAnCpVPh+rP4ib3PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-07-25 9:01 ` Majd Dibbiny [not found] ` <c8b50608-12cd-25ac-2dac-fadf06d5a2e1-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Majd Dibbiny @ 2016-07-25 9:01 UTC (permalink / raw) To: Ming Lin, Leon Romanovsky; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak On 7/25/2016 10:28 AM, Ming Lin wrote: > On Mon, Jul 25, 2016 at 12:00 AM, Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote: >> On Thu, Jul 21, 2016 at 03:54:31PM -0700, Ming Lin wrote: >>> Hi, >>> >>> I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver doesn't work. >>> >>> root@host:~# lspci |grep -i mellanox >>> 03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] >>> 03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] >>> >>> root@host:~# dmesg |grep -i mlx5 >>> [ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100 >>> [ 4.024478] mlx5_core 0000:03:00.0: enable hca failed >>> [ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error code -5 >>> [ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5 >>> [ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100 >>> [ 4.410366] mlx5_core 0000:03:00.1: enable hca failed >>> [ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error code -5 Hi Ming, Did you upgrade the Firmware as well? Did it work before the kernel upgrade? Do you work in pass-through mode? Does cold reboot resolve the issue? Thanks >>> [ 4.570046] mlx5_core: probe of 0000:03:00.1 failed with error -5 >>> >>> Could you help on this? >> >> Hi Ming, >> Sorry for slow response, > > Hi Leon, > >> >> We tested this commit with this firmware version to eliminate the case >> that it is related to FW and it works. >> >> Can you please post your "grep MLX5 .config" output? > > $ grep MLX5 .config > CONFIG_MLX5_CORE=m > # CONFIG_MLX5_CORE_EN is not set > CONFIG_MLX5_INFINIBAND=m > > >> >> Thanks > -- > 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 > -- 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
[parent not found: <c8b50608-12cd-25ac-2dac-fadf06d5a2e1-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>]
* Re: mlx5 driver load error [not found] ` <c8b50608-12cd-25ac-2dac-fadf06d5a2e1-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> @ 2016-07-25 20:40 ` Ming Lin [not found] ` <CAF1ivSZ=a46t7HFxBDKv5FdW+NPeXqJqi3bCunrVDh+_BwkYog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Ming Lin @ 2016-07-25 20:40 UTC (permalink / raw) To: Majd Dibbiny Cc: Leon Romanovsky, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak On Mon, Jul 25, 2016 at 2:01 AM, Majd Dibbiny <majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote: > On 7/25/2016 10:28 AM, Ming Lin wrote: >> >> On Mon, Jul 25, 2016 at 12:00 AM, Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> >> wrote: >>> >>> On Thu, Jul 21, 2016 at 03:54:31PM -0700, Ming Lin wrote: >>>> >>>> Hi, >>>> >>>> I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver doesn't >>>> work. >>>> >>>> root@host:~# lspci |grep -i mellanox >>>> 03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family >>>> [ConnectX-4] >>>> 03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family >>>> [ConnectX-4] >>>> >>>> root@host:~# dmesg |grep -i mlx5 >>>> [ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100 >>>> [ 4.024478] mlx5_core 0000:03:00.0: enable hca failed >>>> [ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error >>>> code -5 >>>> [ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5 >>>> [ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100 >>>> [ 4.410366] mlx5_core 0000:03:00.1: enable hca failed >>>> [ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error >>>> code -5 > > Hi Ming, > > Did you upgrade the Firmware as well? It works after upgrading firmware. Thanks. > Did it work before the kernel upgrade? > Do you work in pass-through mode? > Does cold reboot resolve the issue? > > Thanks -- 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
[parent not found: <CAF1ivSZ=a46t7HFxBDKv5FdW+NPeXqJqi3bCunrVDh+_BwkYog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: mlx5 driver load error [not found] ` <CAF1ivSZ=a46t7HFxBDKv5FdW+NPeXqJqi3bCunrVDh+_BwkYog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-07-26 6:49 ` Majd Dibbiny [not found] ` <232a2b7a-8832-4baf-f595-73c39cc5d3df-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Majd Dibbiny @ 2016-07-26 6:49 UTC (permalink / raw) To: Ming Lin; +Cc: Leon Romanovsky, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak On 7/25/2016 11:40 PM, Ming Lin wrote: > On Mon, Jul 25, 2016 at 2:01 AM, Majd Dibbiny <majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote: >> On 7/25/2016 10:28 AM, Ming Lin wrote: >>> >>> On Mon, Jul 25, 2016 at 12:00 AM, Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> >>> wrote: >>>> >>>> On Thu, Jul 21, 2016 at 03:54:31PM -0700, Ming Lin wrote: >>>>> >>>>> Hi, >>>>> >>>>> I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver doesn't >>>>> work. >>>>> >>>>> root@host:~# lspci |grep -i mellanox >>>>> 03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family >>>>> [ConnectX-4] >>>>> 03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family >>>>> [ConnectX-4] >>>>> >>>>> root@host:~# dmesg |grep -i mlx5 >>>>> [ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100 >>>>> [ 4.024478] mlx5_core 0000:03:00.0: enable hca failed >>>>> [ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error >>>>> code -5 >>>>> [ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5 >>>>> [ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100 >>>>> [ 4.410366] mlx5_core 0000:03:00.1: enable hca failed >>>>> [ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error >>>>> code -5 >> >> Hi Ming, >> >> Did you upgrade the Firmware as well? > > It works after upgrading firmware. Hi Ming, I didn't mean that you need to upgrade the firmware to make this work. I wanted to understand if alongside with driver upgrade you did a firmware upgrade. > > Thanks. > >> Did it work before the kernel upgrade? >> Do you work in pass-through mode? >> Does cold reboot resolve the issue? >> >> Thanks -- 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
[parent not found: <232a2b7a-8832-4baf-f595-73c39cc5d3df-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>]
* Re: mlx5 driver load error [not found] ` <232a2b7a-8832-4baf-f595-73c39cc5d3df-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> @ 2016-07-26 17:29 ` Ming Lin 0 siblings, 0 replies; 7+ messages in thread From: Ming Lin @ 2016-07-26 17:29 UTC (permalink / raw) To: Majd Dibbiny Cc: Leon Romanovsky, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak On Mon, Jul 25, 2016 at 11:49 PM, Majd Dibbiny <majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote: > > On 7/25/2016 11:40 PM, Ming Lin wrote: >> >> On Mon, Jul 25, 2016 at 2:01 AM, Majd Dibbiny <majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote: >>> >>> On 7/25/2016 10:28 AM, Ming Lin wrote: >>>> >>>> >>>> On Mon, Jul 25, 2016 at 12:00 AM, Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> >>>> wrote: >>>>> >>>>> >>>>> On Thu, Jul 21, 2016 at 03:54:31PM -0700, Ming Lin wrote: >>>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> I build k.o/for-4.8 branch(commit fb92d8fb1b9). But mlx5 driver >>>>>> doesn't >>>>>> work. >>>>>> >>>>>> root@host:~# lspci |grep -i mellanox >>>>>> 03:00.0 Ethernet controller: Mellanox Technologies MT27700 Family >>>>>> [ConnectX-4] >>>>>> 03:00.1 Ethernet controller: Mellanox Technologies MT27700 Family >>>>>> [ConnectX-4] >>>>>> >>>>>> root@host:~# dmesg |grep -i mlx5 >>>>>> [ 3.833348] mlx5_core 0000:03:00.0: firmware version: 12.12.1100 >>>>>> [ 4.024478] mlx5_core 0000:03:00.0: enable hca failed >>>>>> [ 4.260086] mlx5_core 0000:03:00.0: mlx5_load_one failed with error >>>>>> code -5 >>>>>> [ 4.333568] mlx5_core: probe of 0000:03:00.0 failed with error -5 >>>>>> [ 4.339977] mlx5_core 0000:03:00.1: firmware version: 12.12.1100 >>>>>> [ 4.410366] mlx5_core 0000:03:00.1: enable hca failed >>>>>> [ 4.562862] mlx5_core 0000:03:00.1: mlx5_load_one failed with error >>>>>> code -5 >>> >>> >>> Hi Ming, >>> >>> Did you upgrade the Firmware as well? >> >> >> It works after upgrading firmware. > > Hi Ming, > > I didn't mean that you need to upgrade the firmware to make this work. > I wanted to understand if alongside with driver upgrade you did a firmware > upgrade. The original firmware is 12.12.1100. 12.12.1100 + v4.4 kernel: not work 12.12.1100 + v4.7-rc2 kernel: not work 12.16.1020 + v4.4 kernel: works 12.16.1020 + v4.7-rc2: works > >> >> Thanks. >> >>> Did it work before the kernel upgrade? >>> Do you work in pass-through mode? >>> Does cold reboot resolve the issue? >>> >>> Thanks -- 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:[~2016-07-26 17:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 22:54 mlx5 driver load error Ming Lin
[not found] ` <CAF1ivSa1vtCzGX7tkyTwxQr7zbSZ-e=p8vJPFT=DANS7ZaE_eA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-07-25 7:00 ` Leon Romanovsky
[not found] ` <20160725070059.GA20674-2ukJVAZIZ/Y@public.gmane.org>
2016-07-25 7:28 ` Ming Lin
[not found] ` <CAF1ivSZarECVv9J2epbtmhgD9txfhZXGRiAnCpVPh+rP4ib3PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-07-25 9:01 ` Majd Dibbiny
[not found] ` <c8b50608-12cd-25ac-2dac-fadf06d5a2e1-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-07-25 20:40 ` Ming Lin
[not found] ` <CAF1ivSZ=a46t7HFxBDKv5FdW+NPeXqJqi3bCunrVDh+_BwkYog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-07-26 6:49 ` Majd Dibbiny
[not found] ` <232a2b7a-8832-4baf-f595-73c39cc5d3df-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-07-26 17:29 ` Ming Lin
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.