我刚刚制作了我的第一个驱动模块,继LDD3之后的helloworld模块。然而不幸的是遇到了这个错误:insmod:errorinserting'./hello.ko':-1Invalidmoduleformat.我在Ubuntu11.04和我的环境中执行此操作:$uname-r2.6.38-8-generic我得到这样的内核源代码:sudoapt-cachesearchlinux-sourcelinux-source-LinuxkernelsourcewithUbuntupatcheslinux-source-2.6.38-Linuxkernelsourceforversion2.6