So, up till now, I was able to compile the AMDRaid driver (from the AMD website) with the latest kernel in Mint 18.3, add it to the LiveUSB and with a few commands during installation, get Linux Mint on an AMDRaid array. Problem is, it doesn't seem to want to compile on 4.15
Here's an extract:
Code: Select all
root@vm-altersoundwork:/home/altersoundwork/Desktop/amdraid/driver_sdk/src# make
------------------------------------------------------------
- building for kernel 4.15.0-23-generic
------------------------------------------------------------
make -C /lib/modules/4.15.0-23-generic/build SUBDIRS=/home/altersoundwork/Desktop/amdraid/driver_sdk/src modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
CC [M] /home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.o
/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.c: In function ‘rc_timeout_done’:
/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.c:2391:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(&state->rc_timeout);
^~~~~~~~~~
init_timers
/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.c: In function ‘rc_timeout’:
/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.c:2407:19: error: ‘struct timer_list’ has no member named ‘data’
state->rc_timeout.data = (unsigned long)state;
^
/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.c:2408:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
state->rc_timeout.function = rc_timeout_done;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.o' failed
make[2]: *** [/home/altersoundwork/Desktop/amdraid/driver_sdk/src/rc_init.o] Error 1
Makefile:1552: recipe for target '_module_/home/altersoundwork/Desktop/amdraid/driver_sdk/src' failed
make[1]: *** [_module_/home/altersoundwork/Desktop/amdraid/driver_sdk/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:60: recipe for target 'all' failed
make: *** [all] Error 2
root@vm-altersoundwork:/home/altersoundwork/Desktop/amdraid/driver_sdk/src#