linux-nvdimm.lists.01.org archive mirror
 help / color / mirror / Atom feed
* daxctl fails to reconfigure to system-ram when DAX modules built-in?
@ 2019-09-03 21:20 Brice Goglin
  2019-09-03 22:39 ` Verma, Vishal L
  0 siblings, 1 reply; 2+ messages in thread
From: Brice Goglin @ 2019-09-03 21:20 UTC (permalink / raw)
  To: linux-nvdimm

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
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-03 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03 21:20 daxctl fails to reconfigure to system-ram when DAX modules built-in? Brice Goglin
2019-09-03 22:39 ` Verma, Vishal L

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).