Pogoplug pro seems frozen

This forum is for all other ARMv5 devices

Pogoplug pro seems frozen

Postby guidof » Sat Jan 12, 2013 11:08 pm

Pogoplug pro with ArchLinux + Samba + aMule works fine for a while (several hours).
Suddenly it kicks from ssh, amulegui no longer responds and amuleweb as well.
Only ping works and I can see ethernet led flashing as if it was still tramsferring tcp packets in or out.

I also could see that some sh jobs was still running (I let run a 'while true...' loop logging in a file and it has never stopped to run)

The only way is to unplug and replug main power.
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Pogoplug pro seems frozen

Postby Socaltom » Sun Jan 13, 2013 4:41 am

Have you tried watching your memory use?
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Pogoplug pro seems frozen

Postby guidof » Sun Jan 13, 2013 11:37 am

No, I couldn't as it is not possible to connect during dark period.

I will set up some automatic daemon in order to collect memory usage information in background and write them into a file to be examined after hard reset.

But it is quite srange that some oom sistuation occured wont be logged anywhere. I look all /var/log files and they look fine.
Is there any better way to trace any oof situation?
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Pogoplug pro seems frozen

Postby Socaltom » Sun Jan 13, 2013 9:42 pm

Try installing webmin and see if you can get in that way when its "locked"
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Pogoplug pro seems frozen

Postby guidof » Tue Jan 15, 2013 8:30 am

Not even webmin connects. I'm going to believe that the pogoplug is not frozen, she just do not accept new tcp/udp connections. It should be better to close this thread and open a new one with a meaningful title.

I did let run several shell scripts in background (while true.......done) collecting some informations (number of open files, free memory, load average,lan status)
I could see that during crisis all works fine, process are up runinning memery is free and number of open files is normally below 100. Lan card seems up an routing table also seems fine.

For some reason the system do not accept incoming connection.

I didn't reverted the system for using xinetd, I'm still using daemons. SHould I revert?
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Pogoplug pro seems frozen

Postby WarheadsSE » Tue Jan 15, 2013 2:58 pm

I think something must be causing the TCP stack in the mii/gmac driver to hork. We need to see some logs.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug pro seems frozen

Postby guidof » Tue Jan 15, 2013 3:22 pm

Thanks for the interest.

Where do I find those log files? Should I enable some tracing/logging?
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Pogoplug pro seems frozen

Postby WarheadsSE » Tue Jan 15, 2013 4:06 pm

It would be best to find some way for the device to detect it's loss of network, then shutdown cleanly with a call to poweroff. Otherwise, a 3.3v TTL serial would be your absolute option for troubleshooting this situation.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug pro seems frozen

Postby guidof » Thu Jan 17, 2013 12:23 am

$this->bbcode_second_pass_quote('WarheadsSE', 'I')t would be best to find some way for the device to detect it's loss of network, then shutdown cleanly with a call to poweroff. Otherwise, a 3.3v TTL serial would be your absolute option for troubleshooting this situation.

I agree, but... how to do that????
In the meantime I did put in cronab a shell script for reboot pogoplug every three hours, no so good workaround I know.
Meanwhile, hopefully, somebody will come out with some ideas.

Other bizzare events, last night pogoplug has been running for almost 15 hours (Longest uptime since I got it!!!, he normally had crisis in 2 max 3 hours) I feel if I would stop crontab he will run forever, maybe....
This might be explained by a theory, a tcp attack or other virus inside. And now, amuled (maybe) built a good node list and bad nodes are less contected than they was after initial install of amule. Crazy theory but this is the only idea I had.

I UNSECCESFULLY tried a direct rs232 connection with a standard rs232 cable soldered to a jst header, no way (maybe due to the missing 3.3V pin on the RS232...) the only effect of that cable was the missing green led flash as if it was detected by pogoplug and is it was waiting but nothing else on the windows "hyper teminal" and not even on the putty (tried also with Kermit)

However, I like these kind of challenge......


By
guidof
 
Posts: 13
Joined: Thu Jan 10, 2013 5:08 pm

Re: Pogoplug pro seems frozen

Postby WarheadsSE » Thu Jan 17, 2013 3:03 am

Please.. don't ever attach 12V serial to a 3.3V line.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 78 guests