Closed thomas-huangTw closed 3 years ago
You are building NOVA kernel 5.1 on a 4.15 kernel. After building you have to install the kernel and reboot to the 5.1 kernel. Then modprobe should work.
On Mon, Jul 6, 2020, 00:45 thomashuang notifications@github.com wrote:
i have already try to install NOVA fs on ubuntu 18.04.1(kernel version 4.15.0-109-generic) VM. I am executing a set of commands:
- root@nova:~# git clone https://github.com/NVSL/linux-nova.git https://urldefense.com/v3/__https://github.com/NVSL/linux-nova.git__;!!Mih3wA!VoWhkLIaAEnEwGLd8q0LV7zH9a1WEfkkaUX1Tgh4fQy1VrEIxXc3qq16MqfkUJROcoVC$
- root@nova:~# cd ./linux-nova-5.1
- root@nova:~# make menuconfig
Device Drivers ---> <> NVDIMM (Non-Volatile Memory Device) Support ---> <> PMEM: Persistent memory block device support (NEW) <> BLK: Block data window (aperture) device support (NEW) [] BTT: Block Translation Table (atomic sector updates) Processor type and features ---> <> Support non-standard NVDIMMs and ADR protected memory Memory Management options ---> [] Allow for memory hot-add [] Online the newly added memory blocks by default [] Allow for memory hot remove [] Device memory (pmem, HMM, etc...) hotplug support File systems ---> [] Direct Access (DAX) support
CONFIG_LIBNVDIMM=y CONFIG_BLK_DEV_PMEM=y CONFIG_FS_DAX=y CONFIG_NOVA_FS=m
- root@nova:~# make -j4
- root@nova:~# make modules_install
- root@nova:~# make install
vim /etc/default/grubGRUB_CMDLINE_LINUX="memmap=512M!4096M"
- root@nova:~# modprobe nova
modprobe: FATAL: Module nova not found in directory /lib/modules/4.15.0-109-generic
What else needs to be done? Or what is the most suitable ubuntu installation environment to install NOVA fs(version 18 or higher, cause need to install cdctl and impctl tool)?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/NVSL/linux-nova/issues/82__;!!Mih3wA!VoWhkLIaAEnEwGLd8q0LV7zH9a1WEfkkaUX1Tgh4fQy1VrEIxXc3qq16MqfkUGbh-blm$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAKBYEDSBNKTB57OQNPLI7DR2F6IRANCNFSM4ORKWOGA__;!!Mih3wA!VoWhkLIaAEnEwGLd8q0LV7zH9a1WEfkkaUX1Tgh4fQy1VrEIxXc3qq16MqfkUFamUxtv$ .
after upgrade kernel to 5.1.0, as below:
root@nova:~# uname -r
5.1.0-050100-generic
root@nova:~# lsb_release -a
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
and i install again: root@nova:~# make menuconfig
Device Drivers --->
<*> NVDIMM (Non-Volatile Memory Device) Support --->
<*> PMEM: Persistent memory block device support (NEW)
<*> BLK: Block data window (aperture) device support (NEW)
[*] BTT: Block Translation Table (atomic sector updates)
Processor type and features --->
<*> Support non-standard NVDIMMs and ADR protected memory
Memory Management options --->
[*] Allow for memory hot-add
[*] Online the newly added memory blocks by default
[*] Allow for memory hot remove
[*] Device memory (pmem, HMM, etc...) hotplug support
File systems --->
[*] Direct Access (DAX) support
<M> NOVA: log-structured file system for non-volatile memories
CONFIG_LIBNVDIMM=y
CONFIG_BLK_DEV_PMEM=y
CONFIG_FS_DAX=y
CONFIG_NOVA_FS=m
but i still get : root@nova:~# modprobe nova modprobe: FATAL: Module nova not found in directory /lib/modules/5.1.0-050100-generic
What else needs to be done? Or what is the most suitable ubuntu installation environment to install NOVA fs(version 18 or higher, cause need to install cdctl and impctl tool)?
I think there is a misunderstanding somehow. The 5.1.0-050100-generic kernel you upgrade to is from Ubuntu, I guess? It is not the linux-nova kernel (also 5.1) that contains NOVA module.
After the make install command:
root@nova:~# make -j4 root@nova:~# make modules_install root@nova:~# make install
Reboot the system (or VM), in grub, boot into the 5.1 kernel installed (not the 5.1.0-050100-generic one), and then try modprobe.
BTW: I suggest trying NOVA on bare-metal machine, not VM. We have seen some issues with NOVA running on VM.
i have already try to install NOVA fs on ubuntu 18.04.1(kernel version 4.15.0-109-generic) VM. I am executing a set of commands:
root@nova:~# git clone https://github.com/NVSL/linux-nova.git
root@nova:~# cd ./linux-nova-5.1
root@nova:~# make menuconfig
CONFIG_LIBNVDIMM=y CONFIG_BLK_DEV_PMEM=y CONFIG_FS_DAX=y CONFIG_NOVA_FS=m
root@nova:~# make -j4
root@nova:~# make modules_install
root@nova:~# make install
What else needs to be done? Or what is the most suitable ubuntu installation environment to install NOVA fs(version 18 or higher, cause need to install cdctl and impctl tool)?