Hi Mike,
I'm a UMN CS student and just the beginer. I'm working on primary dedup project and read the dm-dedup paper, which might be very useful for me, so I want to try and learn it.
However, when I tried to make dm-dedup as a module and insmod it, it always failed.
make -C /lib/modules/`uname -r`/build M=/root/Downloads/md
make[1]: Entering directory `/usr/src/linux-3.18.5'
Building modules, stage 2.
MODPOST 0 modules
make[1]: Leaving directory `/usr/src/linux-3.18.5'
No module was built after make, and my Makefile is:
dm-dedup-y += dm-dedup-target.o dm-dedup-hash.o dm-dedup-rw.o dm-dedup-cbt.o dm-dedup-ram.o
obj-$(CONFIG_DM_DEDUP) += dm-dedup.o
ifeq ($(CONFIG_DM_UEVENT),y)
dm-mod-objs += dm-uevent.o
endif
all:
make -C /lib/modules/`uname -r`/build M=$(PWD)
clean:
make -C /lib/modules/`uname -r`/build M=$(PWD) clean
install:
install -m 755 *.ko /lib/modules/`uname -r`/kernel/drivers/md/
The dm-dedup source files are pulled from
git://git.fsl.cs.stonybrook.edu/linux-dmdedup.git
branch dm-dedup-devel
Can you help me and give me some advises?
Thanks a lot!
Zhichao
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel