Test Axis fails to start

More
21 Apr 2016 17:09 - 21 Apr 2016 17:10 #73694 by gandalf
Hi,
when I click to "Test / Tune Axis" on pncconf I get this error





I'm using 2.7-uspace on i386

Linux cnc 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.78-1 i686 GNU/Linux
Attachments:
Last edit: 21 Apr 2016 17:10 by gandalf.

Please Log in or Create an account to join the conversation.

More
22 Apr 2016 08:14 #73708 by Amedee
Replied by Amedee on topic Test Axis fails to start
My take is that this is a bug when using RT Preempt: we have 'is_rt' but no kernel module.

We probably need to split the test and check for hal.is_kernelspace before looking at hal.kernel_version

Someting like
elif hal.is_rt:
  if hal.is_kernelspace
    # RTAI - Check version
    if not hal.kernel_version == actual_kernel:
      self.warning ...
      ...
    else:
      return True
  else:
    # RT Preemt
    return True

Best is to wait on Chris for that one ;)

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.172 seconds
Powered by Kunena Forum