Test Axis fails to start
- gandalf
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 41
- Thank you received: 1
			
	
						21 Apr 2016 17:09		 -  21 Apr 2016 17:10		#73694
		by gandalf
	
	
		
			
	
	
	
			 		
													
	
				Test Axis fails to start was created by gandalf			
			
					
		Last edit: 21 Apr 2016 17:10  by gandalf.			
			Please Log in or Create an account to join the conversation.
- Amedee
- 
				  
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 56
- Thank you received: 13
			
	
						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
Best is to wait on Chris for that one 
			
					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 TrueBest 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.113 seconds	
 
													