TrueNAS SCALE - ioMemory VSL driver installation failed

Does any one have success with Fusion ioMemory driver install on the TrueNAS SCALE?

I am following the SanDisk guide to build the driver for the current kernel, but no luck.

build log


truenas# dpkg-buildpackage -uc -us

dpkg-buildpackage: info: source package iomemory-vsl4

dpkg-buildpackage: info: source version 4.3.7.1205-1.0

dpkg-buildpackage: info: source distribution unstable

dpkg-buildpackage: info: source changed by Support <[email protected]>

dpkg-buildpackage: info: host architecture amd64

dpkg-source --before-build .

debian/rules clean

dh_testdir

dh_testroot

rm -f build-arch-stamp configure-stamp

Add here commands to clean up after the build process.

#/usr/bin/make clean

rm -rf \

ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205driver_sourceā€ \

ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/fioā€ \

"/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-"2.6* \

"/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-config-"2.6*

sed -r -i -e ā€˜s/^Package: iomemory-vsl4(-config)?(-[.0-9]+.)$/Package: iomemory-vsl4\1/;ā€™ debian/control

dh_prep

dpkg-source -b .

dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)

dpkg-source: info: using source format ā€˜1.0ā€™

dpkg-source: warning: native package version may not have a revision

dpkg-source: info: building iomemory-vsl4 in iomemory-vsl4_4.3.7.1205-1.0.tar.gz

dpkg-source: info: building iomemory-vsl4 in iomemory-vsl4_4.3.7.1205-1.0.dsc

debian/rules build

sed -r -i -e ā€˜s/^Package: iomemory-vsl4(-config|-di|-initrd)?(-[.0-9]+.)$/Package: iomemory-vsl4\1-5.10.42+truenas/;ā€™ debian/control

set -e; \

for file in /media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4.* /media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-di.* /media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-initrd.*; do \

new_file=$(echo $file | sed -r -e -E ā€˜s/iomemory-vsl4(-config|-di|-initrd)?./iomemory-vsl4\1-5.10.42+truenas./;ā€™); \

cp ā€œ$fileā€ ā€œ$new_fileā€; \

done

sed: -e expression #1, char 1: unknown command: `-ā€™

make: [debian/rules:73: debian/control] Error 1 (ignored)

Add the kernel version to our UEFI Ubuntu driver injection disk

sed -r -i -e ā€˜s/^XB-Kernel-Version:/XB-Kernel-Version: 5.10.42+truenas/;ā€™ debian/control

cp -r /media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4.postinst ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-5.10.42+truenas.postinstā€

echo depmod 5.10.42+truenas >> ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-5.10.42+truenas.postinstā€

cp -r /media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4.postrm ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-5.10.42+truenas.postrmā€

cp -r /media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4.prerm ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-5.10.42+truenas.prermā€

echo depmod 5.10.42+truenas >> ā€œ/media/usb-drive/iomemory-vsl4-4.3.7.1205/debian/iomemory-vsl4-5.10.42+truenas.postrmā€

dh_testdir

Add here commands to configure the package.

touch configure-stamp

Add here commands to compile the arch part of the package.

rsync -a --delete ./root/usr/src/iomemory-vsl4-4.3.7/ driver_source/

if ! /usr/bin/make \

-C driver_source \

KERNELVER=5.10.42+truenas \

FIO_DRIVER_NAME=iomemory-vsl4 \

\

modules; then \

printf ā€œERROR:\nā€; \

exit 1; \

fi

make[1]: Entering directory ā€˜/media/usb-drive/iomemory-vsl4-4.3.7.1205/driver_sourceā€™

./kfio_config.sh -a x86_64 -o include/fio/port/linux/kfio_config.h -k /lib/modules/5.10.42+truenas/build -p -d /media/usb-drive/iomemory-vsl4-4.3.7.1205/driver_source/kfio_config -l 0 -s /lib/modules/5.10.42+truenas/source

mkfifo: cannot create fifo ā€˜/media/usb-drive/iomemory-vsl4-4.3.7.1205/driver_source/kfio_config/kfio_config.stdoutā€™: Operation not permitted

1628906538.332 Exiting

Preserving configdir due to ā€˜-pā€™ option: /media/usb-drive/iomemory-vsl4-4.3.7.1205/driver_source/kfio_config

make[1]: *** [Makefile:74: include/fio/port/linux/kfio_config.h] Error 1

make[1]: Leaving directory ā€˜/media/usb-drive/iomemory-vsl4-4.3.7.1205/driver_sourceā€™

ERROR:

make: *** [debian/rules:102: build-arch-stamp] Error 1

dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

bumpā€¦

@wendell

I recommend this project instead but keep in mind YMMV.

The build instructions are much simpler.

All one needs is the fio-utils, fio-common, fio-sysvinit rpmā€™s.


But your build error says you donā€™t have permission so run it as sudo.

1 Like

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.