netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: mlx5 driver loading failing on v4.19 / net-next / bpf-next
@ 2018-09-13 22:55 Alexei Starovoitov
  2018-09-14  6:36 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 7+ messages in thread
From: Alexei Starovoitov @ 2018-09-13 22:55 UTC (permalink / raw)
  To: Tariq Toukan
  Cc: Jesper Dangaard Brouer, Saeed Mahameed, netdev@vger.kernel.org,
	Eran Ben Elisha

On Thu, Aug 30, 2018 at 1:35 AM, Tariq Toukan <tariqt@mellanox.com> wrote:
>
>
> On 29/08/2018 6:05 PM, Jesper Dangaard Brouer wrote:
>>
>> Hi Saeed,
>>
>> I'm having issues loading mlx5 driver on v4.19 kernels (tested both
>> net-next and bpf-next), while kernel v4.18 seems to work.  It happens
>> with a Mellanox ConnectX-5 NIC (and also a CX4-Lx but I removed that
>> from the system now).
>>
>
> Hi Jesper,
>
> Thanks for your report!
>
> We are working to analyze and debug the issue.

looks like serious issue to me... while no news in 2 weeks.
any update?

^ permalink raw reply	[flat|nested] 7+ messages in thread
* mlx5 driver loading failing on v4.19 / net-next / bpf-next
@ 2018-08-29 15:05 Jesper Dangaard Brouer
  2018-08-30  8:35 ` Tariq Toukan
  0 siblings, 1 reply; 7+ messages in thread
From: Jesper Dangaard Brouer @ 2018-08-29 15:05 UTC (permalink / raw)
  To: Saeed Mahameed, netdev@vger.kernel.org
  Cc: brouer, Tariq Toukan, Eran Ben Elisha

Hi Saeed,

I'm having issues loading mlx5 driver on v4.19 kernels (tested both
net-next and bpf-next), while kernel v4.18 seems to work.  It happens
with a Mellanox ConnectX-5 NIC (and also a CX4-Lx but I removed that
from the system now).

One pain point is very long boot-time, caused by some timeout code in
the driver. The kernel console log (dmesg) says:

[    5.763330] mlx5_core 0000:03:00.0: firmware version: 16.22.1002
[    5.769367] mlx5_core 0000:03:00.0: 126.016 Gb/s available PCIe bandwidth, limited by 8 GT/s x16 link at 0000:00:02.0 (capable of 252.048 Gb/s with 16 GT/s x16 link)

(...) other drivers loading

[   66.816635] mlx5_core 0000:03:00.0: wait_func:964:(pid 112): ENABLE_HCA(0x104) timeout. Will cause a leak of a command resource
[   66.828123] mlx5_core 0000:03:00.0: enable hca failed
[   66.845516] mlx5_core 0000:03:00.0: mlx5_load_one failed with error code -110
[   66.852802] mlx5_core: probe of 0000:03:00.0 failed with error -110

[   66.859347] mlx5_core 0000:03:00.1: firmware version: 16.22.1002
[   66.865388] mlx5_core 0000:03:00.1: 126.016 Gb/s available PCIe bandwidth, limited by 8 GT/s x16 link at 0000:00:02.0 (capable of 252.048 Gb/s with 16 GT/s x16 link)

[  125.787395] XFS (sda3): Mounting V5 Filesystem
[  125.848509] XFS (sda3): Ending clean mount
[  127.984784] mlx5_core 0000:03:00.1: wait_func:964:(pid 5): ENABLE_HCA(0x104) timeout. Will cause a leak of a command resource
[  127.996090] mlx5_core 0000:03:00.1: enable hca failed
[  128.013819] mlx5_core 0000:03:00.1: mlx5_load_one failed with error code -110
[  128.021076] mlx5_core: probe of 0000:03:00.1 failed with error -110


Do you have any idea what could be causing this?

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

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

end of thread, other threads:[~2018-09-14 23:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-13 22:55 mlx5 driver loading failing on v4.19 / net-next / bpf-next Alexei Starovoitov
2018-09-14  6:36 ` Jesper Dangaard Brouer
2018-09-14  8:22   ` Saeed Mahameed
2018-09-14  8:52     ` Jesper Dangaard Brouer
2018-09-14 18:26       ` Saeed Mahameed
  -- strict thread matches above, loose matches on Subject: below --
2018-08-29 15:05 Jesper Dangaard Brouer
2018-08-30  8:35 ` Tariq Toukan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).