DNS KSK rollover, local_unbound and 11.2-STABLE

2018-10-12 Thread Eugene Grosbein
Hi!

It seems that 11.2-STABLE still has old unbound version 1.5.10 having no option 
trust-anchor-signaling.

Can it be a reason that my home router running stable/11 r338011 as NanoBSD 
with stock local_unbound
as DNS recursive service for LAN stopped working today?

The box has r/o root partition (CompactFlash-based) and md-backed /etc and /var 
(standard nanobsd setup).
It had uptime over 20 days. I've rebooted it but it did not help.

With luck, I have ISC BIND installed on my desktop and it works but the rest of 
the LAN (including mobile phone)
have no DNS still :-)

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


[Bug 221146] [ixgbe] Problem with second laggport

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221146

Maciej Suszko  changed:

   What|Removed |Added

 CC||mac...@suszko.eu

--- Comment #23 from Maciej Suszko  ---
Same problem here on Dell PowerEdge R740xd running 11.2-RELEASE-p4, sources
modified to include latest mrsas drviers (DELL PERC H740P).

root@host:~ # uname -a
FreeBSD host 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0 r338999M: Fri Sep 28
19:27:30 UTC 2018 root@host:/usr/obj/usr/src/sys/GENERIC  amd64

root@host:~ # dmesg -a| grep '^ix[01]'
ix0:  port
0x4020-0x403f mem 0x9d90-0x9d9f,0x9da04000-0x9da07fff at device 0.0
numa-domain 0 on pci5
ix0: Using MSI-X interrupts with 9 vectors
ix0: Ethernet address: xx:xx:xx:xx:xx:98
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix0: netmap queues/slots: TX 8/2048, RX 8/2048
ix1:  port
0x4000-0x401f mem 0x9d80-0x9d8f,0x9da0-0x9da03fff at device 0.1
numa-domain 0 on pci5
ix1: Using MSI-X interrupts with 9 vectors
ix1: Ethernet address: xx:xx:xx:xx:xx:9a
ix1: PCI Express Bus: Speed 5.0GT/s Width x8
ix1: netmap queues/slots: TX 8/2048, RX 8/2048
ix0: link state changed to UP
ix0: flags=8843 metric 0 mtu 1500
ix1: flags=8802 metric 0 mtu 1500
ix1: flags=8802 metric 0 mtu 1500
ix1: link state changed to UP
ix1: link state changed to DOWN
ix1: link state changed to UP

I can attach ix1 to lagg0 later, after system boot... doing this within rc.conf
(in pair with ix0) does not work, ix1 shows 'no carrier' and it doesn't change
it's state after removing from lagg0, interface down/up.

root@host:~ # ifconfig ix0
ix0: flags=8843 metric 0 mtu 1500
   
options=e407bb
ether xx:xx:xx:xx:xx:98
hwaddr xx:xx:xx:xx:xx:98
nd6 options=29
media: Ethernet autoselect (10Gbase-Twinax
)
status: active

root@host:~ # ifconfig ix1
ix1: flags=8843 metric 0 mtu 1500
   
options=e407bb
ether xx:xx:xx:xx:xx:98
hwaddr xx:xx:xx:xx:xx:9a
nd6 options=29
media: Ethernet autoselect (10Gbase-Twinax
)
status: active

root@host:~ # ifconfig lagg0
lagg0: flags=8843 metric 0 mtu 1500

options=e407bb
ether xx:xx:xx:xx:xx:98
nd6 options=29
media: Ethernet autoselect
status: active
groups: lagg 
laggproto lacp lagghash l2,l3,l4
laggport: ix0 flags=1c
laggport: ix1 flags=1c

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Deadlock in VLAN 12-current w/patch

2018-10-12 Thread Hans Petter Selasky

On 10/8/18 5:36 PM, Hans Petter Selasky wrote:

Hi Matthew,

There is a deadlock when destroying VLANs after the epoch changes were 
made. Can you have a look and consider the attached patch for 12-current?


Thank you!



Hi,

Differential review is here:
https://reviews.freebsd.org/D17496

--HPS

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


Reproducible crash in em/igb

2018-10-12 Thread Lev Serebryakov

 I have reproducible crash in igb and em driver on CURRENT, with KASSERT
violation if kernel is built INVARIANTS.

 All information is here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

(please, start from newest comments, as first ones gives wrong
interpretation).

 I can not reproduce this crash on 11.2-STABLE, so it is regression.

 I could provide kernel binaries and corresponding crashdumps, test any
patches, etc.

-- 
// Lev Serebryakov





signature.asc
Description: OpenPGP digital signature


Re: Reproducible crash in em/igb

2018-10-12 Thread Sean Bruno


