Author Topic: ./traid-install-mgr.sh Unsupported kernel version detected!  (Read 4320 times)

Offline MasterCATZ

  • Jr. Member
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
root@aio:/# ./traid-install-mgr.sh
Unsupported kernel version detected! Detected 3.16.0-31-generic
Ubuntu/Debian supported kernels are 3.13.0-XX-generic where XX is 27 or greater

Offline cogliostrio

  • Jr. Member
  • **
  • Posts: 51
  • Karma: +2/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #1 on: March 05, 2015, 05:11:19 am »
The problem is what it says, your kernel is not supported.

You need to downgrade and install an older kernel. You probably want to pin you kernel version as well, to avoid any issues when updating Ubuntu.

The latest info on supported kernel version I could find is linux-image-3.13.0-35-generic from here

Check out this thred on how to downgrade and pin kernel version

Offline MasterCATZ

  • Jr. Member
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #2 on: March 05, 2015, 08:47:59 pm »
Yeh I know this .. I was posting it so they would make support for it  ???

pinning to an *OLD* kernel just so one program can run , no way in hell

this kernel has a lot of things I have been waiting on , but I really WANT 3.18

*edit*
I modified it to allow traid to install , seems to be working fine 

Code: [Select]
if [ "$OS" = "DEBIAN" ]; then
if [[ ( $KERNEL_VERSION != *3.13.0-* ) ]]
then
echo "Unsupported kernel version detected! Detected $KERNEL_VERSION"
echo "Ubuntu/Debian supported kernels are 3.13.0-XX-generic where XX is 27 or greater"
exit 1
fi

to

