pingaan
Posts: 27
Joined: Tue Jan 19, 2016 11:27 am

My Pi keeps stopping...

Mon May 20, 2019 5:48 pm

Hi,

I'm growing quite furious with my Pi. I have a few running for various reasons and they have never given me this kind of issues.
This one, however, keeps shutting donw/stopping after been running for 1-2 hours and I can't figure out why.

I have a log (I think) of the processes taking place at the last stop. I hope someone can help me!

Log: https://docs.google.com/document/d/1z58 ... sp=sharing

Thanks in advance.

epoch1970
Posts: 3082
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: My Pi keeps stopping...

Mon May 20, 2019 5:54 pm

A sampler:

Code: Select all

May 19 20:04:09 server kernel: [  854.918125] usb 1-1.2-port4: cannot reset (err = -71)
May 19 20:04:09 server kernel: [  854.918136] usb 1-1.2-port4: Cannot enable. Maybe the USB cable is bad?
...
May 19 20:04:10 server kernel: [  855.677625] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00
May 19 20:04:10 server kernel: [  855.677660] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 03 40 00 00 07 00
May 19 20:04:10 server kernel: [  855.677676] print_req_error: I/O error, dev sda, sector 832
May 19 20:04:10 server kernel: [  855.677693] Buffer I/O error on dev sda1, logical block 769, async page read
As the log says, check your USB cable and verify the SMART status of your USB drive it seems to hang.
And make sure you're providing adequate power to the drive.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

pingaan
Posts: 27
Joined: Tue Jan 19, 2016 11:27 am

Re: My Pi keeps stopping...

Thu May 23, 2019 6:29 am

Hey,

Sorry for now replying earlier, but I thought it'd be best to get back once I've tried some things out.

So, I tried locating which of my drives could be bad. I have two, which used to be hooked up to a laptop. They never failed anything, but I tried pinpointing it anyways.
It happened no matter which of the disks I had connected, so I tried without any drives.
Still, same thing happens. The Pi stops responding after a while.
I tried different power supply. No change.

This is an old Pi. Could it be hardware failure?

LTolledo
Posts: 1548
Joined: Sat Mar 17, 2018 7:29 am

Re: My Pi keeps stopping...

Thu May 23, 2019 12:07 pm

could be power supply failure....

how are you powering your RPi setup?
oh, and what model "old" RPi is that?
where are the drives getting its power? from RPi's USB or from its own power adapter?
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
DarkPlatinum
Posts: 822
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website

Re: My Pi keeps stopping...

Thu May 23, 2019 12:13 pm

1. What power supply are you using
2. How is the drive connected to the PI? Powered HUB, unpowered Hub or directly from ports?
3. What Pi are you using?
4. What other devices are connected to the Pi?
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): Https://Html.dynu.net

pingaan
Posts: 27
Joined: Tue Jan 19, 2016 11:27 am

Re: My Pi keeps stopping...

Thu May 23, 2019 2:35 pm

I've tried disconnecting the drives and it still happens. The drives were standard external drives with active power supply on both.
But like I said, that's irrelevant, since they're not connected any more.

It's a Pi 1b and it's from 2012/13.

Power supply is the same I've been using for my pi 2, which works perfectly well. It's a Nexus 7 2013 original charger (5V, 2.5mA).

LTolledo
Posts: 1548
Joined: Sat Mar 17, 2018 7:29 am

Re: My Pi keeps stopping...

Thu May 23, 2019 9:28 pm

Try powering the RPi1B with a proper power supply rated 5.1v 2.5A, and not a "charger that works well"

I also have the same old RPi1B, fitted with I2S DAC, as an auto-boot Kodi media player (not OSMC, it boots Raspbian Stretch with Desktop, then auto starts Kodi), system running on a proper power supply 5v 2.5A.

No problems watching videos even for 5 hours straight.....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

pingaan
Posts: 27
Joined: Tue Jan 19, 2016 11:27 am

Re: My Pi keeps stopping...

Fri May 24, 2019 1:22 pm

LTolledo wrote:
Thu May 23, 2019 9:28 pm
Try powering the RPi1B with a proper power supply rated 5.1v 2.5A, and not a "charger that works well"

I also have the same old RPi1B, fitted with I2S DAC, as an auto-boot Kodi media player (not OSMC, it boots Raspbian Stretch with Desktop, then auto starts Kodi), system running on a proper power supply 5v 2.5A.

No problems watching videos even for 5 hours straight.....
...but I'm not using one "that is working well", I'm using one that has been keeping my Rasp Pi 2 for years. Still it stops running.

LTolledo
Posts: 1548
Joined: Sat Mar 17, 2018 7:29 am

Re: My Pi keeps stopping...

Fri May 24, 2019 10:30 pm

Without the HDDs attached
can you post the full logs...
just enclose it in code blocks when posting (located between {Quote} and {List} in the gray panel above when typing a reply)
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
DarkPlatinum
Posts: 822
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website

