Le 19/03/2019 à 01:34, Dan Williams a écrit :
On Sat, Mar 16, 2019 at 12:48 PM Dan Williams
<dan.j.williams(a)intel.com> wrote:
> On Sat, Mar 16, 2019 at 11:16 AM Brice Goglin <Brice.Goglin(a)inria.fr> wrote:
>> Le 16/03/2019 à 17:16, Dan Williams a écrit :
>>> What version of ndctl? Sounds like you may be running something prior
>>> to v64 that does not understand the new device topology.
>>
>> It's ndctl from git master, hence 64.1.
>>
>> I am using a similar software kernel+ndctl on a machine with real
>> nvdimms, no problem there. It's only the machine with fake nvdimm using
>> memmap that show this issue.
>>
> Hmm, all my guesses are coming up empty... which usually means there
> is indeed a bug. Let me try some experiments here, but I may need to
> send you a debug patch for more info. Thanks for the memmap=
> insight... I do test with that, but let me see if there is something
> specific about your config.
Brice, may I ask you to run:
udevadm monitor -p
...while running the "ndctl create-namespace" command and send the output?
KERNEL[347.386349] remove /devices/virtual/bdi/259:0 (bdi)
ACTION=remove
DEVPATH=/devices/virtual/bdi/259:0
SEQNUM=3105
SUBSYSTEM=bdi
KERNEL[347.386414] remove
/devices/platform/e820_pmem/ndbus0/region0/namespace0.0/block/pmem0 (block)
ACTION=remove
DEVNAME=/dev/pmem0
DEVPATH=/devices/platform/e820_pmem/ndbus0/region0/namespace0.0/block/pmem0
DEVTYPE=disk
MAJOR=259
MINOR=0
SEQNUM=3106
SUBSYSTEM=block
UDEV [347.387134] remove /devices/virtual/bdi/259:0 (bdi)
ACTION=remove
DEVPATH=/devices/virtual/bdi/259:0
SEQNUM=3105
SUBSYSTEM=bdi
USEC_INITIALIZED=347386388
UDEV [347.388330] remove
/devices/platform/e820_pmem/ndbus0/region0/namespace0.0/block/pmem0 (block)
ACTION=remove
DEVLINKS=/dev/disk/by-path/platform-e820_pmem
DEVNAME=/dev/pmem0
DEVPATH=/devices/platform/e820_pmem/ndbus0/region0/namespace0.0/block/pmem0
DEVTYPE=disk
ID_PATH=platform-e820_pmem
ID_PATH_TAG=platform-e820_pmem
MAJOR=259
MINOR=0
SEQNUM=3106
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=13709764
KERNEL[347.567484] unbind
/devices/platform/e820_pmem/ndbus0/region0/namespace0.0 (nd)
ACTION=unbind
DEVPATH=/devices/platform/e820_pmem/ndbus0/region0/namespace0.0
DEVTYPE=nd_namespace_io
SEQNUM=3107
SUBSYSTEM=nd
UDEV [347.568474] unbind
/devices/platform/e820_pmem/ndbus0/region0/namespace0.0 (nd)
ACTION=unbind
DEVPATH=/devices/platform/e820_pmem/ndbus0/region0/namespace0.0
DEVTYPE=nd_namespace_io
SEQNUM=3107
SUBSYSTEM=nd
USEC_INITIALIZED=347568424