Debian jessie + Mesa 7i76E

More
10 years 11 months ago #64736 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

Please Log in to join the conversation.

More
10 years 11 months ago #64737 by andypugh
Replied by andypugh on topic Debian jessie + Mesa 7i76E

jtc wrote: 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)

Please Log in to join the conversation.

More
10 years 11 months ago #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

Please Log in to join the conversation.

More
10 years 11 months ago #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

Please Log in to join the conversation.

More
10 years 11 months ago #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

Please Log in to join the conversation.

More
10 years 11 months ago #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:

sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 8f374fef


I got his message:
Code:
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: 0

Host not found... any clue how to solve it?

João

Please Log in to join the conversation.

More
10 years 11 months ago #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)

Please Log in to join the conversation.

More
10 years 11 months ago #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:
Code:
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 ms


when try to run the configuration:
Code:
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 terminal



I suspected that the board had the wrong firmware, but when try to verify:
Code:
jtc@jtctech:~/Downloads/firmware$ mesaflash --device 7i76e --verify 7I76R14.BIN Unsupported ethernet device ���������������� at 192.168.1.121 No 7I76E board found


João

Please Log in to join the conversation.

More
10 years 11 months ago #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:
Code:
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 to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum