On Sun, Jun 09, 2024 at 09:58:52AM +0200, BESSOT Jean-Michel wrote: > Hi > > I got the bug in the dmesg and the network doesn’t work. The bug disappeared > after a reboot. Maybe it is already fixed, the snapshot is two weeks old. > > Bye
As previously discussed with you here: https://marc.info/?l=openbsd-bugs&m=171431981319287&w=2 This is a known issue and the cause is probably DMA memory fragmentation. The "fix" should be to move DMA allocations into the attach phase, or at least as early after boot as feasible. And reuse any DMA allocation already made, rather than releasing DMA memory when the interface goes down and then trying to reallocate it all when the interface comes back up. I have not yet found spare time to rewrite the way allocations are done in this driver. Help is welcome.