Re: using ConnectX card as Ethernet (mlxen)

2014-01-21 Thread Eggert, Lars
Last follow-up: I just saw that there are some additional messages (errors?) on the serial console when changing the device from IB to Ethernet, maybe they mean something to someone: root@one:~ # sysctl sys.device.mlx4_core0.mlx4_port1=eth sys.device.mlx4_core0.mlx4_port1: auto (ib)<7>ib0: stopp

Re: using ConnectX card as Ethernet (mlxen)

2014-01-21 Thread Eggert, Lars
On 2014-1-21, at 10:04, Lars Eggert wrote: > See the attached dmesg which I of course forget to attach (sigh). See below. Lars GDB: no debug ports present970 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986,

Re: using ConnectX card as Ethernet (mlxen)

2014-01-21 Thread Eggert, Lars
Hi, On 2014-1-20, at 21:59, John Baldwin wrote: > I believe this should work, yes. Getting a crashdump or the panic messages > would be really helpful in figuring out why it isn't. Thanks. I rebuilt the kernel, and see no crashes anymore. So that's good. But there are a bunch of other issues

Re: using ConnectX card as Ethernet (mlxen)

2014-01-20 Thread John Baldwin
On Monday 20 January 2014 12:08:34 Eggert, Lars wrote: > Hi, > > On 2013-7-9, at 22:08, John Nielsen wrote: > > On Jul 9, 2013, at 9:58 AM, John Baldwin wrote: > >> So this was just fixed (finally) in HEAD in r253048. You can how use the > >> sysctls to change this. > > > > I saw the commit.

Re: using ConnectX card as Ethernet (mlxen)

2014-01-20 Thread Eggert, Lars
Hi, if I leave the mlx4ib device out of the kernel (i.e., only compile in mlxen), doing the sysctl switch to Ethernet mode works fine. Lars On 2014-1-20, at 13:08, Eggert, Lars wrote: > Hi, > > On 2013-7-9, at 22:08, John Nielsen wrote: > On Jul 9, 2013, at 9:58 AM, John Baldwin wrote: >>>

Re: using ConnectX card as Ethernet (mlxen)

2014-01-20 Thread Eggert, Lars
Hi, On 2013-7-9, at 22:08, John Nielsen wrote: On Jul 9, 2013, at 9:58 AM, John Baldwin wrote: >> So this was just fixed (finally) in HEAD in r253048. You can how use the >> sysctls to change this. > > I saw the commit. Thanks! I'll give it a try at some point (whenever my > schedule and hard

Re: using ConnectX card as Ethernet (mlxen)

2013-07-09 Thread John Nielsen
On Jul 9, 2013, at 9:58 AM, John Baldwin wrote: > On Monday, September 24, 2012 12:37:30 pm John Nielsen wrote: >> I have a machine running "FreeBSD 10.0-CURRENT #0 r240887" amd64 with two > ConnectX (InfiniBand) cards. Relevant bits of dmesg and pciconf -lv below. > The > cards are connected

Re: using ConnectX card as Ethernet (mlxen)

2013-07-09 Thread John Baldwin
On Monday, September 24, 2012 12:37:30 pm John Nielsen wrote: > I have a machine running "FreeBSD 10.0-CURRENT #0 r240887" amd64 with two ConnectX (InfiniBand) cards. Relevant bits of dmesg and pciconf -lv below. The cards are connected directly to a 10GB Ethernet switch so I need to run them in

using ConnectX card as Ethernet (mlxen)

2012-09-24 Thread John Nielsen
I have a machine running "FreeBSD 10.0-CURRENT #0 r240887" amd64 with two ConnectX (InfiniBand) cards. Relevant bits of dmesg and pciconf -lv below. The cards are connected directly to a 10GB Ethernet switch so I need to run them in "eth" mode rather than "ib". Unfortunately they come up in "ib"