throw exception if kernel version < 6