3.x and 2.x are incompatible. The problem here is that we haven't
built the 2.x version for the recent CentOS 6 kernels. The last known
update for 2.x was around October 2014 which is more than 3 years ago.

Please send the following files and outputs to [email protected]
/var/log/messages*
/var/log/dmesg*
rpm -qa
uname -r

On Mon, Jan 22, 2018 at 5:43 PM, Rosit AB <[email protected]> wrote:
> Hi, we had a power failure with UPS failure as well...
> After the crash we cannot rebuild the "kernel modules".
>
> We had kernel: 3.10.0-327.18.2.el7.x86_64
> Updated into: 3.10.0-693.11.6.el7.x86_64
>
> Tried to upgrade from: quadstor-vtl-ext-2.4.49-rhel6.x86_64.rpm
> Into: quadstor-vtl-ext-3.0.25-rhel.x86_64.rpm
>
> Got the following error:
> The previous VTL product installed is not compatible with this product
> Contact [email protected] for further queries
> error: %pre(quadstor-vtl-ext-3.0.25-rhel.x86_64) scriptlet failed, exit
> status 1
> error: quadstor-vtl-ext-3.0.25-rhel.x86_64: install failed
>
> I tried to install the previous version and the building failed at install:
> [root@tsm01 ~]# rpm -ivh quadstor-vtl-ext-2.4.49-rhel6.x86_64.rpm
> Preparing...                          #################################
> [100%]
> Updating / installing...
>    1:quadstor-vtl-ext-2.4.49-rhel6    #################################
> [100%]
> Performing post install. Please wait...
> Building required kernel modules
> Running /quadstorvtl/bin/builditf. This may take a few minutes.
> ERROR: Building kernel modules failed!!!
>
>
>
> Here's the error message about building:
> Linux tsm01.local 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC
> 2018 x86_64 x86_64 x86_64 GNU/Linux
> rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions Module.symvers .*.o.d Module.*
> rm *.unsigned modules.order
> cp /quadstorvtl/lib/modules/corelib.o /quadstorvtl/src/export
> make -C /lib/modules/3.10.0-693.11.6.el7.x86_64/build
> SUBDIRS=/quadstorvtl/src/export modules
> make[1]: Entering directory `/usr/src/kernels/3.10.0-693.11.6.el7.x86_64'
>   CC [M]  /quadstorvtl/src/export/core_linux.o
>   CC [M]  /quadstorvtl/src/export/reed_solomon_crc.o
>   AS [M]  /quadstorvtl/src/export/sha256-ssse3-asm.o
>   CC [M]  /quadstorvtl/src/export/sha256_ssse3.o
>   CC [M]  /quadstorvtl/src/export/ldev_linux.o
>   CC [M]  /quadstorvtl/src/export/devq.o
>   LD [M]  /quadstorvtl/src/export/vtlcore.o
>   LD [M]  /quadstorvtl/src/export/vtldev.o
>   Building modules, stage 2.
>   MODPOST 2 modules
> WARNING: could not find /quadstorvtl/src/export/.corelib.o.cmd for
> /quadstorvtl/src/export/corelib.o
>   CC      /quadstorvtl/src/export/vtlcore.mod.o
>   LD [M]  /quadstorvtl/src/export/vtlcore.ko
>   CC      /quadstorvtl/src/export/vtldev.mod.o
>   LD [M]  /quadstorvtl/src/export/vtldev.ko
> make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.11.6.el7.x86_64'
> rm -f *.o *.ko iscsit.mod.c .*.o.cmd .*.ko.cmd Module.symvers .*unsigned*
> modules.order *.unsigned Module.markers
> rm -rf .tmp_versions
> make -C /lib/modules/3.10.0-693.11.6.el7.x86_64/build
> SUBDIRS=/quadstorvtl/src/target-mode/iscsi/kernel modules
> make[1]: Entering directory `/usr/src/kernels/3.10.0-693.11.6.el7.x86_64'
>   CC [M]  /quadstorvtl/src/target-mode/iscsi/kernel/tio.o
>   CC [M]  /quadstorvtl/src/target-mode/iscsi/kernel/iscsi.o
> /quadstorvtl/src/target-mode/iscsi/kernel/iscsi.c: In function
> ‘scsi_cmnd_start’:
> /quadstorvtl/src/target-mode/iscsi/kernel/iscsi.c:773:7: error:
> ‘SERVICE_ACTION_IN’ undeclared (first use in this function)
>   case SERVICE_ACTION_IN:
>        ^
> /quadstorvtl/src/target-mode/iscsi/kernel/iscsi.c:773:7: note: each
> undeclared identifier is reported only once for each function it appears in
> make[2]: *** [/quadstorvtl/src/target-mode/iscsi/kernel/iscsi.o] Error 1
> make[1]: *** [_module_/quadstorvtl/src/target-mode/iscsi/kernel] Error 2
> make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.11.6.el7.x86_64'
> make: *** [default] Error 2
> ERROR: Building kernel modules failed!
>
>
> Here's /var/log/messages before a kernel upgrade:
> Jan 22 10:23:56 tsm01 systemd: Starting LSB: QUADStor VTL...
> Jan 22 10:23:56 tsm01 systemd: Starting Crash recovery kernel arming...
> Jan 22 10:23:56 tsm01 systemd: Starting Dynamic System Tuning Daemon...
> Jan 22 10:23:56 tsm01 systemd: Starting The Apache HTTP Server...
> Jan 22 10:23:56 tsm01 systemd: Created slice user-1001.slice.
> Jan 22 10:23:56 tsm01 systemd: Starting user-1001.slice.
> Jan 22 10:23:56 tsm01 systemd: Started Session c1 of user vtdbuser.
> Jan 22 10:23:56 tsm01 systemd: Starting Session c1 of user vtdbuser.
> Jan 22 10:23:57 tsm01 systemd: Started Dynamic System Tuning Daemon.
> Jan 22 10:23:58 tsm01 httpd: AH00558: httpd: Could not reliably determine
> the server's fully qualified domain name, using tsm01.local. Set the
> 'ServerName' directive globally to suppress this message
> Jan 22 10:23:58 tsm01 systemd: Started The Apache HTTP Server.
> Jan 22 10:23:58 tsm01 chronyd[766]: Selected source 192.36.143.130
> Jan 22 10:23:58 tsm01 kdumpctl: kexec: loaded kdump kernel
> Jan 22 10:23:58 tsm01 kdumpctl: Starting kdump: [OK]
> Jan 22 10:23:58 tsm01 systemd: Started Crash recovery kernel arming.
> Jan 22 10:23:58 tsm01 systemd: Started Postfix Mail Transport Agent.
> Jan 22 10:23:59 tsm01 kernel: qla2xxx [0000:00:00.0]-0005: : QLogic Fibre
> Channel HBA Driver: 8.07.00.18.07.2-k.
> Jan 22 10:23:59 tsm01 kernel: vtlcore: module verification failed: signature
> and/or required key missing - tainting kernel
> Jan 22 10:23:59 tsm01 quadstorvtl: Starting quadstorvtl: Failed to insert
> iscsi target module
> Jan 22 10:24:04 tsm01 scctl: ERROR: do_connect:303 failed to connect errno
> 111 Connection refused
> Jan 22 10:24:04 tsm01 systemd: Started Session c2 of user vtdbuser.
> Jan 22 10:24:04 tsm01 systemd: Starting Session c2 of user vtdbuser.
> Jan 22 10:24:05 tsm01 systemd: Removed slice user-1001.slice.
> Jan 22 10:24:05 tsm01 systemd: Stopping user-1001.slice.
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:677 kern_inited; 1
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:687 disable devices
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:705 detach interfaces
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:708 node recv exit
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:711 exit gdevq threads
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:714 exit ddthreads
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:717 exit delete thread
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:720 tdevices exit
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:725 node usr exit
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:728 node exit
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:731 ddtable exit
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:734 bdev finalize
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:737 rcache exit
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:740 groups free
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:743 clear fc rules
> Jan 22 10:24:05 tsm01 kernel: __kern_exit:746 end
> Jan 22 10:24:05 tsm01 kernel: exit_caches:202 free wlist cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:209 free mam_attribute_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:213 free log_parameter_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:217 free cache_long
> Jan 22 10:24:05 tsm01 kernel: exit_caches:221 free tape_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:225 free tape_partition_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:229 free bentry_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:233 free bmap_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:237 free map_lookup_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:241 free tcache_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:245 free chan_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:249 free compl_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:281 free ctio_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:285 free istate_cache
> Jan 22 10:24:05 tsm01 kernel: exit_caches:289 free pgdata_cache
> Jan 22 10:24:05 tsm01 quadstorvtl: Stopping quadstorvtl:
> Jan 22 10:24:05 tsm01 systemd: quadstorvtl.service: control process exited,
> code=exited status=1
> Jan 22 10:24:05 tsm01 systemd: Failed to start LSB: QUADStor VTL.
> Jan 22 10:24:05 tsm01 systemd: Unit quadstorvtl.service entered failed
> state.
> Jan 22 10:24:05 tsm01 systemd: quadstorvtl.service failed.
>
> This is after a kernel upgrade and reinstall of 2.4.49:
> Jan 22 12:46:28 tsm01 systemd: Starting LSB: QUADStor VTL...
> Jan 22 12:46:28 tsm01 quadstorvtl: Compiling missing QUADStor VTL modules.
> This may take a few minutes.
> Jan 22 12:46:28 tsm01 systemd: Started Dynamic System Tuning Daemon.
> Jan 22 12:46:28 tsm01 kdumpctl: No kdump initial ramdisk found.
> Jan 22 12:46:28 tsm01 kdumpctl: Rebuilding
> /boot/initramfs-3.10.0-693.11.6.el7.x86_64kdump.img
> Jan 22 12:46:29 tsm01 systemd: Started Postfix Mail Transport Agent.
> Jan 22 12:46:29 tsm01 httpd: AH00558: httpd: Could not reliably determine
> the server's fully qualified domain name, using tsm01.local. Set the
> 'ServerName' directive globally to suppress this message
> Jan 22 12:46:29 tsm01 systemd: Started The Apache HTTP Server.
> Jan 22 12:46:30 tsm01 dracut: dracut-
> Jan 22 12:46:30 tsm01 dracut: Executing: /usr/sbin/dracut --hostonly
> --hostonly-cmdline --hostonly-i18n -o "plymouth dash resume ifcfg" -f
> /boot/initramfs-3.10.0-693.11.6.el7.x86_64kdump.img
> 3.10.0-693.11.6.el7.x86_64
> Jan 22 12:46:31 tsm01 dracut: dracut module 'modsign' will not be installed,
> because command 'keyctl' could not be found!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'busybox' will not be installed,
> because command 'busybox' could not be found!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'ifcfg' will not be installed,
> because it's in the list to be omitted!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'plymouth' will not be
> installed, because it's in the list to be omitted!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'crypt' will not be installed,
> because command 'cryptsetup' could not be found!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'dmraid' will not be installed,
> because command 'dmraid' could not be found!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'lvm' will not be installed,
> because command 'lvm' could not be found!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'multipath' will not be
> installed, because command 'multipath' could not be found!
> Jan 22 12:46:31 tsm01 dracut: dracut module 'cifs' will not be installed,
> because command 'mount.cifs' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'iscsi' will not be installed,
> because command 'iscsistart' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'iscsi' will not be installed,
> because command 'iscsi-iname' could not be found!
> Jan 22 12:46:32 tsm01 dracut: 95nfs: Could not find any command of 'rpcbind
> portmap'!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'resume' will not be installed,
> because it's in the list to be omitted!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'modsign' will not be installed,
> because command 'keyctl' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'busybox' will not be installed,
> because command 'busybox' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'crypt' will not be installed,
> because command 'cryptsetup' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'dmraid' will not be installed,
> because command 'dmraid' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'lvm' will not be installed,
> because command 'lvm' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'multipath' will not be
> installed, because command 'multipath' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'cifs' will not be installed,
> because command 'mount.cifs' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'iscsi' will not be installed,
> because command 'iscsistart' could not be found!
> Jan 22 12:46:32 tsm01 dracut: dracut module 'iscsi' will not be installed,
> because command 'iscsi-iname' could not be found!
> Jan 22 12:46:32 tsm01 dracut: 95nfs: Could not find any command of 'rpcbind
> portmap'!
> Jan 22 12:46:32 tsm01 dracut: *** Including module: bash ***
> Jan 22 12:46:32 tsm01 dracut: *** Including module: nss-softokn ***
> Jan 22 12:46:33 tsm01 dracut: *** Including module: i18n ***
> Jan 22 12:46:33 tsm01 dracut: *** Including module: network ***
> Jan 22 12:46:35 tsm01 dracut: *** Including module: drm ***
> Jan 22 12:46:36 tsm01 dracut: *** Including module: kernel-modules ***
> Jan 22 12:46:48 tsm01 quadstorvtl: Building kernel modules failed!!!
> Jan 22 12:46:49 tsm01 dracut: *** Including module: mdraid ***
> Jan 22 12:46:50 tsm01 dracut: Skipping udev rule: 64-md-raid.rules
> Jan 22 12:46:50 tsm01 dracut: *** Including module: rootfs-block ***
> Jan 22 12:46:51 tsm01 dracut: *** Including module: terminfo ***
> Jan 22 12:46:51 tsm01 dracut: *** Including module: udev-rules ***
> Jan 22 12:46:51 tsm01 dracut: Skipping udev rule:
> 40-redhat-cpu-hotplug.rules
> Jan 22 12:46:51 tsm01 dracut: Skipping udev rule: 91-permissions.rules
> Jan 22 12:46:51 tsm01 dracut: *** Including module: biosdevname ***
> Jan 22 12:46:51 tsm01 dracut: *** Including module: systemd ***
> Jan 22 12:46:52 tsm01 dracut: *** Including module: usrmount ***
> Jan 22 12:46:52 tsm01 dracut: *** Including module: base ***
> Jan 22 12:46:52 tsm01 dracut: *** Including module: fs-lib ***
> Jan 22 12:46:52 tsm01 dracut: *** Including module: kdumpbase ***
> Jan 22 12:46:53 tsm01 scctl: ERROR: do_connect:303 failed to connect errno
> 111 Connection refused
> Jan 22 12:46:53 tsm01 systemd: Created slice user-1001.slice.
> Jan 22 12:46:53 tsm01 systemd: Starting user-1001.slice.
> Jan 22 12:46:53 tsm01 systemd: Started Session c1 of user vtdbuser.
> Jan 22 12:46:53 tsm01 systemd: Starting Session c1 of user vtdbuser.
> Jan 22 12:46:53 tsm01 systemd: Removed slice user-1001.slice.
> Jan 22 12:46:53 tsm01 systemd: Stopping user-1001.slice.
> Jan 22 12:46:53 tsm01 quadstorvtl: Stopping quadstorvtl:
> Jan 22 12:46:53 tsm01 systemd: quadstorvtl.service: control process exited,
> code=exited status=1
> Jan 22 12:46:53 tsm01 systemd: Failed to start LSB: QUADStor VTL.
> Jan 22 12:46:53 tsm01 systemd: Unit quadstorvtl.service entered failed
> state.
> Jan 22 12:46:53 tsm01 systemd: quadstorvtl.service failed.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "QUADStor VTL" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"QUADStor VTL" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to