AnsweredAssumed Answered

Ryzen Raid Driver for Ubuntu 16.04.3 kernel 4.13

Question asked by ventman on Jan 27, 2018
Latest reply on Sep 29, 2018 by ventman

Been having good luck with the current driver that was posted when Ryzen launched (here), but now that kernel 4.13 releases for Ubuntu 16.04.3 with hardware enablement were introduced, the driver won't compile correctly on these new kernels. Below is the logfile snippet when I run the install script included in the "driver_sdk" folder with superuser. All the entries in black were previous kernels that were pruned, blue is a successful build, and red is a failed build.

 

./install: 24: ./install: source: not found

./install: 149: [: !=: unexpected operator

ln: failed to create symbolic link 'src/rcblob.i686': File exists

Make kernel for 4.10.0-27-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-27-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-27-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-27-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-28-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-28-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-28-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-28-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-30-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-30-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-30-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-30-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-32-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-32-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-32-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-32-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-33-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-33-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-33-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-33-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-35-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-35-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-35-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-35-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-37-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-37-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-37-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-37-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-38-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-38-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-38-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make[1]: *** /lib/modules/4.10.0-38-generic/build: No such file or directory.  Stop.

make[1]: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.10.0-42-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.10.0-42-generic

------------------------------------------------------------

make -C /lib/modules/4.10.0-42-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/usr/src/linux-headers-4.10.0-42-generic'

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_init.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_msg.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_event.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_config.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/vers.o

  LD [M]  /home/ventman/Desktop/driver_sdk/src/rcraid.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /home/ventman/Desktop/driver_sdk/src/rcraid.mod.o

  LD [M]  /home/ventman/Desktop/driver_sdk/src/rcraid.ko

make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-42-generic'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

Make kernel for 4.13.0-26-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.13.0-26-generic

------------------------------------------------------------

make -C /lib/modules/4.13.0-26-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/usr/src/linux-headers-4.13.0-26-generic'

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_init.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_msg.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o

/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.c: In function ‘rc_kthread’:

/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.c:179:2: error: implicit declaration of function ‘sigfillset’ [-Werror=implicit-function-declaration]

  sigfillset(&current->blocked);

  ^

cc1: some warnings being treated as errors

scripts/Makefile.build:308: recipe for target '/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o' failed

make[2]: *** [/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o] Error 1

Makefile:1550: recipe for target '_module_/home/ventman/Desktop/driver_sdk/src' failed

make[1]: *** [_module_/home/ventman/Desktop/driver_sdk/src] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-26-generic'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.13.0-32-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.13.0-32-generic

------------------------------------------------------------

make -C /lib/modules/4.13.0-32-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/usr/src/linux-headers-4.13.0-32-generic'

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_init.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_msg.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o

/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.c: In function ‘rc_kthread’:

/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.c:179:2: error: implicit declaration of function ‘sigfillset’ [-Werror=implicit-function-declaration]

  sigfillset(&current->blocked);

  ^

cc1: some warnings being treated as errors

scripts/Makefile.build:308: recipe for target '/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o' failed

make[2]: *** [/home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o] Error 1

Makefile:1550: recipe for target '_module_/home/ventman/Desktop/driver_sdk/src' failed

make[1]: *** [_module_/home/ventman/Desktop/driver_sdk/src] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-32-generic'

Makefile:60: recipe for target 'all' failed

make: *** [all] Error 2

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

#

# Driver module not built -- install aborted!

#

Make kernel for 4.4.0-112-generic

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

make: Entering directory '/home/ventman/Desktop/driver_sdk/src'

------------------------------------------------------------

- building for kernel 4.4.0-112-generic

------------------------------------------------------------

make -C /lib/modules/4.4.0-112-generic/build SUBDIRS=/home/ventman/Desktop/driver_sdk/src modules

make[1]: Entering directory '/usr/src/linux-headers-4.4.0-112-generic'

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_init.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_msg.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_mem_ops.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_event.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/rc_config.o

  CC [M]  /home/ventman/Desktop/driver_sdk/src/vers.o

  LD [M]  /home/ventman/Desktop/driver_sdk/src/rcraid.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /home/ventman/Desktop/driver_sdk/src/rcraid.mod.o

  LD [M]  /home/ventman/Desktop/driver_sdk/src/rcraid.ko

make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-112-generic'

make: Leaving directory '/home/ventman/Desktop/driver_sdk/src'

If I knew what to change to make rc_mem_ops.o compile, I would, but that's far beyond my current knowlege.

Outcomes