Noob question: Solving crash problems
|
4th Jun, 2014, 10:29 PM
Post: #1
|
|||
|
|||
Noob question: Solving crash problems
Software
XBian version: 1.0RC2 XBMC version: 13 newest (auto updates are on) Overclock settings: 900 Hardware Power supply rating: 5V RPi model (model A/B 256mb/512mb): B 512 SD card size and make/type: Integral 16GB Class 10 Network (wireless or LAN): LAN Connected devices (TV, USB, network storage, etc.): Samsung CEC-capable TV, USB HDD I sometimes come home to find my Pi has stopped responding to network, isn't showing as a source on my TV and the hard drive is silent, although the lights (all of them) are steadily lit on the board. I pull the power and it's back up and running. It's a mystery as to what process has caused the death. Question is, where does one usually go to begin investigating the cause of these sorts of problems? Is there a log somewhere that would give me a clue? I don't necessarily want help walking through this specific issue with anyone here (unless there's a known and glaringly obvious solution) but to try and solve it myself. I might also look on the main RPi forum. |
|||
4th Jun, 2014, 11:50 PM
Post: #2
|
|||
|
|||
RE: Noob question: Solving crash problems
First thing to do is to remove the overclocking and see if that helps.
Check the 5V psu and tell us its current rating. It may not be enough for the USB HDD as well (is the HDD powered with its own supply?) Try adding a powered USB hub and connect that to the pi and all the usb devices to the hub. It really sounds like it might be a power issue, but you could run a test on the SD card as well in case there are any errors on it. Skywatch |
|||
5th Jun, 2014, 03:59 AM
Post: #3
|
|||
|
|||
RE: Noob question: Solving crash problems
(4th Jun, 2014 11:50 PM)Skywatch Wrote: First thing to do is to remove the overclocking and see if that helps. It's this 1500mA PSU. The HDD has its own power. I therefore don't suspect a power issue related to the power supplies I'm using. As suggested, I will try a fsck as well as turning the overclock down and see how things go. In the long run I'd rather use some OC because I have a fairly busy media grabber setup running on the same Pi, all the time and I like the performance increase overclocking seems to give to XBMC. Thanks. |
|||
5th Jun, 2014, 04:29 AM
Post: #4
|
|||
|
|||
RE: Noob question: Solving crash problems
I agree with @skywatch. Remove the OC until the system is stable, then ramp it up a bit.
... and what prey is this "Media Grabber"? Might that be at fault????? Post the output of xbmc.log and dmesg and I'm sure the answer is there. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
5th Jun, 2014, 06:48 AM
Post: #5
|
|||
|
|||
RE: Noob question: Solving crash problems
(5th Jun, 2014 04:29 AM)IriDium Wrote: I agree with @skywatch. Remove the OC until the system is stable, then ramp it up a bit. Doing it tomorrow when I have physical access. I don't want to be remotely switching the TV channel on my housemates when the Pi reboots. Quote:... and what prey is this "Media Grabber"? Might that be at fault????? SickRage, by modifying init.d from the xbian sickbeard package so that it loads from /home/xbian into which it's been manually git cloned. Also nzbget, and an OpenVPN server so I can access said services out of the house. Quote:Post the output of xbmc.log and dmesg and I'm sure the answer is there. xbmc.log http://pastebin.com/ySEEsk4C dmesg http://pastebin.com/wi2T5nPG |
|||
5th Jun, 2014, 10:36 PM
Post: #6
|
|||
|
|||
RE: Noob question: Solving crash problems
I've set Overclock in xbian-config to "XBian".
For the SD card check, I've tried Code: sudo touch /forcefsck Code: sudo shutdown -Fr now but neither seems to be executing a file system check as both /var/log/checkfs and /var/log/checkroot are empty. |
|||
6th Jun, 2014, 04:34 AM
Post: #7
|
|||
|
|||
RE: Noob question: Solving crash problems
The issue seems to be:
init: xbian-xbmc-bridge main process (1350) terminated with status 1 init: xbian-xbmc-bridge main process ended, respawning as there are multiple entries in dmesg. There's nothing to suggest a filesystem problem. I would remove "comment out" your Media Server "additions", reboot and check dmesg every 30 minutes to see if the bridge is respawning. Once is OK. Another option is to disable your addons and see if that improves things. I'm running exactly the same Xbian version (unmodified) and I'm not seeing this issue at all - so it must be something specific to your machine. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
6th Jun, 2014, 07:24 PM
Post: #8
|
|||
|
|||
RE: Noob question: Solving crash problems
(6th Jun, 2014 04:34 AM)IriDium Wrote: I would remove "comment out" your Media Server "additions", reboot and check dmesg every 30 minutes to see if the bridge is respawning. Once is OK. Used update-rc.d to disable sickbeard and nzbget. I don't need to wait 30 minutes--those messages are repeating around every minute. Quote:Another option is to disable your addons and see if that improves things. I disabled my addons and I'm still seeing those messages. No crashes yet, though. It'd be nice to solve this, just to sate my curiosity and help anyone who might see the same issues in future. I'm pretty close, however, to doing a re-image of XBian, moving all my media grabbing to my other Pi and just running a "clean" standalone XBMC box under the TV. It would save me some headaches. Thanks for all the help so far, though. |
|||
7th Jun, 2014, 01:15 AM
Post: #9
|
|||
|
|||
RE: Noob question: Solving crash problems
aren't you out of space? or read/only (corrupt) filesystem.
it could be the cause for xbian-bridge respawning. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Jun, 2014, 03:42 AM
Post: #10
|
|||
|
|||
RE: Noob question: Solving crash problems
(7th Jun, 2014 01:15 AM)belese Wrote: aren't you out of space? Code: $ df -h Quote: That contradicts what your colleague said regarding corruption. But as I said in a reply above, regarding file system checking, I can't get fsck to give me any output. I'd appreciate a clue if you really think it's that. |
|||
7th Jun, 2014, 04:03 AM
Post: #11
|
|||
|
|||
RE: Noob question: Solving crash problems
Could you please:
Terminal sudo cat /var/log/xbian-xbmc-bridge.log || sudo zcat /var/log/xbian-xbmc-bridge.log.1.gz cat /var/log/upstart-xbmc-bridge.log || zcat /var/log/upstart-xbmc-bridge.log.1.gz |
|||
7th Jun, 2014, 04:12 AM
Post: #12
|
|||
|
|||
RE: Noob question: Solving crash problems
(7th Jun, 2014 04:03 AM)menakite Wrote: Could you please: First line doesn't work: those files don't exist. I've run the second line . I get this: Code: 06/06/2014 19:08:22 Installing signal handler |
|||
7th Jun, 2014, 04:36 AM
Post: #13
|
|||
|
|||
RE: Noob question: Solving crash problems
Mind posting your /etc/hosts and the output of "sudo ifconfig"?
"apt-get install netcat-openbsd && nc localhost 9090 -v" would also be useful. Note that I'm only trying to solve your issue with xbian-xbmc-bridge, no idea about your Raspberry Pi crashing - the dmesg output doesn't say anything useful. |
|||
7th Jun, 2014, 04:44 AM
Post: #14
|
|||
|
|||
RE: Noob question: Solving crash problems
(7th Jun, 2014 04:36 AM)menakite Wrote: Mind posting your /etc/hosts and the output of "sudo ifconfig"? First can I suggest that the connection error is due to the fact that my XBMC isn't using port 9090? Anyway, here's hosts: http://pastebin.com/beguQfDF Here's ifconfig: http://pastebin.com/33WsAaiL Quote: Don't worry, so far so good: since disabling SickRage I've had no crashes. I know where to point the finger now. |
|||
7th Jun, 2014, 04:59 AM
Post: #15
|
|||
|
|||
RE: Noob question: Solving crash problems
(7th Jun, 2014 04:44 AM)JumbledGrass Wrote: First can I suggest that the connection error is due to the fact that my XBMC isn't using port 9090?Did you change it manually? That's strange, you should be getting a connection refused. Your hosts file and ifconfig seem to be ok. Please try the netcat commands in my previous post, if that doesn't work also try the following: Terminal nc 127.0.0.1 9090 -v sudo netstat -nlp | grep xbmc.bin Also ensure JSON-RPC is enabled: http://wiki.xbmc.org/?title=JSON-RPC_API#Enabling_JSON-RPC (TCP/localhost applies to you; you may need to increase the settings level to advanced or expert, not sure) |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Noob question, get a script running at boot | huibert | 26 | 70,145 |
20th Jun, 2014 11:21 PM Last Post: josch |