Hello, Andrea Monaco, le sam. 27 nov. 2021 22:38:10 +0100, a ecrit: > > Please post the gnumach boot logs, so we can see the biosmem table. > > GNU Mach 1.8 > biosmem: physical memory map: > biosmem: 000000000000000000:00000000000009e800, available > biosmem: 00000000000009e800:0000000000000a0000, reserved > biosmem: 0000000000000e0000:000000000000100000, reserved > biosmem: 000000000000100000:00000000008ecb9000, available > biosmem: 00000000008ecb9000:00000000008f5b9000, reserved > biosmem: 00000000008f5b9000:00000000009c9ce000, available > biosmem: 00000000009c9ce000:00000000009cebe000, reserved > biosmem: 00000000009cebe000:00000000009cfbe000, ACPI NVS > biosmem: 00000000009cfbe000:00000000009cffe000, ACPI > biosmem: 00000000009cffe000:00000000009cfff000, available > biosmem: 00000000009cfff000:0000000000a0000000, reserved
Ok, I see, it's within a segment, and memmmap's call to vm_page_lookup_pa was thus making it return page -1, which was not actually properly dealt with (your program should actually have crashed, not returned bogus data). I have now fixed both issues in gnumach master. Samuel
