Hi,
I like to set up my C222 RAID controller to be used with XenServer 7.2 but I failed.
I managed to set it up with CentOS7.2 ( kernel 3.10 ) with the packages provided.
But I do not succeed with XEN as it runs on CentOS7.2 but with a 4.4 kernel:
1/ hardware
00:1f.2 RAID bus controller: Intel Corporation 8 Series/C220 Series Chipset Family SATA Controller 1 [RAID mode] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 8552
Kernel driver in use: ahci
# instead of ahci this should become the compiled megasr module
2/ xen
[root@tstxen ~]# cat /etc/redhat-release
XenServer release 7.2.0 (xenenterprise)
[root@tstxen ~]# uname -a
Linux tstxen 4.4.0+10 #1 SMP Thu May 11 16:35:25 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
So I went to " http://https://downloadcenter.intel.com/ " and downloaded
the Embedded Server RAID Technology 2 RAID Driver for Linux: "ESRT2_Linux_DRV_v17.01.2016.0216_r3.tgz"
#for 7.3 there is another available
Unpacked this on XenServer DDK ( Driver Development Kit ) VM and executed: " make -C /usr/src/kernels/4.4.0+10-x86_64 M=/tmp/megasr-raid5/shim/library/rhel7-64 "
This resulted in modules built, but with lots of warnings ( see logs attached ).
[root@localhost rhel7-64]# ls -l /tmp/megasr-raid5/shim/library/rhel7-64
total 37496
-rw-r--r-- 1 root root 8 Jul 30 08:34 built-in.o
-rw-r--r-- 1 root root 248 Feb 16 2016 Makefile
-rw-r--r-- 1 root root 12828544 Jul 30 08:34 megasr.ko
-rw-r--r-- 1 root root 12581296 Feb 16 2016 megasr-lib.a
-rw-r--r-- 1 root root 70110 Jul 30 08:34 megasr.mod.c
-rw-r--r-- 1 root root 254048 Jul 30 08:34 megasr.mod.o
-rw-r--r-- 1 root root 12576043 Jul 30 08:34 megasr.o
-rw-r--r-- 1 root root 57 Jul 30 08:34 modules.order
-rw-r--r-- 1 root root 0 Jul 30 08:34 Module.symvers
Executing " insmod megasr.ko " results in:
[root@localhost rhel7-64]# insmod megasr.ko
insmod: ERROR: could not insert module megasr.ko: Unknown symbol in module
Therefore can one guide me building a proper kernel module please, perhaps using dkms instead ( /tmp/megasr-raid5/RPM )?
thanks