Tracking Cause of Crash


6 posts
by rtillery » Mon Jan 21, 2013 5:39 am
I'm not an expert on Linux or the Pi, so I'm hoping someone will be patient enough to tell me how to determine what's causing my crashes.

I'm using the latest RaspBMC in a simple use case. I want to use the Pi to feed music to in-room audio, either individual audio files from a server or Pandora. The Pi will feed an amp from it's analog output.

Everything works well, except that while playing the first song, the Pi crashes hard a couple minutes in. The display stops, only the red LED remains on. Connections are wired Ethernet, HDMI to display, and analog audio to an amp (currently zone 2 of receiver). Nothing on the USB.

I read that a questionable power supply can cause random crashes, so I tried the best I had, which is a 5.1v, 2A iPad charger. It lasted a few songs but crashed the same way. There is no air restriction which would cause overheating.

How can I troubleshoot this? With a hard crash, is there any evidence of what happens after the fact, on the next boot?

Thanks for any advice!
Posts: 4
Joined: Mon Jan 21, 2013 4:46 am
by 4lex » Mon Jan 21, 2013 11:53 am
I'd try a fixed IP first, my squeezebox behaved the same until I did that, I guess my phone or tablet or something trying to steal the same IP address.
Posts: 11
Joined: Tue Jan 15, 2013 1:11 am
by rtillery » Tue Jan 22, 2013 3:06 pm
Thanks for your suggestion. I tried a fixed IP (far from those being provided by DHCP), but it crashed just the same.

Any other suggestions?
Posts: 4
Joined: Mon Jan 21, 2013 4:46 am
by rtillery » Wed Jan 23, 2013 1:17 pm
Is there any way to leave a breadcrumb trail to find this type of crash after a reboot? It doesn't seem to happen at a specific change is use case, like when starting to play a song. It seems to be random, mostly crashing in mid-song. I've also noticed that if it boots and I leave it for a while, it's usually dead when I come back to it. I'm not certain if this is related, because obviously other power management tasks kick in after inactivity.

Any help appreciated.
Posts: 4
Joined: Mon Jan 21, 2013 4:46 am
by rtillery » Fri Feb 01, 2013 1:29 am
Ok, I've now loaded wheezy and I'm getting similar results. I crash at various points in the setup. I've tried two 2A power supplies. Where can I look for clues?
Posts: 4
Joined: Mon Jan 21, 2013 4:46 am
by drgeoff » Fri Feb 01, 2013 1:28 pm
Not saying your RPi is the same but definitely worth a read. viewtopic.php?f=28&t=20657

Don't stop reading the thread too soon. It took a while to home in on the problem. But first you need to eliminate the bad power possibility. See http://elinux.org/R-Pi_Troubleshooting# ... r_problems
Posts: 3147
Joined: Wed Jan 25, 2012 6:39 pm