Skip to content

kernel compilation failure when enable NVDIMM #21

@xxks-kkk

Description

@xxks-kkk

We follow the guide here and enable the NVDIMM for the kernel in order to Setup NVM (DEV-DAX) emulation. After we do make -j4 to build the shipped the kernel, we got the following error message:

<-- snip -->
Setup is 17436 bytes (padded to 17920 bytes).
System is 7506 kB
CRC 32bdaf7c
Kernel: arch/x86/boot/bzImage is ready  (#2)
ERROR: "perfmodel_add_delay" [drivers/nvdimm/nd_pmem.ko] undefined!
ERROR: "nvm_perf_model" [drivers/nvdimm/nd_pmem.ko] undefined!
/home/ubuntu/strata/kernel/linux-4.8.12/scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
/home/ubuntu/strata/kernel/linux-4.8.12/Makefile:1180: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2

Do you have any clue how might this issue got fixed?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions