daxctl fails to reconfigure to system-ram when DAX modules built-in?
Hello
It looks like daxctl fails to reconfigure to system-ram when DAX modules are built-in the kernel:
$ daxctl reconfigure-device --mode=system-ram dax1.0 -v libdaxctl: daxctl_insert_kmod_for_mode: dax1.0: a modalias lookup list was not created error reconfiguring devices: No such device or address reconfigured 0 devices
It looks like things were failing in kmod_module_new_from_lookup()
I changed my .config with this and now it works:
-CONFIG_DEV_DAX=y
-CONFIG_DEV_DAX_PMEM=y
-CONFIG_DEV_DAX_KMEM=y
+CONFIG_DEV_DAX=m
+CONFIG_DEV_DAX_PMEM=m
+CONFIG_DEV_DAX_KMEM=m
(and +CONFIG_DEV_DAX_PMEM_COMPAT=m but it's now disabled in modprobe.d)
This is with 5.2.11.
Thanks
Brice
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm
Verma, Vishal L
maintainerQuoted 5 lines · Brice Goglin
Hello
It looks like daxctl fails to reconfigure to system-ram when DAX modules are built-in the kernel:
Quoted 7 lines
$ daxctl reconfigure-device --mode=system-ram dax1.0 -v libdaxctl: daxctl_insert_kmod_for_mode: dax1.0: a modalias lookup list was not created error reconfiguring devices: No such device or address reconfigured 0 devicesIt looks like things were failing in
kmod_module_new_from_lookup()
Hi Brice,
Thanks for the report - Dave Hansen also hit this recently, and I'll take a look at kmod builtin detection. I've created a github issue for this:
https://github.com/pmem/ndctl/issues/108
-Vishal
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm