Compile with Fusion IO and Huawei ES3000 Drivers

118 views
Skip to first unread message

Josh Smith

unread,
Aug 1, 2018, 1:46:35 PM8/1/18
to esos-users
Hello, 

I am very new to compiling from source, but pretty familiar with using Linux. I want to compile ESOS with support for SanDisk Fusion IO drives and for a ES3000 pcie drive. Attached is the source files for the ES3000 and the instructions, but I am not sure how to compile ESOS with these drivers. Also, I do not know where to find the source for the Fusion IO drive. I currently have an ioDriwill probably only use the ioDrive2 in this server.

Thanks!

-Josh
ES3000 High-Performance PCIe SSD V100R002C01 Open-Source Linux Driver Compilation Guide 04.pdf
Makefile
hio.c
hio.h

Josh Smith

unread,
Aug 6, 2018, 7:53:26 AM8/6/18
to esos-users
I wrote this to add to the Makefile.in:


RPMBUILD := @rpmbuild@
RPM := @rpm@
  
esos_kernels.chroot: hio_src = $(chroot_build)/hio 
esos_kernels.chroot: vsl_src = $(chroot_build)/vsl
$(MKDIR) $(chroot_build)/hio
$(WGET) -P $(hio_src) $(custom_repo)/hio/hio.c; \
$(WGET) -P $(hio_src) $(custom_repo)/hio/hio.h; \
$(WGET) -P $(hio_src) $(custom_repo)/hio/Makefile; \
$(WGET) -P $(hio_src) $(custom_repo)/hio/Makefile; \
$(MKDIR) $(chroot_build)/vsl
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-common-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-preinstall-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-sysvinit-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/fio-util-3.2.15.1699-1.0.noarch.rpm; \
$(WGET) -P $(vsl_src) $(custom_repo)/vsl/lib32vsl-3.2.15.1699-1.i686.rpm; \

$(MAKE) --directory=$(hio_src) KDIR=$(linux_src) \
KERNEL_SOURCE_VERSION=$(kernel_ver)$$i; \
$(MKDIR) /lib/modules/$(kernel_ver)$$i/kernel/drivers/hio; \
$(INSTALL) -m 0644 $(hio_src)/*.ko
$(DEPMOD) -a; \
$(RPMBUILD) --rebuild --define 'rpm_kernel_version $(kernel_ver)$$i' \
$(vsl_src)/iomemory-vsl-3.2.15.scr.rpm; \
$(RPM) -Uvh $(vsl_src)/iomemory-vsl*.rpm; \
$(RPM) -Uvh $(vsl_src)/lib*.rpm; \
$(RPM) -Uvh $(vsl_src)/fio*.rpm; \


Not sure if it's going to work, but I'm going to try now.

Also, attached are the files and documents for the ioDrive2. I downloaded the drivers for RHLE5 since I wasn't sure which linux flavor to choose and found a reference to RHLE5 in the MakeFile.in

JeremyF

unread,
Aug 7, 2018, 4:13:17 PM8/7/18
to esos-users
Did it work?
Just curious as a fellow user...

-JF

Josh Smith

unread,
Aug 8, 2018, 3:06:19 PM8/8/18
to esos-users
Unfortunately not. Still have been unable to get either drive to work.
Reply all
Reply to author
Forward
0 new messages