loaded module is not listed - help
I have built an external module with the following flags, under kernel 2.6.5:
KCOMP = -I . -D__KERNEL__ -I$(KERNELDIR)/include \
-Wall -Werror -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-fomit-frame-pointer -mpreferred-stack-boundary=2 \
-march=i686 -O2 -pipe \
-DMODULE -DMODVERSIONS -include \
(KERNELDIR)/include/config/modversions.h \
-DEXPORT_SYMTAB \
-DKBUILD_BASENAME -DKBUID_MODNAME
I can successfully load the module using 'insmod'. However, a 'lsmod' does not list my module and a 'rmmod' give me an error, stating that the file
does not exist in '/proc/modules'
Can anyone point out the errors in my ways?
Thanks,
dklaming
|