Re: FreeBSD 11.1 ixl(4) interface does not negotiate at 100 Mbit/s

2018-03-19 Thread Eric Joyner
I'm guessing these are 10G copper LOMs using X722; those don't support
100Mb speeds.

- Eric

On Mon, Mar 19, 2018 at 8:41 AM Slawa Olhovchenkov  wrote:

> On Mon, Mar 19, 2018 at 03:53:03PM +0100, Patrick M. Hausen wrote:
>
> > Hi all,
> >
> > any ideas why a current RELENG_11_1 system with ixl(4)
> > onboard interfaces might not negotiate with a switch that
> > has only fast ethernet?
> >
> > status: no carrieron the host
> > line protocol is down (notconnect)on the switch
> >
> > dmesg:
> > https://imgur.com/9ri9is8
>
> "Intel® Ethernet Controller X710/XXV710/XL710 Feature Support Matrix"
> don't show support 100Mb link for any sw release for X710/XL710.
>
> "Intel® Ethernet Connection X722 Feature Support Matrix" don't have
> string "100"
>
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: intel 10gbe nic bug in 10.3 - no carrier

2017-01-24 Thread Eric Joyner
On Tue, Jan 10, 2017 at 2:38 AM Daniel Genis  wrote:

> Hello everyone,
>
> we're trying to tackle a rare bug that is very hard to debug.
>
> Our 10.3-RELEASE servers can panic boot and subsequently can come up
> without network (2x - no carrier). We've seen this on 10.3-RELEASE-p0 we
> have never seen this before.
>
> root@storage ~ # pciconf -lv | grep -B3 network
> ix0@pci0:2:0:0:class=0x02 card=0xd10f19e5 chip=0x10fb8086
> rev=0x01 hdr=0x00
> vendor = 'Intel Corporation'
> device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> class  = network
> --
> ix1@pci0:2:0:1:class=0x02 card=0xd10f19e5 chip=0x10fb8086
> rev=0x01 hdr=0x00
> vendor = 'Intel Corporation'
> device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
> class  = network
>
> Our network is configured as active/passive using lagg. (/etc/rc.conf):
>
> ifconfig_ix0="up"
> ifconfig_ix1="up"
> cloned_interfaces="lagg0"
> ifconfig_lagg0="laggproto failover laggport ix0 laggport ix1 10.1.2.31/16"
>
> After panic boot the network show up like this:
>
> ix0: flags=8843 metric 0 mtu 1500
>
> options=8407bb
> ether 60:08:10:d0:4e:9f
> nd6 options=29
> media:  (autoselect)
> status: no carrier
> ix1: flags=8843 metric 0 mtu 1500
>
> options=8407bb
> ether 60:08:10:d0:4e:9f
> nd6 options=29
> media:  (autoselect)
> status: no carrier
>
> The network switch sees the connection as online. The LED's of the nic's
> suggest the same, they see the network as online (led's are on like in
> normal operation). Unplugging/replugging the network cable will get the
> network online. Shutting the port on the switch and reenabling it wil
> also get the network online. However another reboot will return the
> machine into the no-carrier state.
>
> I've built various kernels trying to find where the regression is
> without success. I tried porting the 10.2 nic driver (2.8.3) to 10.3 and
> subsequently the lagg code as well. I ported nic driver 3.1.14 from
> pfsense into 10.3-STABLE (2 december kernel) to no avail, also porting
> lagg code from 10.2 did not make any difference. Rebooting with those
> kernels the server remains in the no carrier state.
>
> We install our systems using mfsbsd for PXE boot. If I boot a machine
> which has the "no carrier" state using the 10.3 PXE boot, both nic's
> come online. If I then boot from disk again the machine returns into the
> "no carrier" state.
>
> Recently we got some new machines, so we can shuffle more around and
> also to try to debug this. We baseinstalled it using mfsbsd 10.3 pxe and
> configured it like always. Here interestingly one of the two nic's
> entered the "no carrier" state, the other nic remained operational. This
> remained persistent across reboots.
>
> The issue disappears after many reboots but it's not conclusive. I've
> had 2 machines with which I could experiment with.
>
> On one the problem it disappeared on it's own after a reboot (kernel
> 10.3-STABLE git hash d99ba5c aka r299900(?)).
>
> On the other one I pxe booted 10.1 live environment and then
> subsequently I booted into kernel 10.3-STABLE git hash 3673260fc9 aka
> r308456(?)). But I don't think anything can be concluded from that. That
> was the machine which had both nic's online after booting into the 10.3
> pxe environment but subsequently returned into no carrier state when
> booting 10.3 from disk.
>
> We also tried many sysctl flags (and many reboots), but without success.
> For example: hw.ix.enable_msix=0 and hw.ix.enable_msi=0
>
> At the moment I have no spare/empty machine in this state, we will empty
> one machine though which currently has this state (but is in production
> right now).
> I don't know how to trigger this state manually, which doesn't help for
> debugging.
>
> I could link reference where others report similar issues, for example
> https://www.reddit.com/r/PFSENSE/comments/45bcuq/10_gig_woes/
> Here they suggest that the new intel nic driver 3.1.14 fixes it. Though
> I was not able to resolve the state by booting into a kernel with this
> driver.
>
> If I can provide any additional information please do not hesitate to ask.
>
> Any tips and suggestions for debugging are most welcome!
>
> With kind regards,
>
> Daniel
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>

