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

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



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-” \

“/media/usb-drive/iomemory-vsl4-” \

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


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


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-* /media/usb-drive/iomemory-vsl4-* /media/usb-drive/iomemory-vsl4-*; 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”; \


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- “/media/usb-drive/iomemory-vsl4-”

echo depmod 5.10.42+truenas >> “/media/usb-drive/iomemory-vsl4-”

cp -r /media/usb-drive/iomemory-vsl4- “/media/usb-drive/iomemory-vsl4-”

cp -r /media/usb-drive/iomemory-vsl4- “/media/usb-drive/iomemory-vsl4-”

echo depmod 5.10.42+truenas >> “/media/usb-drive/iomemory-vsl4-”


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; \


make[1]: Entering directory ‘/media/usb-drive/iomemory-vsl4-’

./ -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- -l 0 -s /lib/modules/5.10.42+truenas/source

mkfifo: cannot create fifo ‘/media/usb-drive/iomemory-vsl4-’: Operation not permitted

1628906538.332 Exiting

Preserving configdir due to ‘-p’ option: /media/usb-drive/iomemory-vsl4-

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

make[1]: Leaving directory ‘/media/usb-drive/iomemory-vsl4-’


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

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



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.