Code: [Select]
[/if [ "$OS" = "DEBIAN" ]; then
if [[ ( $KERNEL_VERSION != *3.16.0-* ) ]]
then
echo "Unsupported kernel version detected! Detected $KERNEL_VERSION"
echo "Ubuntu/Debian supported kernels are 3.16.0-XX-generic where XX is 27 or greater"
exit 1
fi

but how could I do it to allow up to 3.19 ?
if [[ ( $KERNEL_VERSION != *3.19.0-* ) ]]
would not work
if [[ ( $KERNEL_VERSION != *3.**.*-* ) ]]
???


How ever sadly

[2015-03-06 17:48:02.757093][3137337280][ERROR]:[NZFS Service Broker] Unable to load Transparent RAID driver! Error=0 Message=Success - Aborting...


[58788.167110] frouter: disagrees about version of symbol module_layout
[58789.167477] NZFSK: disagrees about version of symbol module_layout




root@aio:/opt/traid/host# modinfo frouter
filename:       /lib/modules/3.16.0-31-generic/updates/dkms/frouter.ko
license:        GPL
srcversion:     A32B96D495436CB56CECE12
depends:       
vermagic:       3.13.0-39-generic SMP mod_unload modversions

root@aio:/opt/traid/host# modinfo NZFSK
filename:       /lib/modules/3.16.0-31-generic/updates/dkms/NZFSK.ko
author:         Brahim Bakayoko
version:        1.0
license:        Proprietary
srcversion:     0BAC93D7867216E5F1B043A
depends:        frouter
vermagic:       3.13.0-39-generic SMP mod_unload modversions

Allright worked it out when they were built they were done only for 3.13 kernel variants  ( you do know we are up to v4 )

however what has got me is this kernel was built to ignore these errors

grep MODVERSIONS /boot/config-$(uname -r)

CONFIG_MODVERSIONS=y

Original
root@aio:/opt/traid/host/ko# modprobe --dump-modversions frouter.ko | grep module_layout
0xca05c877   module_layout

root@aio:/opt/traid/host/ko# modprobe --dump-modversions NZFSK.ko | grep module_layout
0xca05c877   module_layout

Modified
root@aio:/opt/traid/host# modprobe --dump-modversions frouter.ko | grep module_layout
0xb4792f37   module_layout

root@aio:/opt/traid/host# modprobe --dump-modversions NZFSK.ko | grep module_layout
0xb4792f37   module_layout

by modifying the module_layout hex code I can get one of them to load

root@aio:/opt/traid/host# ./NZFSB
insmod: ERROR: could not insert module frouter.ko: File exists
insmod: ERROR: could not insert module NZFSK.ko: Invalid parameters
Unable to load Transparent RAID driver! Error=0 Message=Success - Aborting...



What I do not get is why are you not using DKMS kernel modules ?
then they can rebuild themselves for each kernel update ?


https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging

« Last Edit: March 07, 2015, 01:51:19 pm by MasterCATZ »

Offline MasterCATZ

  • Jr. Member
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #3 on: March 07, 2015, 01:43:48 pm »
This may be of some help
http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt#L469


Code: [Select]
00:00:00.000323 main     Process ID: 6095
00:00:00.000323 main     Package type: LINUX_64BITS_GENERIC
[  182.105563] 00:00:00.001182 main     4.3.24 r98716 started. Verbose level = 0
[  769.948369] NZFSK: module license 'Proprietary' taints kernel.
[  769.948375] Disabling lock debugging due to kernel taint
[  769.949463] NZFSK: disagrees about version of symbol filp_open
[  769.949468] NZFSK: Unknown symbol filp_open (err -22)
[  769.949472] NZFSK: disagrees about version of symbol vfs_write
[  769.949474] NZFSK: Unknown symbol vfs_write (err -22)
[  769.949481] NZFSK: disagrees about version of symbol blk_queue_logical_block_size
[  769.949482] NZFSK: Unknown symbol blk_queue_logical_block_size (err -22)
[  769.949489] NZFSK: disagrees about version of symbol blk_queue_max_segment_size
[  769.949491] NZFSK: Unknown symbol blk_queue_max_segment_size (err -22)
[  769.949502] NZFSK: disagrees about version of symbol add_disk
[  769.949503] NZFSK: Unknown symbol add_disk (err -22)
[  769.949512] NZFSK: disagrees about version of symbol kmem_cache_alloc_trace
[  769.949513] NZFSK: Unknown symbol kmem_cache_alloc_trace (err -22)
[  769.949517] NZFSK: disagrees about version of symbol __blk_end_request_all
[  769.949519] NZFSK: Unknown symbol __blk_end_request_all (err -22)
[  769.949521] NZFSK: disagrees about version of symbol wake_up_process
[  769.949523] NZFSK: Unknown symbol wake_up_process (err -22)
[  769.949525] NZFSK: disagrees about version of symbol blk_fetch_request
[  769.949527] NZFSK: Unknown symbol blk_fetch_request (err -22)
[  769.949529] NZFSK: disagrees about version of symbol __blk_end_request_cur
[  769.949530] NZFSK: Unknown symbol __blk_end_request_cur (err -22)
[  769.949533] NZFSK: disagrees about version of symbol put_disk
[  769.949535] NZFSK: Unknown symbol put_disk (err -22)
[  769.949537] NZFSK: disagrees about version of symbol __stack_chk_fail
[  769.949538] NZFSK: Unknown symbol __stack_chk_fail (err -22)
[  769.949543] NZFSK: disagrees about version of symbol cdev_add
[  769.949544] NZFSK: Unknown symbol cdev_add (err -22)
[  769.949553] NZFSK: disagrees about version of symbol mutex_lock
[  769.949554] NZFSK: Unknown symbol mutex_lock (err -22)
[  769.949560] NZFSK: disagrees about version of symbol del_gendisk
[  769.949561] NZFSK: Unknown symbol del_gendisk (err -22)
[  769.949565] NZFSK: disagrees about version of symbol kthread_stop
[  769.949566] NZFSK: Unknown symbol kthread_stop (err -22)
[  769.949569] NZFSK: disagrees about version of symbol __mutex_init
[  769.949571] NZFSK: Unknown symbol __mutex_init (err -22)
[  769.949573] NZFSK: disagrees about version of symbol current_task
[  769.949574] NZFSK: Unknown symbol current_task (err -22)
[  769.949579] NZFSK: disagrees about version of symbol vfs_read
[  769.949580] NZFSK: Unknown symbol vfs_read (err -22)
[  769.949586] NZFSK: disagrees about version of symbol mutex_trylock
[  769.949587] NZFSK: Unknown symbol mutex_trylock (err -22)
[  769.949590] NZFSK: disagrees about version of symbol kthread_create_on_node
[  769.949592] NZFSK: Unknown symbol kthread_create_on_node (err -22)
[  769.949595] NZFSK: disagrees about version of symbol vfs_fsync
[  769.949597] NZFSK: Unknown symbol vfs_fsync (err -22)
[  769.949598] NZFSK: disagrees about version of symbol mutex_unlock
[  769.949600] NZFSK: Unknown symbol mutex_unlock (err -22)
[  769.949602] NZFSK: disagrees about version of symbol filp_close
[  769.949603] NZFSK: Unknown symbol filp_close (err -22)
[  769.949605] NZFSK: disagrees about version of symbol vfs_llseek
[  769.949606] NZFSK: Unknown symbol vfs_llseek (err -22)
[  769.949609] NZFSK: disagrees about version of symbol blk_queue_max_hw_sectors
[  769.949610] NZFSK: Unknown symbol blk_queue_max_hw_sectors (err -22)
[  769.949615] NZFSK: disagrees about version of symbol blk_cleanup_queue
[  769.949617] NZFSK: Unknown symbol blk_cleanup_queue (err -22)
[  769.949619] NZFSK: disagrees about version of symbol alloc_disk
[  769.949620] NZFSK: Unknown symbol alloc_disk (err -22)
[  769.949623] NZFSK: disagrees about version of symbol cdev_init
[  769.949624] NZFSK: Unknown symbol cdev_init (err -22)
[  769.949628] NZFSK: disagrees about version of symbol kmalloc_caches
[  769.949629] NZFSK: Unknown symbol kmalloc_caches (err -22)
[  769.949631] NZFSK: disagrees about version of symbol cdev_del
[  769.949632] NZFSK: Unknown symbol cdev_del (err -22)
[  769.949634] NZFSK: disagrees about version of symbol blk_init_queue
[  769.949636] NZFSK: Unknown symbol blk_init_queue (err -22)

« Last Edit: March 07, 2015, 01:46:33 pm by MasterCATZ »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,537
  • Karma: +204/-16
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #4 on: March 08, 2015, 05:28:06 am »
@MasterCATZ
You won't get anywhere trying to force things to run on a different kernel.
Linux is a moving target (perpetual beta with distributions providing long term support). We only support long term support releases.
CentOS does maintains ABI compatibility with its LTS releases, which is great and why it is used in enterprise setting. Ubuntu on the other hand uses the LTS concept loosely.

In any case, kernel 3.16 will be supported eventually as part of support for Ubuntu 14.04.2 LTS. We are waiting for it vest quite a bit before supporting it. Support will likely come in April or May.

Offline EGOvoruhk

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #5 on: March 24, 2015, 02:59:48 am »
Please say April ;D

I'm finally about to completely revamp my main server, and try the switch from unRAID. I need me some dual parity, stat!

Edit: Is there/will there be a documented upgrade process? Just in case I decide to make the switch before the updated version is released
« Last Edit: March 24, 2015, 03:45:32 am by EGOvoruhk »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,537
  • Karma: +204/-16
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #6 on: March 24, 2015, 06:20:39 am »
The upgrade should be transparent as nothing will change fundamentally. In fact, as far as the current topic, there won't be any code change at all. It will just be a recompilation against a new ABI.

Offline EGOvoruhk

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #7 on: May 15, 2015, 07:46:46 pm »
Support will likely come in April or May.

Any word on the next version?

Offline sparkster666

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #8 on: May 17, 2015, 07:33:34 pm »
I would love to try this product and word on the update to correct this issue

Offline Aaron

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #9 on: June 12, 2015, 05:04:27 pm »
Support will likely come in April or May.
Any word on the next version?

I have also been patiently waiting MONTHS for an update: Pinning the kernel negates my ability to utilize the updated BlueZ libraries which provide bluetooth support for Playstation Sixaxis controllers.  It used to be a minor inconvenience. It is now a major PITA.

The last update to tRAID was Nov. 2014 (over 7 months ago). It has been a 3 months since your last correspondence on the subject and 1 month since the above posters' questions were ignored (presumably in the hopes it will go away). Your lack of support makes your customers wonder if tRAID was merely a mid-point cash-grab on your way to ZFS and some of us who have now purchased both Flexraid and tRAID are questioning continuing to support your products in the future what with other options becoming both widely available and also proven across multiple platforms.

So I ask again, for everyone: When can we expect an update to this software?
HTPC (and Game Streaming / Steam Machine if we ever get an update)
i7-3770k w/ 16 GB
8 x 3TB HDD

NOTE: Pinning the Kernel prevents this machine from being used as a Steam Machine due to the inability to update the BlueZ bluetooth libraries for Wireless PS3 controllers (ie. DualShock3 SixAxis)

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,537
  • Karma: +204/-16
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #10 on: June 12, 2015, 10:23:34 pm »
Honestly, been waiting on Ubuntu 14.04.3 LTS as it will have kernel 3.19, which will also be used in Ubuntu 15.04 LTS. Kernel 3.16 is a stop gap.

I am not a fan of Ubuntu's point releases with all these new kernels and interim kernels. From a support perspective, developers such myself need stable and long term kernel releases.
LTS has become meaningless with Ubuntu, which is a shame. If a software release can't be good for at least a year, then we have a problem.
Conversely, I am a big fan of the RHEL approach. Nothing like knowing that your install is good for years to come.

All in all, you guys will have to wait two more months for kernel 3.19 (due August 6th). This will be the last kernel release in the 3.x branch.
After that release, the next kernel release will be kernel 4.x.

Constant software releases show active development, but they are annoying to the end user who is left feeling like chasing a moving target. The feeling of something newer coming up next week or next month takes the fun out of installing the current release and enjoying it.
FlexRAID software releases have been slowed down with great purpose.

So, enjoy the current release on kernel 3.13 and look forward to the massive update once kernel 3.19 comes in a couple of months. ;)
« Last Edit: June 12, 2015, 10:31:23 pm by Brahim »

