system panics now & then

2023-12-05 Thread Jo Geraerts
Synopsis: system used as router panics maybe once a month Category: system Environment: System : OpenBSD 7.4 Details : OpenBSD 7.4 (GENERIC.MP) #0: Sun Oct 22 12:13:42 MDT 2023 r...@syspatch-74-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/G

Re: system panics now & then

2023-12-05 Thread Jo Geraerts
On 2023-12-05 20:00, Alexander Bluhm wrote: *cpu0: receive 1: so 0xfd80259ea760, so_type 3, sb_cc 40 When the multicast routing daemon reads from raw socket, the kernel crashes. Kernel has no data in the queue, but counter says there should be 40 bytes. So it panics. What kind of multicas

Re: system panics now & then

2023-12-05 Thread Jo Geraerts
On 2023-12-05 20:00, Alexander Bluhm wrote: netstat -na and netstat -g output would be useful. fstat -p helps to see for which sockets recvfrom(2) may be called. Sorry, forgot about these Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Ad

Re: system panics now & then

2023-12-05 Thread Jo Geraerts
On 2023-12-05 20:40, Alexander Bluhm wrote: Found a race when we insert the IGMP packet into the socket buffer. Unicast takes a mutex, but multicast code does not. Other than that, I suspect the issue was introduced in 7.3 because (iirc) I never ran into that issue before 7.3. The parallel rece

Re: system panics now & then

2023-12-06 Thread Jo Geraerts
On 2023-12-06 10:32, Alexander Bluhm wrote: Jo Geraerts: Please test anyway so we know whether it fixes your bug. bluhm Your original patch is already applied and compiled, will apply the ipv6 this evening as well and then report back after a month or so. Kr,

Re: system panics now & then

2024-01-19 Thread Jo Geraerts
Hello On 2023-12-06 10:32, Alexander Bluhm wrote: Jo Geraerts: Please test anyway so we know whether it fixes your bug. The issue did not occur anymore. Thanks. Kr, Jo