Debian jessie + Mesa 7i76E
- jtc
 - 
				
									Topic Author
											 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 145
 - Thank you received: 12
 
			
	
						04 Nov 2015 05:37				#64736
		by jtc
	
	
		
			
	
			
			 		
													
	
				Debian jessie + Mesa 7i76E was created by jtc			
			
				Hi!
My plans is to upgrade to debian jessie, and use Mesa 7i76E boards for a new machine configuration. So I make this post in advance to see if I'm making something wrong and save some time.
For what I search, on this topic: linuxcnc.org/index.php/english/forum/9-i...d-mesa-ethernet-card, mesa ethernet cards need a Preempt kernel, and linuxcnc-uspace, my question is what is the differences between linuxcnc-uspace and the "normal" LCNC?
I find this instructions, linuxcnc.org/docs/2.7/html/getting-start...th_preempt_rt_kernel, so I hope its just install like is described, but and if I want to install in a RunInPlace configuration? there is a specific branch?
Any advices will be welcome.
João
					My plans is to upgrade to debian jessie, and use Mesa 7i76E boards for a new machine configuration. So I make this post in advance to see if I'm making something wrong and save some time.
For what I search, on this topic: linuxcnc.org/index.php/english/forum/9-i...d-mesa-ethernet-card, mesa ethernet cards need a Preempt kernel, and linuxcnc-uspace, my question is what is the differences between linuxcnc-uspace and the "normal" LCNC?
I find this instructions, linuxcnc.org/docs/2.7/html/getting-start...th_preempt_rt_kernel, so I hope its just install like is described, but and if I want to install in a RunInPlace configuration? there is a specific branch?
Any advices will be welcome.
João
Please Log in or Create an account to join the conversation.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						04 Nov 2015 07:26		 -  04 Nov 2015 07:30		#64737
		by andypugh
	
	
		
			
				
No, you just run configure with --with-realtime=uspace (or let it self-discover what brand of realtime system you have)
					
	
	
			 		
													
	
				Replied by andypugh on topic Debian jessie + Mesa 7i76E			
			if I want to install in a RunInPlace configuration? there is a specific branch?
No, you just run configure with --with-realtime=uspace (or let it self-discover what brand of realtime system you have)
		Last edit: 04 Nov 2015 07:30  by andypugh.			
			Please Log in or Create an account to join the conversation.
- ArcEye
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 22
 - Thank you received: 239
 
			
	
						04 Nov 2015 15:29				#64739
		by ArcEye
	
	
		
			
	
	
			 		
													
	
				Replied by ArcEye on topic Debian jessie + Mesa 7i76E			
			
				The guide covers it, but just to emphasise it.
Jessie does not have a stock rt-preempt kernel. Their kernel maintainer was supposed to be introducing one, but it has not happened yet.
I was not aware there was a backport, but that should work.
The alternative is to build your own, this thread has a link to the docs and some other info
sourceforge.net/p/emc/mailman/message/33665819/
www.linuxcnc.org/index.php/english/forum...-14041-linuxcnc-help
regards
					Jessie does not have a stock rt-preempt kernel. Their kernel maintainer was supposed to be introducing one, but it has not happened yet.
I was not aware there was a backport, but that should work.
The alternative is to build your own, this thread has a link to the docs and some other info
sourceforge.net/p/emc/mailman/message/33665819/
www.linuxcnc.org/index.php/english/forum...-14041-linuxcnc-help
regards
		The following user(s) said Thank You: jtc 	
			Please Log in or Create an account to join the conversation.
- jtc
 - 
				
									Topic Author
											 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 145
 - Thank you received: 12
 
			
	
						07 Nov 2015 05:28				#64931
		by jtc
	
	
		
			
	
			
			 		
													
	
				Replied by jtc on topic Debian jessie + Mesa 7i76E			
			
				I'm not comfortable to build a build a kernel, so looks like I will compile the RunInPlace version to use uspace.
Regarding the mesa 7i76E, I should use a straight Ethernet cable? I searched for this information but didn't find anything.
João
					Regarding the mesa 7i76E, I should use a straight Ethernet cable? I searched for this information but didn't find anything.
João
Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						07 Nov 2015 06:46				#64934
		by PCW
	
	
		
			
	
	
			 		
													
	
				Replied by PCW on topic Debian jessie + Mesa 7i76E			
			
				Any Ethernet cable will do (straight through or crossover)
The PHY on the 7I76E has whats called MDIX which means it figures out
if the TX/RX pairs are swapped and swaps them internally if it needs to
					The PHY on the 7I76E has whats called MDIX which means it figures out
if the TX/RX pairs are swapped and swaps them internally if it needs to
		The following user(s) said Thank You: jtc 	
			Please Log in or Create an account to join the conversation.
- jtc
 - 
				
									Topic Author
											 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 145
 - Thank you received: 12
 
			
	
						11 Nov 2015 18:15				#65131
		by jtc
	
	
		
			
	
			
			 		
													
	
				Replied by jtc on topic Debian jessie + Mesa 7i76E			
			
				I have  make a new debian installation on another pc . already intall the rt kernel, but when try this command:
I got his message:
Host not found... any clue how to solve it?
João
					sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 8f374fef
