[Bug 241191] route flush panic with RADIX_MPATH

2022-12-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

Alexander V. Chernikov  changed:

   What|Removed |Added

 Resolution|--- |Overcome By Events
 Status|Open|Closed

--- Comment #15 from Alexander V. Chernikov  ---
Thank you for the feedback and the warm wishes!
Closing this one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 241191] route flush panic with RADIX_MPATH

2022-12-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #14 from Andrey Linkevich  ---
colleagues, good afternoon. Happy New Year.

On FreeBSD 14.0-CURRENT #0 main-n259842-c89209c674f2: Sat Dec 24 03:59:18 UTC
2022 the problem was not repeated.

I agree that the Bug can be closed. If you manage to repeat the problem on the
new OS in the future, I will definitely inform you.

Thank you all. Happy New Year!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 241191] route flush panic with RADIX_MPATH

2022-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #13 from Alexander V. Chernikov  ---
I'm going to close it with won't fix on Friday, December 30 if no objections
arise

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


[Bug 241191] route flush panic with RADIX_MPATH

2022-11-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #12 from Gleb Smirnoff  ---
(In reply to Andrey Linkevich from comment #6)
Do you have any update? Does the bug reproduce in FreeBSD 13 or FreeBSD 14?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


[Bug 241191] route flush panic with RADIX_MPATH

2021-05-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #11 from Alexander V. Chernikov  ---
For the record: it indeed was a different bug and it was fixed in
https://cgit.FreeBSD.org/src/commit/?id=aad59c79f5f2b1881c6613b1b0b6ac7be8eb474b

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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 241191] route flush panic with RADIX_MPATH

2021-05-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #10 from Michael  ---
(In reply to Gleb Smirnoff from comment #8)
route -qn flush
this is actually the same as
route delete
multi, for all route's

... and, RADIX_MPATH now renamed to ROUTE_MPATH (from 13.0)
https://reviews.freebsd.org/D26449

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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 241191] route flush panic with RADIX_MPATH

2021-05-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #9 from Michael  ---
Create new thread (Fatal trap 12 in ROUTE_MPATH variant "route delete"):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255665

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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 241191] route flush panic with RADIX_MPATH

2021-05-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #8 from Gleb Smirnoff  ---
(In reply to Michael from comment #7)

Michael, I'm pretty sure the bug you see with 14.0-CURRENT is different to the
bug Andrey reports. Can you please file a separate bug report?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list 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 241191] route flush panic with RADIX_MPATH

2021-05-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

Michael  changed:

   What|Removed |Added

 CC||michael@gmail.com

--- Comment #7 from Michael  ---

FreeBSD 14.0-CURRENT (GENERIC)
All parameters are default.

In /boot/loader.conf -> if_wg_load="YES"

In /etc/rc.conf -> wireguard_interfaces="wg0 wg1 wg2 wg3"

In wg0.conf ... wg3.conf (almost everything is identical) :
[Interface]
Address = 10.127.0.9/30
PrivateKey = ...=
ListenPort = 46010
Table = off
[Peer]
PublicKey = ...=
AllowedIPs = 10.18.0.0/22, 10.127.0.8/30, 172.16.42.0/24
Endpoint = A.B.C.D:46010
PersistentKeepalive = 25

#> ifconfig
wg0: flags=80c1 metric 0 mtu 1420
options=8
inet 10.127.0.9 netmask 0xfffc
groups: wg
nd6 options=109
wg1: flags=80c1 metric 0 mtu 1420
options=8
inet 10.127.0.13 netmask 0xfffc
groups: wg
nd6 options=109
wg2: flags=80c1 metric 0 mtu 1420
options=8
inet 10.127.0.17 netmask 0xfffc
groups: wg
nd6 options=109
wg3: flags=80c1 metric 0 mtu 1420
options=8
inet 10.127.0.21 netmask 0xfffc
groups: wg
nd6 options=109

#> netstat -rn4
Routing tables
Internet:
DestinationGatewayFlags Netif Expire
defaultE.F.G.HUGS hn1
10.127.0.8/30  link#7 U   wg0
10.127.0.9 link#7 UHS lo0
10.127.0.12/30 link#8 U   wg1
10.127.0.13link#8 UHS lo0
10.127.0.16/30 link#9 U   wg2
10.127.0.17link#9 UHS lo0
10.127.0.20/30 link#10U   wg3
10.127.0.21link#10UHS lo0
51.83.179.112  link#5 UH  hn1
51.83.236.254  link#5 UHS hn1
127.0.0.1  link#1 UH  lo0
172.16.42.0/24 link#4 U   hn0
172.16.42.2link#4 UHS lo0

Let's try to delete a non-existing route:
#> route delete 10.18.0.0/22 10.127.0.10
route: route has not been found
delete net 10.18.0.0: gateway 10.127.0.10 fib 0: not in table

  At this stage, everything is ok.

