I get nothing in dmesg when I run enable-namespace all:
root@focal-nvdimm:~# ndctl enable-namespace all
libndctl: ndctl_namespace_enable: namespace1.0: failed to enable
libndctl: ndctl_namespace_enable: namespace0.0: failed to enable
error enabling namespaces: No such device or address
enabled 0 namespaces

But when I run create-namespace:
root@focal-nvdimm:~# ndctl create-namespace -v
libndctl: ndctl_pfn_enable: pfn1.0: failed to enable
  Error: namespace1.0: failed to enable

failed to create namespace: No such device or address

I get:
[Fri Jan 31 09:24:29 2020] init_dpa_allocation: nd_region region1: nmem1: 
pmem-reserve: 0x3fe00000 @ 0x0 init 0
[Fri Jan 31 09:24:29 2020] del_labels: nvdimm nmem1: no more active labels
[Fri Jan 31 09:24:29 2020] uuid_store: nd namespace1.0: result: 0 wrote: 
df662f5c-56d0-46c6-9feb-b8a51aa53e8c
[Fri Jan 31 09:24:29 2020] del_labels: nvdimm nmem1: no more active labels
[Fri Jan 31 09:24:29 2020] alt_name_store: nd namespace1.0: (0)
[Fri Jan 31 09:24:29 2020] init_dpa_allocation: nd_region region1: nmem1: 
pmem-reserve: 0x3fe00000 @ 0x0 init 0
[Fri Jan 31 09:24:29 2020] init_dpa_allocation: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 init 0
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 0
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 0
[Fri Jan 31 09:24:29 2020] size_store: nd namespace1.0: 3fe00000 success (0)
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 0
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 0
[Fri Jan 31 09:24:29 2020] sector_size_store: nd namespace1.0: result: 0 wrote: 
512

[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 0
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 0
[Fri Jan 31 09:24:29 2020] holder_class_store: nd namespace1.0: (0)
[Fri Jan 31 09:24:29 2020] uuid_store: nd pfn1.0: result: 0 wrote: 
3a2b9e27-4b1a-4b60-bc7d-08e21926496b
[Fri Jan 31 09:24:29 2020] mode_store: nd pfn1.0: result: 0 wrote: pmem
[Fri Jan 31 09:24:29 2020] align_store: nd pfn1.0: result: 0 wrote: 2097152

[Fri Jan 31 09:24:29 2020] namespace_store: nd pfn1.0: result: 13 wrote: 
namespace1.0
[Fri Jan 31 09:24:29 2020] namespace_store: nd pfn1.0: result: 2 wrote: 

[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 0
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nvdimm nmem1: allocated: 1
[Fri Jan 31 09:24:29 2020] __pmem_label_update: nd_region region1: nmem1: 
pmem-df662f5c: 0x3fe00000 @ 0x0 
[Fri Jan 31 09:24:29 2020] reap_victim: nvdimm nmem1: free: 0
[Fri Jan 31 09:24:29 2020] holder_class_store: nd namespace1.0: (0)
[Fri Jan 31 09:24:29 2020] scan_free: nd_region region1: nmem1: pmem-df662f5c: 
0x3fe00000 @ 0x0 delete 0
[Fri Jan 31 09:24:29 2020] del_labels: nvdimm nmem1: free: 1
[Fri Jan 31 09:24:29 2020] del_labels: nvdimm nmem1: no more active labels
[Fri Jan 31 09:24:29 2020] size_store: nd namespace1.0: 0 success (0)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853506

Title:
  [MIR] ndctl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ndctl/+bug/1853506/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to