Re: rmmod mlx4_core panic 3.16-rc1

2014-06-22 Thread Or Gerlitz
On Sun, Jun 22, 2014 at 12:29 PM, Or Gerlitz wrote: > > As for the crash you reported, indeed, it seems we have a bug there on the > error flow of module loading when single ported VF are requested in > conjunction with IB ports. I have it fixed on my system with this patch which > are will rev

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-22 Thread Or Gerlitz
On 20/06/2014 20:15, Shirley Ma wrote: On 06/19/2014 08:34 PM, Or Gerlitz wrote: On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma wrote: 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it failed with mlx4_core 00

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-20 Thread Shirley Ma
When loading the modules, the proper arguments need to be checked if one depends on another. You can easily reproduce this problem by only using num_vfs = N. Shirley On 06/19/2014 11:34 PM, Or Gerlitz wrote: > On Fri, Jun 20, 2014 at 9:33 AM, Or Gerlitz wrote: >> On Fri, Jun 20, 2014 at 9:21 A

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-20 Thread Shirley Ma
On 06/19/2014 11:17 PM, Or Gerlitz wrote: > On Fri, Jun 20, 2014 at 6:34 AM, Or Gerlitz wrote: >> On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma wrote: >>> 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? >>> I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it >>

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-20 Thread Shirley Ma
On 06/19/2014 08:34 PM, Or Gerlitz wrote: > On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma wrote: >> >> 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? >> >> I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it >> failed with mlx4_core :40:00.0: Invalid syntax

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Or Gerlitz
On Fri, Jun 20, 2014 at 9:33 AM, Or Gerlitz wrote: > On Fri, Jun 20, 2014 at 9:21 AM, Wei Yang wrote: > From this log, it happens during probe? If not, any action after probe? > >>>yep, maybe the bug still exists in the error flow of probe? you can probe >>>with >>>num_vfs=1,1,1 port_t

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Or Gerlitz
On Fri, Jun 20, 2014 at 9:21 AM, Wei Yang wrote: >>> From this log, it happens during probe? >>> If not, any action after probe? >>yep, maybe the bug still exists in the error flow of probe? you can probe with >>num_vfs=1,1,1 port_type_array=1,1 and see if you hit it > I tried this > modprobe m

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Wei Yang
On Fri, Jun 20, 2014 at 07:02:41AM +0300, Or Gerlitz wrote: >On Fri, Jun 20, 2014 at 6:51 AM, Wei Yang wrote: > >> >> mlx4_core :40:00.0: Invalid syntax of num_vfs/probe_vfs with IB port >> >> - single port VFs syntax is only supported when all ports are configured >> >> as ethernet >> >> BU

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Or Gerlitz
On Fri, Jun 20, 2014 at 6:34 AM, Or Gerlitz wrote: > On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma wrote: >> 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? >> I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it >> failed with mlx4_core :40:00.0: Invalid synt

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Or Gerlitz
On Fri, Jun 20, 2014 at 6:51 AM, Wei Yang wrote: > >> mlx4_core :40:00.0: Invalid syntax of num_vfs/probe_vfs with IB port - > >> single port VFs syntax is only supported when all ports are configured as > >> ethernet > >> BUG: unable to handle kernel NULL pointer dereference at 000

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Wei Yang
On Fri, Jun 20, 2014 at 06:34:48AM +0300, Or Gerlitz wrote: >On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma wrote: >> >> 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? >> >> I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it >> failed with mlx4_core :40:00.0:

Re: rmmod mlx4_core panic 3.16-rc1

2014-06-19 Thread Or Gerlitz
On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma wrote: > > 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? > > I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it > failed with mlx4_core :40:00.0: Invalid syntax of num_vfs/probe_vfs with > IB port - single port

rmmod mlx4_core panic 3.16-rc1

2014-06-18 Thread Shirley Ma
Hello Or, Two questions here: 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it failed with mlx4_core :40:00.0: Invalid syntax of num_vfs/probe_vfs with IB port - single port VFs syntax is only supported wh