Hello,
I am trying to compile the unusual_devs module for my stock Xen kernel, however I am having some trouble and would appreciate any input.
After downloading fresh kernel source and symvers, then copying over my running config and ran #make oldconfig && make prepare I then try to compile the /usb/storage modules with:
Callandor:/usr/src/linux-2.6.25.18-0.2 # make M=drivers/usb/storage/
WARNING: Symbol version dump /usr/src/linux-2.6.25.18-0.2/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] drivers/usb/storage/scsiglue.o
CC [M] drivers/usb/storage/protocol.o
CC [M] drivers/usb/storage/transport.o
CC [M] drivers/usb/storage/usb.o
CC [M] drivers/usb/storage/initializers.o
CC [M] drivers/usb/storage/shuttle_usbat.o
CC [M] drivers/usb/storage/sddr09.o
CC [M] drivers/usb/storage/sddr55.o
CC [M] drivers/usb/storage/freecom.o
CC [M] drivers/usb/storage/dpcm.o
CC [M] drivers/usb/storage/isd200.o
CC [M] drivers/usb/storage/datafab.o
CC [M] drivers/usb/storage/jumpshot.o
CC [M] drivers/usb/storage/alauda.o
CC [M] drivers/usb/storage/karma.o
LD [M] drivers/usb/storage/usb-storage.o
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
Callandor:/usr/src/linux-2.6.25.18-0.2 #
I keep running around in circles with the /mod/modpost directory and can’t quite seem to figure out how this works and it’s relationship - my previous kernel and module adventures have not encountered this issue.
I also notice no object was created for unusual_devs - despite it being present in the directory:
Callandor:/usr/src/linux-2.6.25.18-0.2 # ls -lha drivers/usb/storage/unusual_devs.h
-rw-r–r-- 1 root root 51K Oct 22 10:22 drivers/usb/storage/unusual_devs.h
If I run make menuconfig and search, I find no option for unusual
I am trying to learn more about kernel compiling and would really appreciate any assistance in learning more about this and why I can’t get this module made.
Thanks for you input!
Cheers,
Pete