Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: RasPi crash

  1. #1

    RasPi crash

    Hi,

    i have three RasPi 3b+ with piCorePlayer installed. One of them with LMS installed, the Raspberry 7 Zoll Display and an Hifiberry DAC. The two others are only Players and they only used in combination with BT-Boxes.
    More and more often the os of the RasPi┤s crashing, so that i have to power off the RasPi.
    Mostly it happens after 3 or 4 or 5 hours streaming of an i-net-Stream, and mostly the players for the BT-Boxes
    Is there any logfile that can help me to find the issue?

    best regards,
    sky

    piCorePlayer v7.0.1 | www v00016 | linux 5.4.83-pcpCore-v7 | piCore v12.0pCP | Squeezelite v1.9.9-1372-pCP

  2. #2
    Hi,

    does anyone have any idea why the Rasp Pi(all three of them and somtimes an hour after the last reboot) crash regularly?

    best regards.
    sky

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,357
    pCP tries to avoid writing to "disk" ... so when you reboot you will have lost the logs.
    You could ssh into the device or connect a screen and keyboard and watch for things going wrong
    e.g. console output, dmesg, /var/log/pcp_bt.log and any other stuff you can find
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  4. #4
    No chance to login per ssh when it was chrashed.
    No ssh, no http, no ping

  5. #5
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    7,069
    Quote Originally Posted by skywalker View Post
    No chance to login per ssh when it was chrashed.
    No ssh, no http, no ping
    Are you playing a particular stream when it crashes?

    Sent from my Pixel 3a using Tapatalk

  6. #6
    I have only noticed it with one particular stream so far because I normally only hear this one.

    Today I tried another one. This stops regularly without my intervention and I have to restart it (only the stream, not the Raspi)

    I will test it with some other streams in the next days.

    best regards,
    sky

  7. #7
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,357
    Login via ssh before it crashes !
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  8. #8
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,110
    Connect a monitor and keyboard. That would be the best way.

    Also take a look at free memory (just type free on command line). There have been a few reports of some types of streaming writing temp files, filling up memory. But that is normally days between issues.

    What version of LMS are you using?

    Then of course there is the old, how good is your power supply.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  9. #9
    The LMS-Version is 8.1.1 - 1610364019

    The Power-Supplys are the original Raspberry-Items

    I will start a test tomorrow. Reboot all three, connect and start with root-privileges

    Code:
    watch -n5 'clear;hostname;uptime;free;vcgencmd measure_temp;vcgencmd measure_volts'
    Any other sensible option for the command?

    best regards,
    sky
    Last edited by skywalker; 2021-05-02 at 10:22. Reason: added hostname

  10. #10
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,110
    if you can have another terminal open, you can monitor kernel message

    Code:
    sudo dmesg -n 7    
    while true; do sudo dmesg -c ; sleep 1 ; done
    The first command turns up the kernel logging level, the second command runs dmesg, but clears the buffer each run, so you will only get the newly issues entries. Of course, if the crash is really hard, your likely to miss the actual message. The console is on tty1, which you need to have a monitor connected to. (Or a serial console)
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •