Re: [Emc-developers] RtNet rt-preempt

2018-04-05 Thread Alec Ari via Emc-developers
I see nothing in that list that I haven't seen before.. e1000 and r8169 have 
been in the tree forever.

Alec
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-05 Thread mark . vandoesburg
Interesting, does RT-Net now support more Ethernet MACs?

This is what I can select:

< > AMD PCnet32 | |  
< > DEC Tulip   | |  
 Intel EtherExpress PRO/100  | |  
(20)  Command Timeout   | |  
[ ]   Enable debugging and instrumentation  | |  
 Intel(R) PRO/1000 (Gigabit) | |  
 New Intel(R) PRO/1000 PCIe (Gigabit)| |  
< > NatSemi | |  
 Realtek 8139| |  
< > VIA Rhine   | |  
< > Intel(R) 82575 (Gigabit)| |  
< > Realtek 8169 (Gigabit)  | |  
*** Misc Drivers ***| |  
 Loopback| |  
< > SMSC LAN91C111  | |  
[*] Experimental Drivers| |  
< >   3Com 59x (NEW)| |  
< >   New Intel(R) PRO/1000 (Gigabit) (NEW) | |  
< >   Ralink 2500 WLAN (NEW)   

regards,

Mark.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-05 Thread mark . vandoesburg
Not my work, the xenomai sources can be found at
git://git.xenomai.org/xenomai-3.git, and the kernel is available at
git://git.xenomai.org/ipipe.git.

They are currently working on linux-4.9,  but I could not get that to
function properly yet.

I don't use PTP in the current version, but I do use the hardware
timestamping of the ethernet mac on the microcontroller board. At some
point I intend to use PTP, but I switched jobs 6 months ago and moved
3 months ago... so I currently have other priorities.

regards,

Mark

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-05 Thread theman whosoldtheworld
Is right ... but there are some mail helph request until 2016 with response
 from 2016 nothing.
Anyhow mark fork the project and add some row of code for run on kernel 4.4
and with IEEE-1588 board ... because Lcnc become from nist program ( I know
these from AndyPugh, only after andy info I read these link:
http://linuxcnc.org/docs/html/common/emc-history.html), I show the nist
link:
https://www.nist.gov/sites/default/files/documents/el/isd/ieee/tutorial-basic.pdf

than a wiki link: https://en.wikipedia.org/wiki/Precision_Time_Protocol

So I think mark vandoesburg fork can work as a new RtNet type.

regards
bkt

2018-04-04 23:27 GMT+02:00 Alec Ari via Emc-developers <
emc-developers@lists.sourceforge.net>:

> The only RTnet repo I was aware about is here:
>
>
> https://sourceforge.net/p/rtnet/code/ci/master/tree/
>
> With the last change being from 4 years ago.
>
> Alec
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread Alec Ari via Emc-developers
The only RTnet repo I was aware about is here:


https://sourceforge.net/p/rtnet/code/ci/master/tree/

With the last change being from 4 years ago.

Alec

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread theman whosoldtheworld
thanks to all for the info ...

bkt

2018-04-04 23:20 GMT+02:00 theman whosoldtheworld :

> @mark ... great work
>
> bkt
>
> 2018-04-04 22:47 GMT+02:00 :
>
>> Oops, I forgot to mention the source is available at:
>>
>> https://github.com/mark-v-d/linuxcnc (the fixes branch)
>>
>> The main difference is that I need to disable all the uid stuff to get
>> it to work. Xenomai-3 doesn't want me to become root.
>>
>> The motor drive drive is available at:
>>
>> https://github.com/mark-v-d/motor_control.git (the home branch)
>>
>> The kernel I use is 4.4.71 with xenomai-3.0.6 on a x86_64 machine.
>>
>> regards,
>>
>> Mark
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread Peter C. Wallace

On Wed, 4 Apr 2018, mark.vandoesb...@hetnet.nl wrote:


Date: Wed, 04 Apr 2018 22:27:06 +0200
From: mark.vandoesb...@hetnet.nl
Reply-To: EMC developers <emc-developers@lists.sourceforge.net>
To: neotheu...@ymail.com, emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] RtNet rt-preempt

I am currently using a modified version of EMC with RTnet on Xenomai-3
and it works just fine. The latest patch to rtnet was on 2018-02-28, this
was about hardware timestamping in the ethernet mac for IEEE-1588 support.

regards,

Mark.



Interesting, does RT-Net now support more Ethernet MACs?

That was one of the reasons we dropped RT-Net/RTAI and moved to Preempt-RT






"Peter C. Wallace" <p...@mesanet.com> wrote:

On Wed, 4 Apr 2018, Alec Ari via Emc-developers wrote:

> Date: Wed, 4 Apr 2018 19:11:29 + (UTC)
> From: Alec Ari via Emc-developers 
<emc-developers@lists.sourceforge.net>
> Reply-To: Alec Ari <neotheu...@ymail.com>,
> EMC developers <emc-developers@lists.sourceforge.net>
> To: EMC developers <emc-developers@lists.sourceforge.net>
    > Cc: Alec Ari <neotheu...@ymail.com>