Offline EGOvoruhk

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #11 on: July 08, 2015, 05:20:19 am »
...look forward to the massive update once kernel 3.19 comes in a couple of months. ;)

Would that massive update be referring to Ubuntu's changes, or is tRAID getting some massive updates as well?

Offline Aaron

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #12 on: August 21, 2015, 03:51:27 pm »
you guys will have to wait two more months for kernel 3.19 (due August 6th).

August 6 you say?

NZFS-TRAID_1.0_final_2014-11-08_deb.zip is already installed on your system. Skipping...
NZFS-TRAID-CLIENT-1.0_final_2014-10-29.bin is already installed on your system. Skipping...

2016?

So, enjoy the current release on kernel 3.13 and look forward to the massive update once kernel 3.19 comes in a couple of months. ;)

 ::)

Good times.
HTPC (and Game Streaming / Steam Machine if we ever get an update)
i7-3770k w/ 16 GB
8 x 3TB HDD

NOTE: Pinning the Kernel prevents this machine from being used as a Steam Machine due to the inability to update the BlueZ bluetooth libraries for Wireless PS3 controllers (ie. DualShock3 SixAxis)

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,537
  • Karma: +204/-16
    • View Profile
Re: ./traid-install-mgr.sh Unsupported kernel version detected!
« Reply #13 on: August 21, 2015, 05:31:28 pm »
It takes time to regression test everything before making a release.
So far, everything looks good. ;)