Forum Topic - Nameloc and Netmap: (7 Items)
   
Nameloc and Netmap  
I have a 6-node network connected to three different networks.  It looks like this:


 |----|----|----|----|----|   <- LAN 1
[1]  [2]  [3]  [4]  [5]  [6]
 |----|----|    |----|----|   <- LAN 2/3
 
LAN 1 is a local network for process control with those 6 machines on it only.

LAN 2/3 is a management network used for diagnostics, pushing updates and MIS connection.  LAN 2 and 3 are tied together
 through a WAN.

Any suggestions on how/where to run nameloc?  One of the issues I'm having is that if nameloc is not running on all 
machines, it is possible that TCPIP will not run, "No License" error on start up, if it is the first machine to boot.

Any suggestions on how to set up the netmaps?  If I include all of LAN 2 and 3 on all of the machines, I get "NODE n UP"
 and "NODE n DOWN" and intermittent failures when nodes 1,2,3 attempt to talk to nodes 4,5,6 and vice versa.  Currently 
I have a netmap that is the same on nodes 1,2,3 and the same netmap on nodes 4,5,6 - both side include thier own 3 node 
2nd network.

Re: Nameloc and Netmap  
Hi Jeffrey,

Sorry for the delay with my answer. I tried to reproduce your issue, but no luck. I guess I need build more complex test
 stand. Can you send me output of following commands from all nodes (in one tar archive)?

sin in
sin arg
sin ver
netmap
licinfo -a
netinfo -l
ifconfig -a
show_pci -v

Respectfully,
Oleg

12 сент. 2014 г., в 22:06, Jeffrey Jordan <community-noreply@qnx.com> написал:

> I have a 6-node network connected to three different networks.  It looks like this:
> 
> 
> |----|----|----|----|----|   <- LAN 1
> [1]  [2]  [3]  [4]  [5]  [6]
> |----|----|    |----|----|   <- LAN 2/3
> 
> LAN 1 is a local network for process control with those 6 machines on it only.
> 
> LAN 2/3 is a management network used for diagnostics, pushing updates and MIS connection.  LAN 2 and 3 are tied 
together through a WAN.
> 
> Any suggestions on how/where to run nameloc?  One of the issues I'm having is that if nameloc is not running on all 
machines, it is possible that TCPIP will not run, "No License" error on start up, if it is the first machine to boot.
> 
> Any suggestions on how to set up the netmaps?  If I include all of LAN 2 and 3 on all of the machines, I get "NODE n 
UP" and "NODE n DOWN" and intermittent failures when nodes 1,2,3 attempt to talk to nodes 4,5,6 and vice versa.  
Currently I have a netmap that is the same on nodes 1,2,3 and the same netmap on nodes 4,5,6 - both side include thier 
own 3 node 2nd network.
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post111704
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com

Re: Nameloc and Netmap  
Unable so far to get the info you requested.  I'm not at the same site as the system.

Another development is that the nodes that are failing (most and catastrophically) are those that have a e1000 card 
installed.  Interestingly, each of the six nodes has two network cards and both of the failing nodes have two e1000 
cards.  These cards fail at the same time.  The basic symptom is that the computer cannot communicate through either 
card, but it remains running; neither card communicates.  In all cases, the node gives no details as to why, no dumps or
 anything.  Net is still running and so are the two Net.e1000 drivers.
Re: Nameloc and Netmap  
AFAIK, there are no known problems with the e1000 driver. If you run
Œnetinfo -L1¹ and Œnetinfo -L2¹ are the ³Total Packets Rxd OK² counts
incrementing?
Also, do the MAC addresses in the netinfo output agree with the MAC
addresses when you run Œnetmap¹?



On 2014/9/23, 11:41 AM, "Jeffrey Jordan" <community-noreply@qnx.com> wrote:

>Unable so far to get the info you requested.  I'm not at the same site as
>the system.
>
>Another development is that the nodes that are failing (most and
>catastrophically) are those that have a e1000 card installed.
>Interestingly, each of the six nodes has two network cards and both of
>the failing nodes have two e1000 cards.  These cards fail at the same
>time.  The basic symptom is that the computer cannot communicate through
>either card, but it remains running; neither card communicates.  In all
>cases, the node gives no details as to why, no dumps or anything.  Net is
>still running and so are the two Net.e1000 drivers.
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post111844
>To cancel your subscription to this discussion, please e-mail
>general-qnx4-unsubscribe@community.qnx.com

Re: Nameloc and Netmap  
I just found out that one of our drivers for a DIO card shares an interrupt with the e1000.  It may be an issue with the
 DIO driver.  It was written more than 10 years ago.

We're going to separate the DIO and e1000 cards on the bus to get different IRQs assigned, one for the net and another 
for the DIO.  See if that helps identify the issue.

Although I had the local folks do the netinfo -Ln, I did not ask if the OK counts were incrementing.  I only asked if 
the others were still at zero.

netmaps are perfect, reported at startup, match the netmap file and the netinfo -l output.
Re: Nameloc and Netmap  
Hi Jeffrey,

I've created test configuration similar to yours. It works fine. Please note that all MAC addresses should be correct in
 /etc/config/netmap of every node. Nameloc should be started on the node that has /etc/config/netmap with all other 
nodes. As for e1000 driver, try the latest one from the Download area of QNX4 Project:

http://community.qnx.com/sf/wiki/do/viewPage/projects.qnx4/wiki/LatestSoftwareUpdates

Respectfully,
Oleg

23 сент. 2014 г., в 20:06:15, Jeffrey Jordan <community-noreply@qnx.com> написал:

> I just found out that one of our drivers for a DIO card shares an interrupt with the e1000.  It may be an issue with 
the DIO driver.  It was written more than 10 years ago.
> 
> We're going to separate the DIO and e1000 cards on the bus to get different IRQs assigned, one for the net and another
 for the DIO.  See if that helps identify the issue.
> 
> Although I had the local folks do the netinfo -Ln, I did not ask if the OK counts were incrementing.  I only asked if 
the others were still at zero.
> 
> netmaps are perfect, reported at startup, match the netmap file and the netinfo -l output.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post111846
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com

Re: Nameloc and Netmap  
Thanks a bunch.  I will try the new driver.  Perhaps I have a newer chipset.

Thanks for reproducing the netmap.  I have made the same configuration you have and it seems to be working except that 
the computer stops communicating.  I think the driver should help.