Go to Post We all know that with mechanical systems, once all the noise has leaked out, the system quits (therefore quiet running mechanical systems last much longer :^) - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-02-2016, 08:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: PC restart required every time bot is restarted

I haven't seen it this year, but one of the bugs that we weren't able to make much progress on was when the multicast group was not up to date. So the mDNS calls return normally, but return cached results. I was watching the TCP traffic and could tell that the discovery was not going over the wire.

I believe that if you fiddle with the laptop networking enough, it will connect without requiring a reboot. Specifically, when Windows decides it needs to update the multicast group, the mDNS call will suddenly find the device that was connected the whole time. I was never able to find a way to flush or rebuild that info.

If anyone has amazing Windows networking ninja skills and knows how to force this, please chime in.

Greg McKaskle
  #2   Spotlight this post!  
Unread 26-02-2016, 11:13
rrossbach rrossbach is offline
Registered User
AKA: Ron R
FRC #2607 (RoboVikings)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Warrington PA
Posts: 90
rrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to beholdrrossbach is a splendid one to behold
Re: PC restart required every time bot is restarted

Quote:
Originally Posted by Greg McKaskle View Post
I haven't seen it this year, but one of the bugs that we weren't able to make much progress on was when the multicast group was not up to date. So the mDNS calls return normally, but return cached results. I was watching the TCP traffic and could tell that the discovery was not going over the wire.

I believe that if you fiddle with the laptop networking enough, it will connect without requiring a reboot. Specifically, when Windows decides it needs to update the multicast group, the mDNS call will suddenly find the device that was connected the whole time. I was never able to find a way to flush or rebuild that info.
Other than a full PC reboot, disabling and re-enabling the network adapter consistently resolves the problem whenever I see it. Presumably that forces the multicast group update.

I've not been able to resolve the problem just using "ipconfig /flushdns"

Hope this helps!

EDIT: sorry, neglected to also mention that when I've seen the problem, other networking apps all work fine....I'm able to ping roborio-XXXX-frc from the command line, able to ssh into it with PuTTY, etc
__________________

FIRST Mid-Atlantic Volunteer
FRC Team #2607 Mentor

Last edited by rrossbach : 26-02-2016 at 11:27.
  #3   Spotlight this post!  
Unread 26-02-2016, 12:14
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: PC restart required every time bot is restarted

Quote:
Originally Posted by rrossbach View Post
Other than a full PC reboot, disabling and re-enabling the network adapter consistently resolves the problem whenever I see it.
With a single exception, that's my experience as well.

The one case where the disable/reenable didn't work for me was with a particular USB-to-Ethernet adapter. It seemed not to take ANY changes to the device's properties until it was unplugged and reconnected to a different USB port, which ALWAYS triggered a reinstall of the driver. I think the team eventually gave up on that piece of hardware and used a loaner Classmate to run their Driver Station for the rest of the event.
  #4   Spotlight this post!  
Unread 29-02-2016, 09:20
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
Re: PC restart required every time bot is restarted

Thanks everyone for your replies! I haven't checked this thread for a few days, and it looks like we now we have a BUNCH of things we can try this afternoon at practice.

We will re-post with an update of what works and what doesn't.
  #5   Spotlight this post!  
Unread 29-02-2016, 16:29
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
Re: PC restart required every time bot is restarted

SOLVED: Disabling and enabling the network adapter works consistently on both of our Windows 8.1 HP laptops. Special thanks, rrossbach and Alan Anderson!

Things that didn't work:
  • ipconfig /flushdns
  • restarting "NI mDNS Responder Service" and all dependent services
  • restarting DS
  • every possible sequence of the above

THANK YOU ALL for your replies. I'm just super-pumped that I don't have to restart the computer every time we restart the bot now.

Last edited by priderobotics : 29-02-2016 at 16:43.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi