Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1472652
| From | Dan Williams <dan.j.williams@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: DAX can not work on virtual nvdimm device |
| Date | 2016-08-30 19:10 +0200 |
| Message-ID | <sbUHT-7Jg-19@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <s7Tr4-6UW-13@gated-at.bofh.it> <s7WRX-HP-11@gated-at.bofh.it> <sbpE6-4vC-13@gated-at.bofh.it> <sbAzv-30j-13@gated-at.bofh.it> <sbLbA-1lv-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 29, 2016 at 11:53 PM, Xiao Guangrong <guangrong.xiao@linux.intel.com> wrote: > > > On 08/30/2016 03:30 AM, Ross Zwisler wrote: > >> >> Can you please verify that you are using "usable" memory for your memmap? >> All >> the details are here: >> >> >> https://nvdimm.wiki.kernel.org/how_to_choose_the_correct_memmap_kernel_parameter_for_pmem_on_your_system > > > Sure. > > This is the BIOS E820 info in the guest: > > e820: BIOS-provided physical RAM map: > BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable > BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved > BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved > BIOS-e820: [mem 0x0000000000100000-0x00000000bffdefff] usable > BIOS-e820: [mem 0x00000000bffdf000-0x00000000bfffffff] reserved > BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved > BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved > BIOS-e820: [mem 0x0000000100000000-0x000000083fffffff] usable > NX (Execute Disable) protection: active > e820: user-defined physical RAM map: > user: [mem 0x0000000000000000-0x000000000009fbff] usable > user: [mem 0x000000000009fc00-0x000000000009ffff] reserved > user: [mem 0x00000000000f0000-0x00000000000fffff] reserved > user: [mem 0x0000000000100000-0x00000000bffdefff] usable > user: [mem 0x00000000bffdf000-0x00000000bfffffff] reserved > user: [mem 0x00000000feffc000-0x00000000feffffff] reserved > user: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved > user: [mem 0x0000000100000000-0x000000027fffffff] usable > user: [mem 0x0000000280000000-0x00000003ffffffff] persistent (type 12) > user: [mem 0x0000000400000000-0x000000083fffffff] usable > > So that the memory we used to emulate PMEM split the 'usable' region. > >> >> My guess is that Boaz was correct, and that your memmap is off using >> addresses >> that don't actually map to memory. > > > I do not think so. :( > > I did mmap-write and mmap-read test, the data written by mmap-write can be > correctly read out, so that the backend memory is really existing. > Can you post your exact reproduction steps? This test is not failing for me.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: DAX can not work on virtual nvdimm device Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-08-29 10:00 +0200
Re: DAX can not work on virtual nvdimm device Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-08-29 21:40 +0200
Re: DAX can not work on virtual nvdimm device Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-08-30 09:00 +0200
Re: DAX can not work on virtual nvdimm device Dan Williams <dan.j.williams@intel.com> - 2016-08-30 19:10 +0200
Re: DAX can not work on virtual nvdimm device Xiao Guangrong <guangrong.xiao@linux.intel.com> - 2016-08-31 11:00 +0200
Re: DAX can not work on virtual nvdimm device Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-08-31 18:50 +0200
Re: DAX can not work on virtual nvdimm device Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-09-02 05:00 +0200
Re: DAX can not work on virtual nvdimm device Jan Kara <jack@suse.cz> - 2016-09-06 17:10 +0200
Re: DAX can not work on virtual nvdimm device Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-09-08 22:50 +0200
Re: DAX can not work on virtual nvdimm device Jan Kara <jack@suse.cz> - 2016-09-09 11:30 +0200
csiph-web