10

I have a Raspberry Pi running Debian. The boot.rc file in the boot partition is replaced with the boot_enable_ssh.rc so that I can access it with ssh. After that did not work, I connected it to a screen and watched the output. The boot process seems to be caught in a loop, it always comes to the "Raspberry Pi rebooting..." output, then some more and then it reboots.

I took two photos of the screen output, I hope it is possible to read and contains enough information: enter image description here enter image description here

After the last line in the second picture ("will now restart.") it reboots and comes to the same point. Can someone identify the problem? I noticed that the first mention of rebooting comes directly after the ssh server is loaded.

EDIT:

On a different SD-card but with the same power supply I tried Arch Linux and it worked, so I do not think that the power supply is the problem.

Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113
Till B
  • 2,363
  • 4
  • 19
  • 16

6 Answers6

6

I have a similar problem. My Raspberry Pi also keeps rebooting. After reading the following page, I measured the voltage on the board between TP1 and TP2, and I discovered that at boot time the voltage was fluctuating a lot.

http://elinux.org/R-Pi_Troubleshooting#Troubleshooting_power_problems

I am using a powered USB hub to power the Raspberry Pi. On the USB connectors, I measured 5.2 Volts and 1.25 amps, which should be sufficient. However, at the other end of the 8 foot USB to Micro-USB cable I am using, I measured 5.2 Volts and 0.6 Amps, which is not enough for the Raspberry Pi. So there seems to be a lot of attenuation in the cable. I then tried a 4 foot cable, but I am still having the same reboot problem. I am not able to measure the current at the end of this cable however. My multimeter wires are too thick to reach the tiny connectors.

So I don't know what to do. I could buy yet another cable, but will this one work?

You may be having the same problem. If you have a multimeter, follow the procedure on the page above to see whether the Pi receives sufficient power.

3

Try using a different power cable and adapter. Maybe the adapter and/or power cable may have been damaged and it may not be providing enough power to support Debian

Human
  • 1,208
  • 4
  • 16
  • 35
Marco
  • 39
  • 1
2

You can plug the SD card into a PC and look at that file. While it's in the PC, you can also rename the file back to see if it stops the rebooting.

If you can get it to reboot without ssh running, the next thing to try would be starting ssh manually.

I would check that the power supply is ok. A weak power supply could cause things like that.

Next try a different SD card. Maybe even a different brand.

If all that fails, maybe you have a Lemon Pi :(

John La Rooy
  • 12,005
  • 9
  • 48
  • 77
2

It was the CABLE! Several of them.

chris
  • 21
  • 1
1

I ran across this:

sudo iwconfig wlan0 power off

It's explained here:

About deauthenticating from * by local choice (reason=3) – xAppSoftware

eapo
  • 141
  • 1
  • 9
0

I had this problem with my RP 3b. What fixed it was to switch to a power supply which gave more electric current (Amperes), and also a different USB cord. The old power supply gave 2 Amps, and the new one 2.4. So I think trying with a better power supply and also different cords can fix the problem.