> Subject: Re: [Emc-developers] RtNet rt-preempt
>
> RTnet only really works on 2.6 kernels. There was some work done for 
kernel 3.2 support but it wasn't usable. It's all EOL at this point and completely 
useless, don't even think about RTnet anymore. Just use preempt-rt with POSIX 
threads over the network. You will have the low-latency ethernet by using the 
hm2_eth driver:

There was work being done on RT-Net for Xenomai, but unfortunately one 
of the
main  developers Gilles Chanteperdrix died in 2016 and I think it is 
abandoned
at this point.

>
>
> 
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/hm2_eth.c
>
> For info on how to configure and use hm2_eth please use:
>
>
> $ man 9 hm2_eth
>
> Alec
>
> 
--
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread theman whosoldtheworld
@mark ... great work

bkt

2018-04-04 22:47 GMT+02:00 :

> Oops, I forgot to mention the source is available at:
>
> https://github.com/mark-v-d/linuxcnc (the fixes branch)
>
> The main difference is that I need to disable all the uid stuff to get
> it to work. Xenomai-3 doesn't want me to become root.
>
> The motor drive drive is available at:
>
> https://github.com/mark-v-d/motor_control.git (the home branch)
>
> The kernel I use is 4.4.71 with xenomai-3.0.6 on a x86_64 machine.
>
> regards,
>
> Mark
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread mark . vandoesburg
Oops, I forgot to mention the source is available at:

https://github.com/mark-v-d/linuxcnc (the fixes branch)

The main difference is that I need to disable all the uid stuff to get
it to work. Xenomai-3 doesn't want me to become root.

The motor drive drive is available at:

https://github.com/mark-v-d/motor_control.git (the home branch)

The kernel I use is 4.4.71 with xenomai-3.0.6 on a x86_64 machine. 

regards,

Mark

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread mark . vandoesburg
I am currently using a modified version of EMC with RTnet on Xenomai-3
and it works just fine. The latest patch to rtnet was on 2018-02-28, this
was about hardware timestamping in the ethernet mac for IEEE-1588 support.

regards,

Mark.


"Peter C. Wallace" <p...@mesanet.com> wrote:

On Wed, 4 Apr 2018, Alec Ari via Emc-developers wrote:

> Date: Wed, 4 Apr 2018 19:11:29 + (UTC)
> From: Alec Ari via Emc-developers 
<emc-developers@lists.sourceforge.net>
> Reply-To: Alec Ari <neotheu...@ymail.com>,
> EMC developers <emc-developers@lists.sourceforge.net>
> To: EMC developers <emc-developers@lists.sourceforge.net>
> Cc: Alec Ari <neotheu...@ymail.com>
> Subject: Re: [Emc-developers] RtNet rt-preempt
> 
> RTnet only really works on 2.6 kernels. There was some work done for 
kernel 3.2 support but it wasn't usable. It's all EOL at this point and 
completely useless, don't even think about RTnet anymore. Just use preempt-rt 
with POSIX threads over the network. You will have the low-latency ethernet by 
using the hm2_eth driver:

There was work being done on RT-Net for Xenomai, but unfortunately one 
of the 
main  developers Gilles Chanteperdrix died in 2016 and I think it is 
abandoned 
at this point.

>
>
> 
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/hm2_eth.c
>
> For info on how to configure and use hm2_eth please use:
>
>
> $ man 9 hm2_eth
>
> Alec
>
> 
--
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread Alec Ari via Emc-developers
RTnet only really works on 2.6 kernels. There was some work done for kernel 3.2 
support but it wasn't usable. It's all EOL at this point and completely 
useless, don't even think about RTnet anymore. Just use preempt-rt with POSIX 
threads over the network. You will have the low-latency ethernet by using the 
hm2_eth driver:


https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/hm2_eth.c

For info on how to configure and use hm2_eth please use:


$ man 9 hm2_eth

Alec

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread andy pugh
On 4 April 2018 at 19:19, theman whosoldtheworld  wrote:

> Can someone show me some link with cose example?


https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/hm2_eth.c


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RtNet rt-preempt

2018-04-04 Thread Rene Hopf

> On 4. Apr 2018, at 14:56, theman whosoldtheworld  wrote:
> 
> I've ask to rtNet mailing list too ... but no response yet.
> 
> So I ask to dev. ... RtNet is develop for rtai or xenomai, but somehow try
> to use on rt-preempt kernel .. not now if with success or not.
> 
> If is not possible use RtNet on rt.preempt thesere are some other option
> for realtime ethernet for linux ? (I know and test ethercat, and powerlink
> ... actually I study cc-link IE because big-packet capable, I plan to try
> to use cc-link ie on linux pc).
> These because actually in some plc brand is possible to install custom made
> c11/c14 library and in these manner Use realtime-ethernet is a fast way to
> rt-data-exchange from Lcnc and PLC.
> 
> Actually use rtu-modbus and tcp modbus and ethernet tcp or ethernet ip...
> but is not real time …

with rt-preempt kernel you dont need any of that. you can just assign any 
userspace thread to realtime, so you can use the normal socket api.

> 
> Thanks for all suggest.
> bkt
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers