Not all RAM usable in ACRN user VM


c.susen@...
 

Hi everyone,

I am probably making some kind of stupid mistake but cannot figure out the problem. Therefore, I would really appreciate if someone could give me a hint on how to proceed. I upgraded the PC that I use to run the ACRN hypervisor from 8 GB of RAM to 40 GB of RAM by adding two 16 GB bars (previously I had two 4 GB bars). When I use the generic Ubuntu kernel, everything works without problems and the memory is recognized and usable. However, when I use the ACRN kernel (version 2.6), and run the "free" command, only 16 GB of the memory are shown. When running "sudo lshw | grep -A 9 bank", all four bars are shown correctly as you can see below.

*-bank:0
     description: DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
     product: HMA851U6CJR6N-VK
     vendor: Hynix Semiconductor (Hyundai Electronics)
     physical id: 0
     serial: 2E9F46C3
     slot: DIMM1
     size: 4GiB
     width: 64 bits
     clock: 2666MHz (0.4ns)
*-bank:1
     description: DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
     product: HMA851U6CJR6N-VK
     vendor: Hynix Semiconductor (Hyundai Electronics)
     physical id: 1
     serial: 2E9F47C5
     slot: DIMM2
     size: 4GiB
     width: 64 bits
     clock: 2666MHz (0.4ns)
*-bank:2
     description: DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
     product: 9905734-073.A00G
     vendor: AMD
     physical id: 2
     serial: 2AAB4317
     slot: DIMM3
     size: 16GiB
     width: 64 bits
     clock: 2666MHz (0.4ns)
*-bank:3
     description: DIMM DDR4 Synchronous 2666 MHz (0.4 ns)
     product: 9905734-073.A00G
     vendor: AMD
     physical id: 3
     serial: F36B433B
     slot: DIMM4
     size: 16GiB
     width: 64 bits
     clock: 2666MHz (0.4ns)

So far I only created a new board configuration file and recompiled kernel and hypervisor. Apart from that, I did not make any change to the system and installation except for adding the two RAM bars.

Thanks in advance for your help!

Best regards,
Christoph

Join {acrn-users@lists.projectacrn.org to automatically receive all group messages.