10

My Raspi after 6 days of uptime just crashed. I wasn't able to see nothing on the screen, if I plugged a USB device, no action from it. And all the LEDs were steady and not a blink at all.

I have the debian distro.

I am trying to detect what could be the cause of the crash. I wanted to check the logs but for example I have zero sized messages:

-rw-r----- 1 root adm 0 Oct 14 06:25 /var/log/messages

dmesg shows just current startup screen, and it doesn't provide any notice of some errors.

Where shall I look forward?

Update

I restarted yesterday too, and checking in the morning and it's crashed again.

Update

The raspi frezzes multiple times a day, problem got worst. I updated firmware and still happens, I tried ran memtester and it reported no memory issues.

9
  • 1
    Are you perhaps mounting /var in RAM? If so the error messages wont persist after a reboot :(
    – Jivings
    Oct 17, 2012 at 20:54
  • I have there some error messages from apache, from several days ago.
    – Pentium10
    Oct 18, 2012 at 6:13
  • I think you'll have to go the UART route as gnibbler says then.
    – Jivings
    Oct 18, 2012 at 6:37
  • 1
    Are there any files like /var/log/messages.1 or 1.gz? That would mean the logs got rotated and the old messages are moved to these files.
    – XTL
    Oct 19, 2012 at 8:58
  • 2
    @Jivings I am just doing that, so far after a couple of hours everything looks OK.
    – Pentium10
    Oct 23, 2012 at 6:24

1 Answer 1

5

If your PC is nearby, you can leave the serial port connected like this in case it crashes again. Mine crashed once like this and I could see the kernel panic etc. in putty.

If plugging in the USB device is what caused it to crash, you may be able to replicate it. Also suspect the power supply - the power supply to the USB is not very well engineered in the revision 1 boards.

2
  • As the update tells the situation got worst, I have multiple frezzes on the same day. I have no chance momentarily to try out the system you are recommending. Is there somehow I could leave SSH open, and see the kernel panic. Also how to check if it's from the power supply. I have a 5v/1000mA adaptor. After crash the LEDs stay in lit mode.
    – Pentium10
    Oct 22, 2012 at 19:55
  • Oh, power supply on rev1, really? Which models?
    – mlhDev
    Apr 4, 2016 at 2:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.