FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.28k stars 1.24k forks source link

ZEBRA: [EC 100663303] kernel_rtm: rtm_write() unexpectedly returned -4 for command RTM_DELETE #10827

Closed liuxyon closed 2 years ago

liuxyon commented 2 years ago

frr 7.5.1 in pfsense 2.6 system. Where could this go wrong? How can i fix it? log show a lot of wrong:

2022/03/19 02:40:34 ZEBRA: [EC 100663303] kernel_rtm: 2a10:cc42:1d51::/48: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:34 ZEBRA: [EC 100663303] kernel_rtm: 2a10:cc45:7e3::/48: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:35 ZEBRA: [EC 100663303] kernel_rtm: 2a02:e00::/32: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:35 ZEBRA: [EC 100663303] kernel_rtm: 2a02:e00::/32: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:35 ZEBRA: [EC 100663303] kernel_rtm: 2a03:402::/32: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:35 ZEBRA: [EC 100663303] kernel_rtm: 2a03:402::/32: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:35 ZEBRA: [EC 100663303] kernel_rtm: 2a02:e00:fff0::/48: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:35 ZEBRA: [EC 100663303] kernel_rtm: 2a02:e00:fff0::/48: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:36 ZEBRA: [EC 100663303] kernel_rtm: 2a02:1720::/32: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:36 ZEBRA: [EC 100663303] kernel_rtm: 2a02:1720::/32: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:37 ZEBRA: [EC 100663303] kernel_rtm: 2a10:cc45:480::/48: rtm_write() unexpectedly returned -4 for command RTM_DELETE 2022/03/19 02:40:37 ZEBRA: [EC 100663303] kernel_rtm: 2a10:cc45:6b5::/48: rtm_write() unexpectedly returned -4 for command RTM_DELETE

donaldsharp commented 2 years ago

A route is attempting to be deleted but it does not exist in the kernel's routing table. There is insufficient data here to diagnose what has happened at a fundamental level. To diagnose this what is going on in the system from before to after needs to be looked at. Is this repeatable? What OS is this? More data is needed

liuxyon commented 2 years ago

pfsnese 2.6 stable version. But this problem has been happening for a long time. https://frafiles.netgate.com/mirror/downloads/pfSense-CE-2.6.0-RELEASE-amd64.iso.gz

What data and logs are required? I will provide it to you.

liuxyon commented 2 years ago

https://redmine.pfsense.org/issues/12951?next_issue_id=12950&prev_issue_id=12954

liuxyon commented 2 years ago

Is it something to do with setting up a lot of static routes? like: ip router-id 10.50.1.254 ip route 1.0.1.0/24 pppoe0 ip route 1.0.2.0/23 pppoe0 ip route 1.0.8.0/21 pppoe0 ip route 1.0.32.0/19 pppoe0 ip route 1.1.0.0/24 pppoe0 ipv6 route 2604:8800::/32 pppoe0

qlyoung commented 2 years ago

CF / Dupe https://github.com/FRRouting/frr/issues/5252

donaldsharp commented 2 years ago

I believe this was addressed in f2f2a16af48137d5f29cc85f08593542002e5bd0 My mistake I should have put a fixes tag. but I slipped up