[gem5-users] Re: Persistent memory with gem5

2023-05-22 Thread Vincent Abraham via gem5-users
Thank you! This resolved the issue. On Mon, May 22, 2023 at 4:55 PM Poremba, Matthew wrote: > [AMD Official Use Only - General] > > Hi, > > > > > > By compiled as a module, the Linux `.config` file should have > CONFIG_PMEM_xxx=y (i.e., not …=m). > > > > I did a quick test with the ubuntu20 disk

[gem5-users] Re: Persistent memory with gem5

2023-05-22 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only - General] Hi, By compiled as a module, the Linux `.config` file should have CONFIG_PMEM_xxx=y (i.e., not …=m). I did a quick test with the ubuntu20 disk image and kernel downloaded from the gem5 website. I just added the `memmap=4G!12G` kernel parameter to FSConfig.py

[gem5-users] Re: Persistent memory with gem5

2023-05-22 Thread Vincent Abraham via gem5-users
It would be great if I could get some help with this issue. It seems as if the simulated system is not able to find the PMEM driver for some reason. I'm using the linux 4.19.283 kernel version and the ubuntu 16.04 distro. On Sat, May 20, 2023 at 8:30 PM Vincent Abraham wrote: > Greetings, > I tr

[gem5-users] Re: Persistent memory with gem5

2023-05-20 Thread Vincent Abraham via gem5-users
Greetings, I tried passing the memmap command as a part of the cmdline variable as well. I just wrote memmap=4G!12G at the end of the string. Even by doing this, I'm still not able to find the pmem partition in /dev. As mentioned earlier, the e820 table is displayed correctly and I can see the pers

[gem5-users] Re: Persistent memory with gem5

2023-05-20 Thread Vincent Abraham via gem5-users
Greetings, Thanks for responding. Could you tell me what exactly do you mean by 'building it into the kernel directly'? I've changed the kernel configuration to reflect PMEM as a module and all of the other changes that are done in the website. I didn't pass the memmap argument yet, I just reserved

[gem5-users] Re: Persistent memory with gem5

2023-05-20 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only - General] Hi, Are you building pmem as a module as described in the blog? (“ PMEM: Persistent memory block device support”) If so, I would try building it into the kernel directly. It is possibly looking for the module for your compiled kernel and does not find it on