Skip navigation.
Home
The QNX Community Portal

View topic - devnp-i82544.so

devnp-i82544.so

Discussion about the QNX6 OS.

devnp-i82544.so

Postby gopyan » Fri Jul 11, 2014 5:58 am

Hello Friends.

My system – QNX 6.4.0………I run into with strange problem. I have SBC with NIC – 82571EB Gigabit Ethernet Controller, i.e. driver - devnp-82544.so……………….When I invoke “io-pkt-v4-hc -d i82544 –p tcpip” (…..i check , that I invoke only ONE copy of io-pkt-v4-hc.........) , then all network system is hang (duration is about 30 seconds), because if invoke 3 commands consequally –

1. io-pkt-v4-hc -d i82544 –p tcpip
2. ifconfig wm0 193.232.173.5
3. ping 193.232.173.1 (this host is up, I’ve check this)

Ping is start to work perfectly only after 30 seconds. I attach output of the ping.

Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
Ping: sendto: Host is down
64 bytes from 193.232.173.1: icmp_seq=27 ttl=64 time=0 ms
64 bytes from 193.232.173.1: icmp_seq=28 ttl=64 time=0 ms

As you see, that ICMP_SEQ not 1, but 27. What I do wrong.
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby denkelly » Fri Jul 11, 2014 11:33 am

Try running this command immediately after ifconfig (assuming *.1is your router.

route add default 193.232.173.1
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm

Re: devnp-i82544.so

Postby gopyan » Fri Jul 11, 2014 1:01 pm

Thanks Denkelly. I try it. But , any ip addr can be instead of 193.232.173.1.
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby denkelly » Fri Jul 11, 2014 4:13 pm

As I said, the address should be your router address.
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm

Re: devnp-i82544.so

Postby gopyan » Mon Jul 14, 2014 10:10 am

No. This solution don't help me. Btw, when I start driver (io-pkt-v4-hc ........) , arp table become empty. May be, it is a key of the problem.
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby denkelly » Mon Jul 14, 2014 12:38 pm

The arp table has to be empty when the stack starts. The arp table is "collected" physical addresses "sniffed" from the local LAN segment.

It is normal for some time to be required before the interface is usable - but 25-30 seconds is excessively long. I observed 4-5 seconds but this is on a live network.

Perhaps you have no traffic on the router for ~30 seconds? You could try adding a second host to the router and run ping on it while you bring up QNX?
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm

Re: devnp-i82544.so

Postby Tim » Mon Jul 14, 2014 6:00 pm

Do you have a nameserver specified?

At least in QNX 6.3, I've found that if I have a nameserver specified and that nameserver isn't available that 'ping' commands even to a direct ip address like 193.232.173.1 take about 30 seconds until I start getting responses. As soon as I remove the namesever, ping immediately works. I see the same behavior with direct telnet IP's as well.

It makes me think QNX is asking to resolve names even on direct IP's if a nameserver is specified.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Re: devnp-i82544.so

Postby gopyan » Tue Jul 15, 2014 6:37 am

When I connect two comps directly , via cross cable, all work correctly.
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby gopyan » Tue Jul 15, 2014 6:54 am

My /etc/resolv.conf is empty.
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby Thunderblade » Tue Jul 15, 2014 7:48 am

Tim is right - if a nameserver is specified, the OS tries to use it. It's the same on Windows AFAIR.
Thunderblade
Senior Member
 
Posts: 487
Joined: Thu Apr 07, 2005 11:52 am

Re: devnp-i82544.so

Postby gopyan » Tue Jul 15, 2014 10:32 am

What I must check? Maybe, nameserver is my problem?
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby denkelly » Tue Jul 15, 2014 9:29 pm

After you call ifconfig, try

echo "nameserver 8.8.8.8" > /etc/resolv.conf

This works if the router is on the internet - seems it would make it worse if you are not.
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm

Re: devnp-i82544.so

Postby mario » Tue Jul 15, 2014 10:39 pm

What brand of switch are you using. Some (Cisco) can be setup to do some fancy negotiation, checking for loops and such. The switch we use takes exaclty 30 secondes to complete the negotication/validation/verification
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Re: devnp-i82544.so

Postby gopyan » Wed Jul 16, 2014 7:55 am

The brand of my switch is d-link dgs-1100-24. But, friends, I don't understand . Problem was gone. I can't catch it again. All work correctly even when I add "nameserver 8.8.8.8" to resolv.conf . But....some observations.
Yesterday, speed was 1000 mb/s. Now - 100 mb/s.
And.....net subsystem start to work correctly when I connect two comps via cross cable....it seems.
gopyan
Active Member
 
Posts: 64
Joined: Tue Mar 02, 2010 1:39 pm

Re: devnp-i82544.so

Postby maschoen » Wed Jul 16, 2014 6:21 pm

While unlikely, I'm going to throw out the possibility of a hardware configuration problem.
Specifically, the link speed vs. cable type, from Wikipedia.

Cat 5 = 100Mhz
Cat 5e = 100Mhz
Cat 6 = 250Mhz
Cat 6a = 500Mhz
Cat 7 = 600Mhz
Cat 7a = 1200Mhz

I'm not really sure how the NIC cards figure out the performance limits on a cable, but if your NIC was trying to run at 1Ghz and you have less than a Cat 7a cable, you could run into trouble.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Next

Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 1 guest