Re: My Pi keeps stopping...

Sat May 25, 2019 12:53 pm

What Pi are you using? I can power my Pi 2 with a minimum of 1 amps, this will not power my 3B+.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): Https://Html.dynu.net

pingaan
Posts: 27
Joined: Tue Jan 19, 2016 11:27 am

Re: My Pi keeps stopping...

Wed May 29, 2019 8:03 pm

It's a 1b.

Code: Select all

May 26 20:17:26 server systemd[1]: vncserver-x11-serviced.service: Unit entered failed state.
May 26 20:17:26 server systemd[1]: vncserver-x11-serviced.service: Failed with result 'exit-code'.
May 26 20:17:26 server systemd[1]: vncserver-x11-serviced.service: Service hold-off time over, scheduling restart.
May 26 20:17:26 server systemd[1]: Stopped VNC Server in Service Mode daemon.
May 26 20:17:27 server systemd[413]: vncserver-x11-serviced.service: Failed at step EXEC spawning /usr/bin/vncserver-x11-serviced: No such $
May 26 20:17:27 server systemd[1]: Started VNC Server in Service Mode daemon.
May 26 20:17:27 server systemd[1]: Started OpenBSD Secure Shell server.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Main process exited, code=exited, status=203/EXEC
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Unit entered failed state.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Failed with result 'exit-code'.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Service hold-off time over, scheduling restart.
May 26 20:17:27 server systemd[1]: Stopped VNC Server in Service Mode daemon.
May 26 20:17:27 server systemd[1]: Started VNC Server in Service Mode daemon.
May 26 20:17:27 server systemd[418]: vncserver-x11-serviced.service: Failed at step EXEC spawning /usr/bin/vncserver-x11-serviced: No such $
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Main process exited, code=exited, status=203/EXEC
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Unit entered failed state.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Failed with result 'exit-code'.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Service hold-off time over, scheduling restart.
May 26 20:17:27 server systemd[1]: Stopped VNC Server in Service Mode daemon.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Start request repeated too quickly.
May 26 20:17:27 server systemd[1]: Failed to start VNC Server in Service Mode daemon.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Unit entered failed state.
May 26 20:17:27 server systemd[1]: vncserver-x11-serviced.service: Failed with result 'exit-code'.
May 26 20:17:28 server lightdm[399]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceU$
May 26 20:17:28 server systemd[408]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
May 26 20:17:28 server systemd[408]: Reached target Paths.
May 26 20:17:28 server systemd[408]: Reached target Timers.
May 26 20:17:28 server systemd[408]: Listening on GnuPG cryptographic agent and passphrase cache.
May 26 20:17:28 server systemd[408]: Starting D-Bus User Message Bus Socket.
May 26 20:17:28 server systemd[408]: Listening on GnuPG cryptographic agent (access for web browsers).
May 26 20:17:28 server systemd[408]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
May 26 20:17:28 server systemd[408]: Listening on D-Bus User Message Bus Socket.
May 26 20:17:28 server systemd[408]: Reached target Sockets.
May 26 20:17:28 server systemd[408]: Reached target Basic System.
May 26 20:17:28 server systemd[408]: Reached target Default.
May 26 20:17:28 server systemd[408]: Startup finished in 1.453s.
May 26 20:17:28 server systemd[1]: Started User Manager for UID 1000.
May 26 20:17:29 server systemd[1]: Received SIGRTMIN+21 from PID 132 (plymouthd).
May 26 20:17:29 server systemd[1]: Started Light Display Manager.
May 26 20:17:34 server rc.local[377]: New 'X' desktop is server:1
May 26 20:17:34 server rc.local[377]: Starting applications specified in /home/pi/.vnc/xstartup
May 26 20:17:34 server rc.local[377]: Log file is /home/pi/.vnc/server:1.log
May 26 20:17:34 server systemd[1]: Started /etc/rc.local Compatibility.
May 26 20:17:34 server systemd[1]: Starting Hold until boot process finishes up...
May 26 20:17:34 server systemd[1]: Starting Terminate Plymouth Boot Screen...
May 26 20:17:34 server systemd[1]: Started Hold until boot process finishes up.
May 26 20:17:34 server systemd[1]: Started Terminate Plymouth Boot Screen.
May 26 20:17:34 server systemd[1]: Started Getty on tty1.
May 26 20:17:34 server systemd[1]: Started Serial Getty on ttyAMA0.
May 26 20:17:34 server systemd[1]: Reached target Login Prompts.
May 26 20:17:35 server systemd[408]: Started D-Bus User Message Bus.
May 26 20:17:36 server lightdm[494]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceU$
May 26 20:17:37 server systemd[1]: Started Session c2 of user pi.
May 26 20:17:38 server lightdm[399]: Error opening audit socket: Protocol not supported
Can you make anything out of this? What seems to be causing the crashes?

Return to “Troubleshooting”