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 memory with the X86E820() function in the gem5 configuration file and that did the job of the table displaying correctly. I'll try passing the command to the argument directly
On Sat, 20 May 2023, 13:29 Poremba, Matthew, <matthew.pore...@amd.com> wrote: > [AMD Official Use Only - General] > > Hi, > > > > > > Are you building pmem as a module as described in the blog? (“<M> 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 the disk image. > > > > You’ll also have to add “memmap=4G!12G” to cmdline variable in the > makeLinuxX86System function in configs/common/FSConfig.py if you are using > fs.py. > > > > > > -Matt > > > > *From:* Vincent Abraham via gem5-users <gem5-users@gem5.org> > *Sent:* Saturday, May 20, 2023 9:14 AM > *To:* gem5-users@gem5.org > *Cc:* Vincent Abraham <vincent....@gmail.com> > *Subject:* [gem5-users] Persistent memory with gem5 > > > > *Caution:* This message originated from an External Source. Use proper > caution when opening attachments, clicking links, or responding. > > > > I want to configure persistent memory in the RAM (similar to > https://pmem.io/blog/2016/02/how-to-emulate-persistent-memory/) and just > run a basic FS setup (I'm running fs.py for now). I'm able to reserve the > persistent memory space (with the X86E820Entry() function in the config > file) and the e820 table is displayed correctly. But on booting up, I can't > find any disk named pmem in /dev. Is there anything that I'm missing out > here? Any help with this would be much appreciated. >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org