On 10/12/18 7:29 AM, Lev Serebryakov wrote:
> 
>  I have reproducible crash in igb and em driver on CURRENT, with KASSERT
> violation if kernel is built INVARIANTS.
> 
>  All information is here:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659
> 
> (please, start from newest comments, as first ones gives wrong
> interpretation).
> 
>  I can not reproduce this crash on 11.2-STABLE, so it is regression.
> 
>  I could provide kernel binaries and corresponding crashdumps, test any
> patches, etc.
> 


We talked about this yesterday, got caught up in openssl updates in
ports for the freebsd cluster.

Hopefully some testing today, thank you for the detailed report.

sean



signature.asc
Description: OpenPGP digital signature


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #35 from Lev A. Serebryakov  ---
(In reply to Lev A. Serebryakov from comment #34)

iperf3 -c  -R -t 3600 -P 32

"-P 32", not "--nstreams 32", as we speak TCP, not SCTP here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

Eric Joyner  changed:

   What|Removed |Added

 CC||e...@freebsd.org

--- Comment #36 from Eric Joyner  ---
Maybe you're encountering something similar to what was fixed here?
https://github.com/freebsd/freebsd/commit/e2a6991d7175b5ba9b6832b1d8770e58fa57e998

That was causing us to hit the MPASS() in rxd_pkt_get in ixl(4).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #37 from Lev A. Serebryakov  ---
(In reply to Eric Joyner from comment #36)
Maybe. I'm using mtu 9000 in my tests…
I could try to reproduce it with standard mtu (1500).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #38 from Lev A. Serebryakov  ---
(In reply to Eric Joyner from comment #36)
I can not reproduce it with mtu=1500 on both ends for 20 minutes.

I'm trying to comment out "budget == 1" case for em(8).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #39 from Lev A. Serebryakov  ---
(In reply to Eric Joyner from comment #36)
Nope, commenting out "budget == 1" section in em_txrx.c (lines 556-560) doesn't
help.

Same assertion was triggered.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #40 from Lev A. Serebryakov  ---
One additional datapoint: when mtu=1500 on both ends, everything works for tens
of minutes, but sending part (11.2-STABLE based) shows bursts of "resends",
which is not occurs with mtu=9000 till crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #41 from Lev A. Serebryakov  ---
(In reply to Lev A. Serebryakov from comment #39)
OOPS! Looks like I patched only "lem" but not "em" function!
Let's try to patch "em" too...

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: DNS KSK rollover, local_unbound and 11.2-STABLE

2018-10-12 Thread Dag-Erling Smørgrav
Eugene Grosbein  writes:
> It seems that 11.2-STABLE still has old unbound version 1.5.10 having
> no option trust-anchor-signaling.
>
> Can it be a reason that my home router running stable/11 r338011 as
> NanoBSD with stock local_unbound
> as DNS recursive service for LAN stopped working today?

No.  If it was working before, it already had both KSKs.  Try this:

% /usr/bin/host -c CH -t TXT trustanchor.unbound 
trustanchor.unbound descriptive text ". 19036 20326"

The first number is the old KSK, the second number is the new KSK.

You can also check that your root.key has both entries:

% grep -c '^[^;]' /var/unbound/root.key
2

or just look inside:

. 172800 IN DNSKEY [...] ;{id = 19036 (ksk), size = 2048b} [...]
. 172800 IN DNSKEY [...] ;{id = 20326 (ksk), size = 2048b} [...]

In any case, if unbound-anchor is unable to get and validate the KSK, it
will fall back to getting it over http (using an unvalidated DNS lookup)
and verifying the accompanying signature against a hardcoded x509
certificate which is valid until 2023.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #42 from Lev A. Serebryakov  ---
(In reply to Eric Joyner from comment #36)
Looks like it helps.
Simple traffic with INVARIANTS works, now I'm testing IPsec configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 232142] Chelsio T520-SO cxgbe driver no longer recognized as 10Gb

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232142

Mark Linimon  changed:

   What|Removed |Added

Summary|Chelsio T520-SO cxgbe   |Chelsio T520-SO cxgbe
   |driver missing ... no   |driver no longer recognized
   |usr/src/sys directory?  |as 10Gb
   Assignee|b...@freebsd.org|n...@freebsd.org
   Keywords||regression

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 232142] Chelsio T520-SO cxgbe driver no longer recognized as 10Gb

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232142

Navdeep Parhar  changed:

   What|Removed |Added

 CC||n...@freebsd.org

--- Comment #1 from Navdeep Parhar  ---
What exactly do you mean when you say the NIC is recognized as a 1GB card?
There's not even an ifconfig output in this bug and it's hard to tell what's
being reported here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

--- Comment #43 from Lev A. Serebryakov  ---
(In reply to Eric Joyner from comment #36)
Yess! 

It helps em0 to pass all my torture tests (when I comment out this
"optimization" twice, for lem and em). I can not test on igb now, but  belive
it will help too.

Please, commit this fix :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 231659] [em][igb] 12-ALPHA8 r339259 crashes on receive under load

2018-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231659

Lev A. Serebryakov  changed:

   What|Removed |Added

 Status|Open|In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"