Adding routes:
route add 10.18.0.0/22 10.127.0.10
route add 10.18.0.0/22 10.127.0.14
route add 10.18.0.0/22 10.127.0.18
route add 10.18.0.0/22 10.127.0.22

#> netstat -rn4
Routing tables
Internet:
DestinationGatewayFlags Netif Expire
defaultE.F.G.HUGS hn1
10.18.0.0/22   10.127.0.14UGS wg1
10.18.0.0/22   10.127.0.10UGS wg0
10.18.0.0/22   10.127.0.22UGS wg3
10.18.0.0/22   10.127.0.18UGS wg2
10.127.0.8/30  link#7 U   wg0
10.127.0.9 link#7 UHS lo0
10.127.0.12/30 link#8 U   wg1
10.127.0.13link#8 UHS lo0
10.127.0.16/30 link#9 U   wg2
10.127.0.17link#9 UHS lo0
10.127.0.20/30 link#10U   wg3
10.127.0.21link#10UHS lo0
51.83.179.112  link#5 UH  hn1
51.83.236.254  link#5 UHS hn1
127.0.0.1  link#1 UH  lo0
172.16.42.0/24 link#4 U   hn0
172.16.42.2link#4 UHS lo0

In /var/log/messages -> the message appears:
kernel: FIB: enabled flowid calculation for locally-originated packets

Let's try to delete a existing one route:
#> route delete 10.18.0.0/22 10.127.0.10
delete net 10.18.0.0: gateway 10.127.0.10 fib 0

Let's try to delete a non-existing route (let's say we made a mistake in the
figure):
#> route delete 10.18.0.0/22 10.127.0.50

kernel: Fatal trap 12: page fault while in kernel mode
kernel: cpuid = 1; apic id = 01
kernel: fault virtual address= 0x18
kernel: fault code   = supervisor read data, page not present
kernel: instruction pointer  = 0x20:0x80d779f4
kernel: stack pointer= 0x28:0xfe00b54f14f0
kernel: frame pointer= 0x28:0xfe00b54f14f0
kernel: code segment = base 0x0, limit 0xf, type 0x1b
kernel:  = DPL 0, pres 1, long 1, def32 0, gran 1
kernel: processor eflags = interrupt enabled, resume, IOPL = 0
kernel: current process  = 1648 (route)
kernel: trap number  = 12
kernel: panic: page fault
kernel: cpuid = 1
kernel: time = 1620308885
kernel: KDB: stack backtrace:
kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfe00b54f11a0
kernel: vpanic() at vpanic+0x181/frame 0xfe00b54f11f0
kernel: panic() at panic+0x43/frame 0xfe00b54f1250
ke

[Bug 241191] route flush panic with RADIX_MPATH

2021-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #6 from Andrey Linkevich  ---
Hello, Alexander.

We will definitely check the 13.

Thanks/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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 241191] route flush panic with RADIX_MPATH

2021-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

Alexander V. Chernikov  changed:

   What|Removed |Added

   Assignee|melif...@freebsd.org|n...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list 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 241191] route flush panic with RADIX_MPATH

2021-04-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

--- Comment #5 from Alexander V. Chernikov  ---
Hi Andrey,

I would like to apologise for the extremely belated reply.
Thank you for submitting the fixes for the RADIX_MPATH!
Properly-working multipath is a must-have for the modern networking OS.

The routing stack got quite a lot of attention in the last year. As a result,
the newer FreeBSD versions (starting from 13.0) features rewritten routing
stack & multipath implementation. Multipath is now enabled by default.

I'd suggest considering trying it out (preferably, 13-stable branch).


Unfortunately, I don't have cycles to look & merge the patch to 12-S branch, so
passing the bug back to -net to allow someone else to potentially pick it.

-- 
You are receiving this mail because:
You are on the CC list 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 241191] route flush panic with RADIX_MPATH

2020-04-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

Alexander V. Chernikov  changed:

   What|Removed |Added

   Assignee|n...@freebsd.org |melif...@freebsd.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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 241191] route flush panic with RADIX_MPATH

2019-10-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241191

Kubilay Kocak  changed:

   What|Removed |Added

 Status|New |Open
 CC||gleb...@freebsd.org,
   ||melif...@freebsd.org,
   ||n...@freebsd.org
  Flags||maintainer-feedback?(melifa
   ||r...@freebsd.org),
   ||maintainer-feedback?(glebiu
   ||s...@freebsd.org),
   ||mfc-stable11?,
   ||mfc-stable12?
 Blocks||240700
   Keywords|panic, patch|needs-qa
   Assignee|b...@freebsd.org|n...@freebsd.org

--- Comment #4 from Kubilay Kocak  ---
Crash report with patch on stable/12, potential 12.1-R candidate

CC recent committers around that section of code


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240700
[Bug 240700] [META] FreeBSD 12.1-RELEASE blockers
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list 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"