I got his message:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.cGAkwK5HjW --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver hkp://keys.gnupg.net --recv-key 8f374fef
gpg: requesting key 8F374FEF from hkp server keys.gnupg.net
?: keys.gnupg.net: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: No such file or directory
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0Host not found... any clue how to solve it?
João
Please Log in or Create an account to join the conversation.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						12 Nov 2015 00:12				#65152
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Debian jessie + Mesa 7i76E			
			
				If you google for "keys.gnupg.net: Host not found" then a number of possibilities will be presented.
It looks like the trick is to use a different key server.
(This actually has nothing much to do with LinuxCNC)
					It looks like the trick is to use a different key server.
(This actually has nothing much to do with LinuxCNC)
Please Log in or Create an account to join the conversation.
- jtc
 - 
				
									Topic Author
											 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 145
 - Thank you received: 12
 
			
	
						12 Nov 2015 18:51		 -  12 Nov 2015 18:52		#65176
		by jtc
	
	
		
			
	
	
			 		
													
	
				Replied by jtc on topic Debian jessie + Mesa 7i76E			
			
				changing the host to the ip adress solve the problem.
now, another problems...
I create a new configuration with Pncconf and configure manually the ip adress of the pc.
I can ping the board:
when try to run the configuration:
I suspected that the board had the wrong firmware, but when try to verify:
João
					now, another problems...
I create a new configuration with Pncconf and configure manually the ip adress of the pc.
I can ping the board:
jtc@jtctech:~/linuxcnc/configs/mesa7i76e$ ping 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
64 bytes from 192.168.1.121: icmp_req=1 ttl=64 time=0.126 ms
64 bytes from 192.168.1.121: icmp_req=2 ttl=64 time=0.115 ms
64 bytes from 192.168.1.121: icmp_req=3 ttl=64 time=0.117 ms
64 bytes from 192.168.1.121: icmp_req=4 ttl=64 time=0.118 ms
64 bytes from 192.168.1.121: icmp_req=5 ttl=64 time=0.119 ms
64 bytes from 192.168.1.121: icmp_req=6 ttl=64 time=0.117 ms
64 bytes from 192.168.1.121: icmp_req=7 ttl=64 time=0.119 ms
64 bytes from 192.168.1.121: icmp_req=8 ttl=64 time=0.117 ms
^C
--- 192.168.1.121 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 6998ms
rtt min/avg/max/mdev = 0.115/0.118/0.126/0.011 mswhen try to run the configuration:
Machine configuration directory is '/home/jtc/linuxcnc/configs/mesa7i76e'
Machine configuration file is 'mesa7i76e.ini'
Starting LinuxCNC...
Found file(REL): ./mesa7i76e.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:10:40:1d
hm2_eth: Unrecognized ethernet board found: ���������������� -- port names will be wrong
hm2_eth: discovered ����������������
hm2: invalid llio name passed in (contains non-printable character)
board fails HM2 registration
hm2_eth: rtapi_app_main: Invalid argument (-22)
./mesa7i76e.hal:8: waitpid failed /usr/bin/rtapi_app hm2_eth
./mesa7i76e.hal:8: /usr/bin/rtapi_app exited without becoming ready
./mesa7i76e.hal:8: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/jtc/linuxcnc_debug.txt
and
    /home/jtc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminalI suspected that the board had the wrong firmware, but when try to verify:
jtc@jtctech:~/Downloads/firmware$ mesaflash --device 7i76e --verify 7I76R14.BIN Unsupported ethernet device ���������������� at 192.168.1.121
No 7I76E board foundJoão
		Last edit: 12 Nov 2015 18:52  by jtc.			
			Please Log in or Create an account to join the conversation.
- jtc
 - 
				
									Topic Author
											 - Offline
 - Premium Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 145
 - Thank you received: 12
 
			
	
						13 Nov 2015 13:04				#65200
		by jtc
	
	
		
			
	
			
			 		
													
	
				Replied by jtc on topic Debian jessie + Mesa 7i76E			
			
				last day I spend 2 our 3 hours try to find the solution but without success.  the only information closer that I can find is in the this thread:
forum.linuxcnc.org/forum/27-driver-board...80-and-7i77?start=70
but nothing like this problem.
this is my network settings:
João
					forum.linuxcnc.org/forum/27-driver-board...80-and-7i77?start=70
but nothing like this problem.
this is my network settings:
jtc@jtctech:~$ sudo /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0b:cd:e2:6f:ef  
          inet addr:192.168.1.120  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20b:cdff:fee2:6fef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:45 errors:0 dropped:0 overruns:0 frame:0
          TX packets:210 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4136 (4.0 KiB)  TX bytes:25452 (24.8 KiB)
          Interrupt:20 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:288 errors:0 dropped:0 overruns:0 frame:0
          TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:25894 (25.2 KiB)  TX bytes:25894 (25.2 KiB)
wlan0     Link encap:Ethernet  HWaddr 30:b5:c2:17:31:ac  
          inet6 addr: fe80::32b5:c2ff:fe17:31ac/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500 Metric:1
          RX packets:5351 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3462 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4056544 (3.8 MiB)  TX bytes:533629 (521.1 KiB)
jtc@jtctech:~$ 
João
Please Log in or Create an account to join the conversation.
		Time to create page: 0.140 seconds