Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Networking under appears to be fragile with our implimentation: (2 Items)
   
Networking under appears to be fragile with our implimentation  
We are current running QNX 6.4.1 with the ns83815 drivers

Any suggestions on how to attack this problem would be greatly appreciated.

We have multiple ways of causing the TCPIP subsystem to fail, these are but 2 examples:

1) If we directly connect a laptop to the Ethernet card on our pc104 stack (with the appropriate crossover) and 
establish a connection to our data acquisition application and then put the laptop to "sleep" mode, we seem to 
completely lose **ALL**  TCP/IP functionality on the QNX box -- which will only be restored with a complete reboot.  

2) connect QNX to operate with a wireless router on the lan side -- log a laptop into the router and then setup an 
application to talk with QNX (via our DAS app, telnet, ftp, etc) Move the laptop to a fringe location and wait for the 
wireless session to break.  Once the wireless session breaks with QNX, the TCPIP subsystem then random breaks 
approximently 20% of the time in the QNX box -- again requiring a complete reboot.  

Is there any way to detect if the TCP drivers have failed and perhaps reboot these alone?  We are completely stumped by 
this.

Thanks

James Kelley
Re: Networking under appears to be fragile with our implimentation  
That's an io-net driver, so you're running the shim under io-pkt.

After putting the laptop to sleep, then waking it up again, if you 
umount the driver, then mount it again, does it start to work again?

For your second question, you need to figure out if you have a
driver problem or a protocol problem (shot in the dark - probably
driver problem).

You can diagnose driver problems with the "nicinfo" and "ifconfig -v"
commands.  You can also use the "verbose=X" options to the 
driver, and hopefully they might log more information (eg link up
down) to the sloginfo output.

What you're looking for - does it report a good link?  Are the
rx pkt counts going up?