No,there is no make install or modules install with the Makefile. I did the following: make (as root) mkdir -p /lib/modules/misc && cp cloop.ko /lib/modules/misc/ (as root) depmod -a (as root) mknod /dev/cloop b 240 0 (as root) mknod /dev/cloop1 b 240 1 .... In fact, at first it wouldn't compile because of the lines in Makefile: ifdef APPSONLY CFLAGS:=-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer else include $(KERNEL_DIR)/.config include $(KERNEL_DIR)/conf.vars ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~I commented this line endif .... ifdef CONFIG_MODVERSIONS MODVERSIONS:= -DMODVERSIONS -include $(KERNEL_DIR)/include/linux/modversions.h CKERNOPS += $(MODVERSIONS) endif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~cannot find modversions.h, so I commented them # Name of module ifeq ($(PATCHLEVEL),6) MODULE:=cloop.ko else MODULE:=cloop.o endif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~strange enough, even though I have a 2.6.7 kernel, the object file made was cloop.o rather than cloop.ko. I forced it to make cloop.ko, though. Everything looks good so far, after I commented some of the lines. However, when I tried to modprove cloop, FATAL: Module cloop not found Then I tried insmod /lib/modules/2.6.5-7.95-default/extra/cloop.ko insmod: error inserting '/lib/modules/2.6.5-7.95-default/extra/cloop.ko': -1 Invalid module format Really have no idea why this happens. Please anybody help me!! Many thanks Lei On Fri, 2004-07-30 at 10:34, Christophe Lucas wrote: > Lei Yang (leiyang@xxxxxxxxxxxx) wrote: > > Well, I've also tried 'insmod /path/to/cloop.ko' and there is a same > > error. This has been bothering me ever since this morning:( > > > > Is there anyone who has had the same problem before? > > Is there any make install or modules install with your Makefile to put > your modules in /lib/modules/`uname -r`/misc or else where ;-) > afterwards: > depmod -a > modprobe cloop > > HTH -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/