More > JRiver Media Center 28 for Linux
MC28 on Rpi4 - system hanging
Peter_RN:
--- Quote from: BryanC on March 07, 2022, 09:01:40 am ---You need an externally powered USB hub to reliably use external drives with the Pi, something like this. That may not solve your problem but it would eliminate the most likely culprit.
You should also check your system logs as they would provide more clues.
Also, if your external drives are using Realtek chipsets, they are notorious for randomly disconnecting on Linux.
--- End quote ---
Hello Bryan
Thanks for your thoughts on this, they are appreciated, but I have found the Pi very capable or running with an SSD attached. I have 3 others mounted beside this one all with SSD's that have been running for at least 6-8 months with no issues at all. Two others are in specially designed cases and so may well have different circuitry so I should discount these. Of course that is not to say that this could not be an issue with some drive combinations, simply I have not found this to be the case.
I am still researching this as Jim also brought this to my attention.
The strange part is that this Pi/Drive combination runs for hours happily playing music and with gaps when the selected music stops - when a Smartlist or Album finishes - it waits for a new selecting to be made and continues but then hangs when the system is left NOT playing music for a few hours. I would suggest that the current draw of the SSD when no music is playing must be negligible if not zero at least most of the time.
I have just checked and found that I purchased the SSD in November 2020 (I had no idea it was that long ago) I put our music on it then and we used it for some time on a different Pi4 (Buster) but with a monitor attached, the monitor was always switched off overnight. Now this is a completely new install of Bullseye running headless.
I have spent some time looking at logs but:
(1) I don't really know what most of it means - I have zero programming skills but could not see anything obvious to me in the one's I have seen so far, not sure which ones are most useful.
(2) It appears that the logs only last for about 36 hours and I have left MC closed since Saturday just to make sure that the basic OS is happy to be left running without any problems with MC closed - it is.
Regards,
Peter
Peter_RN:
--- Quote from: Zhillsguy on March 07, 2022, 10:18:52 am ---I didn't use any of them. I use the built-in vnc for remote access.
--- End quote ---
Ah, thank you. I will start again tomorrow and use the 64Bit OS. You are running headless aren't you?
I feel that this is where my problems are based just need to track it down.
I may just pull it out of the rack and put it back on my desk and connect a monitor see what happens then.
Thanks
Peter
Zhillsguy:
Yes, headless as a music player.
Some of the most important initial settings are under Preferences/Raspberry Pi Configuration.
Peter_RN:
--- Quote from: Zhillsguy on March 07, 2022, 08:23:24 pm ---Yes, headless as a music player.
Some of the most important initial settings are under Preferences/Raspberry Pi Configuration.
--- End quote ---
Thanks again Zhillsguy
My settings are almost the same as yours, I have SSH enabled but not VNC because of the x11vnc that is installed, nor do I have network at boot; I will match your setting when I get back to this later today. I did lower the screen resolution to coincidentally match yours as Wheaten had suggested earlier.
I have also obtain a powered hub which I will try but that is more tricky due to the Data Cabinet being built in, I need access through the side panels - but it will be done.
The logs are a challenge to me, I have tried to make sense of 4 so far but I counted 31.
BryanC:
--- Quote from: Peter_RN on March 08, 2022, 05:14:51 am ---The logs are a challenge to me, I have tried to make sense of 4 so far but I counted 31.
--- End quote ---
There are really only two main logs that you should be interested in:
1. `dmesg`: this will give you some clues if you've got faulty hardware (look for red error output)
2. `sudo journalctl -r`: Scroll down and check around and before the time(s) that the Pi becomes unresponsive for clues
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version