There is a PROD unit with Mindspeed c2000 and Linux(3.2.54) on it. It offers many services like SSH, LAN(connecting to back-end), 3G etc. At certain times the unit goes into freeze mode and no way to access it via 3G or LAN or SSH. Is there any way to initiate a reboot of this unit itself, by detecting the hung state? Problem is, it can go to hung state any time and there is no definite checks I can add to determine it before-hand.

  • First step is to find out what exactly hangs. So get console access (via a serial port, or whatever the "unit" has) during a hang and/or look at the error messages that appear before the hang. In theory, you can run a watchdog process, or use a watchdog timer in the kernel, but if the "hang" is of a nature where these won't work, that won't help. – dirkt Oct 23 '18 at 6:11
  • Was not successful in identifying whats that exactly causing the hung state. Sample crash log collected via serial port is here: filebin.net/bi0g4zlw06mjclne/dlc200_20crash.txt?t=vcqyp0z7 – Ravi Oct 23 '18 at 6:12
  • Um, you have plenty of kernel stacktraces, most caused by CPU 0 hang. First guess is a serious hardware problem. Second guess is corrupted firmware, so try re-installing the system. Don't continue using this unit as it is. (And if you already have those, why on earth did you think it's not relevant to the question? This should have been included right from the start.) – dirkt Oct 23 '18 at 6:21
  • And the bad eraseblocks at the beginning indicate that your flash is probably gone, too. You can invest a lot of time trying to find out what's wrong, or just buy a new unit. – dirkt Oct 23 '18 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.