[bug #64471] grub efi memory allocation (efi/mm) does not work on every machine

Alexey Kuznetsov <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <[email protected]>
Follow-up Comment #4, bug #64471 (project grub):

You are right. Not every EFI works with GRUB_EFI_MAX_USABLE_ADDRESS
0xffffffffffULL. My laptop won't boot if I change it. Grub simply unable to
open drive (ssd) and unlock the key. Not sure what is going on.

Laptop:

[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff]
reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000009cfefff] usable
[    0.000000] BIOS-e820: [mem 0x0000000009cff000-0x000000000a000fff]
reserved
[    0.000000] BIOS-e820: [mem 0x000000000a001000-0x000000000a1fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000000a200000-0x000000000a20efff] ACPI
NVS
[    0.000000] BIOS-e820: [mem 0x000000000a20f000-0x00000000bb251fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bb252000-0x00000000bc755fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000bc756000-0x00000000bc7b1fff] ACPI
data
[    0.000000] BIOS-e820: [mem 0x00000000bc7b2000-0x00000000bc964fff] ACPI
NVS
[    0.000000] BIOS-e820: [mem 0x00000000bc965000-0x00000000bd140fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000bd141000-0x00000000bd1fefff] type 20
[    0.000000] BIOS-e820: [mem 0x00000000bd1ff000-0x00000000bdffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000be000000-0x00000000bfffffff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f7ffffff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd000000-0x00000000fdffffff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000feb80000-0x00000000fec01fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fedc4000-0x00000000fedc9fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fedcc000-0x00000000fedcefff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000fedd5000-0x00000000fedd5fff]
reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff]
reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000041e2fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000041e300000-0x000000043fffffff]
reserved




dmesg | awk '/usable/ && /BIOS-e820/ && match($0, /mem
([0-9a-z]+)-([0-9a-z]+)/,aa){s=strtonum(aa[1]);e=strtonum(aa[2]);if(e-s>1*1024*1024*1024)printf("0x%x-0x%x
%dGB\n",s,e,((e-s)/1024/1024/1024))}' 



0xa20f000-0xbb251fff 2GB
0x100000000-0x41e2fffff 12GB


Desktop memory map on the screenshots.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64471>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.