On Tue, May 11, 2021 at 4:45 PM Mark Kettenis <mark.kette...@xs4all.nl> wrote: > Nice bit of debugging!
Thanks! This is my first serious go with OpenBSD. > Anyway, here is a diff that prevents the overrun and raises the number > of map entries to 128. Can you try this diff and confirm it works for > you? It works! I also tried cranking the array size down to make sure the break condition works and it does. The system boots even with only 16 entries, but dmesg doesn't report the full memory amount. Out of curiosity, is there a reason why this is just a break instead of a panic? I have no idea if there are any systems that need more than 128 entries, but if they do, they wouldn't be able to use all of the available memory. -- David