To patch a kernel source tree, run the command # cd rr62x-linux-src-v1.xx/product/rr62x/linux/ # make patchkernel KERNELDIR= For an unconfigured 2.6 kernel source tree, include/linux/version.h may not exist so you should add 'KERNEL_VER=2.6' to the command: # make patchkernel KERNELDIR= KERNEL_VER=2.6 Then you can configure the driver into kernel during the kernel configuration process (e.g.ĭoes Marvell 9128 controller support trim? If it was Microsoft or Marvell driver wouldn't it. Using the driver as a kernel patch # You must have a full kernel source tree to use the driver as a patch. In other words, if i'll buy that card i suppose it won't work. Make: *** Error 1 make: *** Error 2 make: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic' make: *** Error 2 So i guess the only availabe driver is too old for this kernel, config.h si for and old one. I've read this But if i try to compile the driver on ubuntu 11.04: make make: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' CC /home/daniele/raid/product/rr62x/linux/.build/os_linux.o In file included from /home/daniele/raid/product/rr62x/linux/.build/os_linux.c:6:0: /home/daniele/raid/osm/linux/osm_linux.h:12:26: fatal error: linux/config.h: No such file or directory compilation terminated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |