<div dir="ltr"><font size="4">Hi Mike,</font><div style="font-size:13px"><font size="4"><br></font></div><div style="font-size:13px"><font size="4">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. </font></div><div style="font-size:13px"><font size="4"><br></font></div><div style="font-size:13px"><font size="4">However, when I tried to make dm-dedup as a module and insmod it, it always failed.</font></div><div style="font-size:13px"><br></div><div style="font-size:13px"><div>make -C /lib/modules/`uname -r`/build M=/root/Downloads/md</div><div>make[1]: Entering directory `/usr/src/linux-3.18.5'</div><div>  Building modules, stage 2.</div><div>  MODPOST 0 modules</div><div>make[1]: Leaving directory `/usr/src/linux-3.18.5'</div></div><div style="font-size:13px"><br></div><div style="font-size:13px"><font size="4">No module was built after make, and my Makefile is:</font></div><div style="font-size:13px"><br></div><div style="font-size:13px"><div>dm-dedup-y<span style="white-space:pre-wrap">  </span>+= dm-dedup-target.o dm-dedup-hash.o dm-dedup-rw.o dm-dedup-cbt.o dm-dedup-ram.o</div><div><br></div><div>obj-$(CONFIG_DM_DEDUP)<span style="white-space:pre-wrap">          </span>+= dm-dedup.o</div><div><br></div><div>ifeq ($(CONFIG_DM_UEVENT),y)</div><div>dm-mod-objs<span style="white-space:pre-wrap">                     </span>+= dm-uevent.o</div><div>endif</div><div><br></div><div>all:</div><div><span style="white-space:pre-wrap">   </span>make -C /lib/modules/`uname -r`/build M=$(PWD)</div><div>clean:</div><div><span style="white-space:pre-wrap">      </span>make -C /lib/modules/`uname -r`/build M=$(PWD) clean</div><div>install:</div><div><span style="white-space:pre-wrap">      </span>install -m 755 *.ko /lib/modules/`uname -r`/kernel/drivers/md/</div></div><div style="font-size:13px"><br></div><div><font size="4">The dm-dedup source files are pulled from </font><code><span style="font-family:'Times New Roman',serif;color:black"><font size="4">git://<a href="http://git.fsl.cs.stonybrook.edu/linux-dmdedup.git">git.fsl.cs.stonybrook.edu/linux-dmdedup.git</a> </font></span></code></div><div><code><span style="font-family:'Times New Roman',serif;color:black"><font size="4">branch dm-dedup-devel</font></span></code></div><div><font size="4"><br></font></div><div><font size="4">Can you help me and give me some advises?</font></div><div style="font-size:13px"><font size="4"><br></font></div><div style="font-size:13px"><font size="4">Thanks a lot!</font></div><div style="font-size:13px"><br></div><div style="font-size:13px"><font size="4"><br></font></div><div style="font-size:13px"><font size="4">Zhichao</font></div></div>