Open tflori opened 7 years ago
Before you ask - this is the log file mentioned:
DKMS make.log for rr2680-2.1 for kernel 4.9.24-1-MANJARO (x86_64)
Sa 6. Mai 11:35:02 CEST 2017
make: Verzeichnis „/var/lib/dkms/rr2680/2.1/build/product/rr2680/linux“ wird betreten
make[1]: Verzeichnis „/usr/lib/modules/4.9.24-1-MANJARO/build“ wird betreten
CC [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/os_linux.o
CC [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/osm_linux.o
CC [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/div64.o
CC [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/hptinfo.o
CC [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/config.o
LD [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/rr2680.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/rr2680.mod.o
LD [M] /var/lib/dkms/rr2680/2.1/build/product/rr2680/linux/.build/rr2680.ko
make[1]: Verzeichnis „/usr/lib/modules/4.9.24-1-MANJARO/build“ wird verlassen
make: Verzeichnis „/var/lib/dkms/rr2680/2.1/build/product/rr2680/linux“ wird verlassen
I think I found a solution - the rr2680.ko
file has to be in the base directory.
This is my current dkms.conf
PACKAGE_NAME=rr2680
PACKAGE_VERSION=2.1
DEST_MODULE_LOCATION=/extra
BUILD_MODULE_NAME=rr2680
BUILD_MODULE_LOCATION=product/rr2680/linux/
MAKE="'make' -C product/rr2680/linux/ && cp product/rr2680/linux/rr2680.ko rr2680.ko"
CLEAN="rm -r product/rr2680/linux/rr2680.ko product/rr2680/linux/.build rr2680.ko"
AUTOINSTALL="yes"
Do you know a clearer way for it?
I know nothing about DKMS, but I'll be happy to look into it more when I get a chance :)
On Sat, May 6, 2017, 5:58 AM Thomas Flori notifications@github.com wrote:
I think I found a solution - the rr2680.ko file has to be in the base directory.
This is my current dkms.conf
PACKAGE_NAME=rr2680 PACKAGE_VERSION=2.1
DEST_MODULE_LOCATION=/extra BUILD_MODULE_NAME=rr2680 BUILD_MODULE_LOCATION=product/rr2680/linux/
MAKE="'make' -C product/rr2680/linux/ && cp product/rr2680/linux/rr2680.ko rr2680.ko" CLEAN="rm -r product/rr2680/linux/rr2680.ko product/rr2680/linux/.build rr2680.ko" AUTOINSTALL="yes"
Do you know a clearer way for it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/uberDoward/rocketraid_2680/issues/1#issuecomment-299629224, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1WcBDDB8tKiHcxxw7MXvWIeroEuO4Jks5r3ERNgaJpZM4NSsv2 .
I'm running Manjaro Linux. Till I found this project I used my modifications with kernel 4.4 (you can find the sources here: https://github.com/tflori/RR268x) - I had the same problem. Outdated driver and no support from HighPoint. But I did not want to modify the sources again and again.
Your modifications are much clearer and the most important thing: they work with the current lts kernel. Many thanks for this work!
My problem is: I don't want to disable updates for the kernel and I don't want to build this manually again and again. So I decided to create a dkms config for it:
But when I run
dkms build
I get the following output:In the mentioned log there is no error and when I build it manually the exit code is 0. I don't know much about kernel module development and nothing about dkms (just read the ubuntu wiki). Do you see the problem in my configuration? Do you need more information from me?