This is a late follow-up, but could you file this as a bug on
bugs.freebsd.org?

- Eric
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: buildworld build times 10-stable vs. 11-stable

2017-01-17 Thread Eric Joyner
On Mon, Jan 16, 2017 at 8:59 AM Jan Bramkamp  wrote:

>  >/etc/src-env.conf`, instruct the kld rc.d script to load filemon with
> `sysrc kld_list+=" filemon"` and use the rc.d script to load the kernel
> module with `service kld start` (or reboot).
>

Why would you put that line in the kld rc.d script instead of putting
'kld_list="filemon"' in /etc/rc.conf?
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: dev.ix.0.queueX.interrupt_rate

2015-08-24 Thread Eric Joyner
What's strange about it? The interrupt rate only changes if traffic goes
out on the queue, and so if whatever applications you use don't utilize the
core the queue is bound to, then the interrupt rate won't change.

Or are you confused about the units? I know ixl(4) uses usecs instead of
Hz, so ix(4) should probably change to use that at some point.

On Mon, Aug 24, 2015, 12:29 PM Slawa Olhovchenkov  wrote:

> I have '82599ES 10-Gigabit SFI/SFP+ Network Connection' and see
> strange:
>
> # sysctl dev.ix.0 | grep interrupt_rate
> dev.ix.0.queue7.interrupt_rate: 50
> dev.ix.0.queue6.interrupt_rate: 50
> dev.ix.0.queue5.interrupt_rate: 31250
> dev.ix.0.queue4.interrupt_rate: 31250
> dev.ix.0.queue3.interrupt_rate: 31250
> dev.ix.0.queue2.interrupt_rate: 50
> dev.ix.0.queue1.interrupt_rate: 50
> dev.ix.0.queue0.interrupt_rate: 50
>
> Last -stable, no tuning. Is this normal?
>
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Xeon D-1540 Support

2015-06-03 Thread Eric Joyner
Yeah; you can run FreeBSD 10.1 and 11-CURRENT on an X10SDV-TLN4F. If you
use stable/10 or CURRENT, you can also use the 10gig ethernet ports out of
the box, too.

On Wed, Jun 3, 2015 at 6:31 AM Will Green  wrote:

> Hello,
>
> Has anyone had any success running FreeBSD 10.1 on the Xeon D-1540 [1]?
> It’s a 8-core Broadwell-based Xeon SOC with integrated GigE or 10GigE.
>
> The combination of low power and support for 128 GB of ram makes them
> quite attractive. An example motherboard with this CPU is the Supermicro
> X10SDV-F [2]. The Supermicro web site shows support for FreeBSD 10.1 [3],
> but I haven’t seen any use in the wild. I will try to get hold of a board
> to test, but any advance information on support would be useful.
>
> Thanks,
> Will
>
> [1]
> http://ark.intel.com/products/87039/Intel-Xeon-Processor-D-1540-12M-Cache-2_00-GHz
> [2] http://www.supermicro.co.uk/products/motherboard/Xeon/D/X10SDV-F.cfm
> [3] http://www.supermicro.co.uk/support/resources/OS/Broadwell-DE.cfm
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"