Go to Post Experience...you can't buy it, you might be able to get some for free by reading CD a lot, but usually you have to earn it, and it's not always fun. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-01-2015, 09:33
KeeganP's Avatar
KeeganP KeeganP is offline
Registered User
AKA: Keegan
FRC #2059 (The Hitchhikers)
Team Role: Mechanical
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Raleigh, NC
Posts: 69
KeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of light
You can't break it, they said. Try, they said.

Quick disclaimer: I am not a programmer on the team, but I do some electrical work. 5 years FRC experience. And yes, I know the NI number to call -- I plan to have the programmers call during tonight's meeting since they know more about it than I do.

The problem:
Basically, we bought a roboRIO back a month ago or so, and that one works just fine. The brand new one in the KOP worked fine for two nights of testing (and driving on a 2013 robot), but then last night we ran into a bug. It stopped working

Copy pasted from the programmers:
-Imaging doesn't work.
-22 is closed, and 80 & 443 don't work (hangs in browser).

-Holding reset starts it back in "safe mode."
-Then, 22 works, but 80 & 443 still don't (presents an error).
-Updating firmware doesn't work.

- In both modes, web-based control doesn't work, and you have to use the USB cable.
- FTP rejects all users in both modes.

Any help is greatly appreciated -- have any other teams run in to a similar issue? To our knowledge, the RIO hasn't been set on any motors/magnets, and there are no metal shavings anywhere near it at all. We've checked the wiring, and it all *should* be correct according to diagrams, but we forgot to check the actual voltage coming into the RIO with a multimeter (but it worked fine exactly as it is setup for 2 nights, then randomly stopped...). Also, all of the above testing is with only power connected to it -- no sensors/Talons/etc.

Fortunately we have a backup roboRIO, but since we don't know what happened to the first one, we can't really prevent the same from happening to our second one... Thanks!
__________________
The Hitchhikers Team2059.org

2011 NC Regional: Rookie All Star Highest Seeded Rookie, 3459
2012 SCRIW: Champions, 2059
2013 NC Regional: Finalists, 2059 (Thank you 1539 and 2655!)
2014 NC Regional: Industrial Design Award, 2059
2014 THOR: Finalist, 2059
2015 Palmetto Regional: Gracious Professionalism Award, Finalists (Thank you 1533 and 1261!), 2059
2015 NC Regional: Industrial Safety Award, Engineering Inspiration Award, Winner (Thank you 1225 and 900!), 2059
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2015, 09:41
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,587
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: You can't break it, they said. Try, they said.

NI, and the rest of us, are going to want to know what you were doing immediately prior to everything breaking. Were you flashing firmware? Did you download new code? Knowing a probable cause for what broke things will help narrow things down.

EDIT: Also, there's a lot of NI people on here at all hours. I'd recommend having your programmers also check in on this thread during the day if they get a chance.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2015, 18:10
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: You can't break it, they said. Try, they said.

If you haven't done it already, please contact NI support directly via either the forums or a phone call. They would like to get more information on what caused the issue and they will help walk you through reimaging so that the device fully boots up.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2015, 22:29
KeeganP's Avatar
KeeganP KeeganP is offline
Registered User
AKA: Keegan
FRC #2059 (The Hitchhikers)
Team Role: Mechanical
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Raleigh, NC
Posts: 69
KeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of lightKeeganP is a glorious beacon of light
Re: You can't break it, they said. Try, they said.

Sorry for the delay -- we worked on trying on our own last night with several different computers, and couldn't get it to work. Called NI, they gave us some more ideas to try, installed more software on two more computers, then the guy had to go (they closed) and we tried without him with the new software -- still nothing.

So tonight we called back and they gave us a whole new case number, said the old one had expired because 24 hours had passed (what? a week I get, but 24 hours? c'mon...). Anyway, they then tried to transfer us to tech support but then said they had actually just closed (an hour early...) and so we tried calling back but they wouldn't push us through.

So, fortunately we're still up and running with the second roboRIO (which is why I'm not too concerned right now) but we plan to call them as soon as they open tomorrow and get something worked out. Once we get it working, I'll have one of the programmers jump on and explain what the solution was so if anyone else has an issue similar, they too can get it resolved.

Fingers crossed for tomorrow!
__________________
The Hitchhikers Team2059.org

