Re: [PATCH] Bus error on ARMv7 when using OSPF

2024-12-17 Thread nick via Bird-users
On 12/16/24 8:54 PM, Ondrej Zajicek wrote: On Mon, Jun 28, 2021 at 09:46:55AM +0100, Matthew Reeve wrote: On 24/06/2021 13:08, Ondrej Zajicek wrote: Thanks, that looks like an issue with slists. We had similar issue with lists code in the past and reworked them to be more conservative. Will ch

Re: Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-17 Thread nick via Bird-users
Hey, I did a PR for the routing feed containing your latest patch [0]. I hope everything is alright. I'm looking forward to the BIRD 3 release. If I need to test something, I'm happy to help. I can also give you SSH access via IPv6 to an OpenWrt device for testing, if you'd like. [0] - https

Re: [PATCH] Bus error on ARMv7 when using OSPF

2024-12-16 Thread nick via Bird-users
Hi everyone, I’m bringing up this old thread from three years ago about the OSPF bus error [0]. Back then, we ran into an issue similar to the BGP bus error [1] and ended up applying a downstream patch in the OpenWrt routing feed [2] to fix it. We’ve been carrying that patch ever since, and

Re: Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-16 Thread nick via Bird-users
Dear all, Apologies for the earlier confusion—my toolchain was misconfigured, and I mistakenly compiled the unpatched BIRD sources. Upon correcting this, I believe the first patch already addresses the issue. However, I noticed that the two patches result in different alignments. Below is a s

Re: Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-11 Thread nick via Bird-users
regard the previous patch. Can you try the first attached patch (log-alignment.patch) to log alignment of different structures with or without the second patch (net-addr-u32-align.patch) and report me results? On 12/11/24 1:41 AM, Ondrej Zajicek wrote: On Tue, Dec 10, 2024 at 09:15:46PM +0100, nic

Re: [PATCH v3] Babel: Replace internal route selection by bird's nest

2024-12-11 Thread nick via Bird-users
Hi BIRD-Community, I wanted to bring this patch back into focus. We run a non-commercial WISP-network with Babel and switched to BIRD due to limitations in babeld. While BIRD works great, we urgently need this patch for better route filtering flexibility. It’d be great to see this upstream to

Re: Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-10 Thread nick via Bird-users
/tree/main/u64patch On 12/11/24 1:41 AM, Ondrej Zajicek wrote: On Tue, Dec 10, 2024 at 09:15:46PM +0100, nick via Bird-users wrote: I also uploaded the coredumpfile: https://github.com/PolynomialDivision/coredumpupload/blob/main/bird_coredump Thanks. This seems like an interesting issue. In BIRD

Re: Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-10 Thread nick via Bird-users
I also uploaded the coredumpfile: https://github.com/PolynomialDivision/coredumpupload/blob/main/bird_coredump On 12/10/24 8:56 PM, nick via Bird-users wrote: Sorry for the long response time. Here is the requested output: Program received signal SIGBUS, Bus error. 0x00056fc0 in

Re: Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-10 Thread nick via Bird-users
= 16 (gdb) p px $2 = (struct bgp_prefix *) 0xb6eac01c (gdb) p (uintptr_t)px % 4 $3 = 0 (gdb) p (uintptr_t)px % 8 $4 = 4 On 12/6/24 3:16 AM, Ondrej Zajicek wrote: On Thu, Dec 05, 2024 at 11:35:13PM +0100, nick via Bird-users wrote: Dear BIRD Community, I am writing to report a bug observed in the

Bug Report: Unaligned Access in BGP Code on ARMv7 Platforms

2024-12-05 Thread nick via Bird-users
Dear BIRD Community, I am writing to report a bug observed in the BGP implementation on ARMv7 platforms, which results in a SIGBUS error due to unaligned memory access in the NEON assembler code. I debugged this issue on version 2.15.1 of BIRD. ### Problem Description When running BIRD on A