grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Elliott, Robert (Persistent Memory)
We've noticed that some combinations of grub and old linux kernels end up interpreting the UEFI memory map EfiPersistentMemory type 14 (formerly a reserved value) as regular memory in the linux e820 table, causing silent data corruption on the NVDIMMs. That occurs even though grub prints this

Re: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Andrei Borzenkov
On Wed, Nov 25, 2015 at 2:52 AM, Elliott, Robert (Persistent Memory) wrote: > We've noticed that some combinations of grub and old linux kernels > > end up interpreting the UEFI memory map EfiPersistentMemory type 14 > > (formerly a reserved value) as regular memory in the linux e820 > > table, ca

Re: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Seth Goldberg
It may operate the same, but there may be persistent data in there that the OS wants to preserve across reboots. —S On Nov 25, 2015, at 6:08 AM, Andrei Borzenkov wrote: > On Wed, Nov 25, 2015 at 2:52 AM, Elliott, Robert (Persistent Memory) > wrote: >> We've noticed that some combinations o

RE: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of > Andrei Borzenkov > Sent: Wednesday, November 25, 2015 8:08 AM > To: The development of GNU GRUB > Cc: linux-nvd...@lists.01.org > Subject: Re: grub causing NVDIMMs to be treated as normal m

Re: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Dan Williams
On Wed, Nov 25, 2015 at 6:08 AM, Andrei Borzenkov wrote: > On Wed, Nov 25, 2015 at 2:52 AM, Elliott, Robert (Persistent Memory) > wrote: >> We've noticed that some combinations of grub and old linux kernels >> >> end up interpreting the UEFI memory map EfiPersistentMemory type 14 >> >> (formerly

Re: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Andrei Borzenkov
25.11.2015 02:52, Elliott, Robert (Persistent Memory) пишет: > We've noticed that some combinations of grub and old linux kernels > > end up interpreting the UEFI memory map EfiPersistentMemory type 14 > > (formerly a reserved value) as regular memory in the linux e820 > > table, causing silent

RE: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On > Behalf Of Andrei Borzenkov > Sent: Wednesday, November 25, 2015 12:37 PM > To: The development of GNU GRUB ; > dan.j.willi...@intel.com; linux-nvd...@lists.01.org > Subject: Re: grub causing NVDIMMs

Re: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Andrei Borzenkov
26.11.2015 03:12, Elliott, Robert (Persistent Memory) пишет: > > >> -Original Message- >> From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On >> Behalf Of Andrei Borzenkov >> Sent: Wednesday, November 25, 2015 12:37 PM >> To: The development of GNU GRUB ; >> dan.j.willi...@in

RE: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Andrei Borzenkov [mailto:arvidj...@gmail.com] ... > From the build directory > > pkgdatadir=$PWD ./grub-install --bootloader-id testgrub -d grub-core > > This should install grub in \EFI\testgrub on ESP and add EFI menu for > it. You can add --no-nvram to sk