2011 NC Regional: Rookie All Star Highest Seeded Rookie, 3459
2012 SCRIW: Champions, 2059
2013 NC Regional: Finalists, 2059 (Thank you 1539 and 2655!)
2014 NC Regional: Industrial Design Award, 2059
2014 THOR: Finalist, 2059
2015 Palmetto Regional: Gracious Professionalism Award, Finalists (Thank you 1533 and 1261!), 2059
2015 NC Regional: Industrial Safety Award, Engineering Inspiration Award, Winner (Thank you 1225 and 900!), 2059
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2015, 13:41
crake crake is offline
National Instruments
AKA: Chris Rake
no team (Athena)
Team Role: Engineer
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 184
crake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond repute
Re: You can't break it, they said. Try, they said.

Quote:
Originally Posted by KeeganP View Post
So tonight we called back and they gave us a whole new case number, said the old one had expired because 24 hours had passed (what? a week I get, but 24 hours? c'mon...). Anyway, they then tried to transfer us to tech support but then said they had actually just closed (an hour early...) and so we tried calling back but they wouldn't push us through.
I'll look into the issuing of new SR numbers - they should NOT be "expiring" like that. Also the early closure - were you taking into account Central time? If so, and you in fact couldn't get through during support hours let me know and I'll follow up with the support team.

Last edited by crake : 10-01-2015 at 13:52.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2015, 17:42
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: You can't break it, they said. Try, they said.

Hmm... OK, assuming you can get to a mode where port 22 works, log in via ssh (e.g., putty on WinDoze) as "admin" with no password. Once you're in, issue the command "dmesg" and capture the output. Then paste that into CD so we can take a look at the output of the boot cycle.

Additionally, do you have the serial port hooked up by any chance? If the serial console is enabled, you should be able to capture the boot sequence via Hyperterm, putty or some similar terminal emulator. That info would be most useful in determining what's going on during the Linux boot cycle. At least with that, we should also be able to see the boot loader code running.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2015, 10:13
int0x191f2 int0x191f2 is offline
Registered User
FRC #2059 (The Hitchhikers)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Apex, NC
Posts: 1
int0x191f2 is an unknown quantity at this point
Re: You can't break it, they said. Try, they said.

I thought I should post here as one of the two programmers on Team 2059. A few things: port 22 is closed (nmap -A). Interestingly, the web interface shows that sshd is disabled. The other programmer and I are sure we never turned it off, via bash, or the web console.
Also, port 21 is open (with vsftpd supposedly running). However all connections are refused, including telnet, nc, and filezilla. Obviously if we could get a shell, there's a lot we could do towards fixing the problem.

One last thing. This might be crazy, but is it possible to boot off of a USB stick? This would theoretically allow us to boot an arch/Ubuntu minimal USB, mount, and chroot in.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2015, 11:13
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: You can't break it, they said. Try, they said.

Quote:
Originally Posted by int0x191f2 View Post
I thought I should post here as one of the two programmers on Team 2059. A few things: port 22 is closed (nmap -A). Interestingly, the web interface shows that sshd is disabled. The other programmer and I are sure we never turned it off, via bash, or the web console.
Also, port 21 is open (with vsftpd supposedly running). However all connections are refused, including telnet, nc, and filezilla. Obviously if we could get a shell, there's a lot we could do towards fixing the problem.

One last thing. This might be crazy, but is it possible to boot off of a USB stick? This would theoretically allow us to boot an arch/Ubuntu minimal USB, mount, and chroot in.
That is possible if they're using the right version of U-Boot. Unfortinately, I don't have my RoboRIO here, so I can tell you if it's the right version. But, you should also be able to boot via TFTP over the network. Hook an RS-232 up to a terminal emulator and see if there's a boot console that's visible. It's probably 115Kbps, N, 8, 1 for communications parameters. If you can get to a boot console, then you can completely reflash this beast.

HTH,

Mike
Reply With Quote
  #9   Spotlight this post!  
Unread 11-01-2015, 11:26
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: You can't break it, they said. Try, they said.

Please remember that ftp only supports anonymous login. I've been burned by that before. SFTP will support permissions and accounts.

Also, it isn't clear whether you are commenting on safe mode or regular boot.

Greg McKaskle
Reply With Quote
Reply


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 03:42.

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