Page 1 of 1

RP2 doesn't boot after installing Arduino IDE

Posted: Fri Apr 10, 2015 2:44 pm
by osama_adel
Hey guys,

I have bought Raspberry Pi 2 and just started working on it two weeks ago, and for me, it is just completely unstable.
First, I bought a Class10 microSD card because I needed a swift booting, I downloaded the latest Raspian version and wrote it on the SD card, and it worked fine.

I tried then to install some programs, I started with MJPG-streamer and it didn't work because of a conflict with the new kernel 3.18 but found a modified version of it that fixes this conflict. I also installed VNC server, Arduino and other programs; by then, problems started to appear. When I reboot or power up the raspberry, I can see the kernel messages on the screen and there was some repeated message repeats again and again, it didn't stop until I removed the keyboard ! After booting I plugged it again and it worked. Then, the webcam which I connect to it, also didn't make it boot, I had to remove it to let it boot. Actually, this wasn't the case in the beginning because I managed to boot the raspberry with these stuff plugged in, but something I don't know happened !!

Other times, when I don't connect the Raspberry to the screen, and just use SSH, the raspberry doesn't boot even if there is nothing at all connected to it; and I have to format the SD card, re-install the system, and sometimes even re-installing the system doesn't solve the problem and I have to FULL format the SD card to make that work !!

I got busy and forgot about it and just today started to work on it again. I started by installing the system again, everything worked great. I installed MJPG-streamer - the modified version - and everything worked awesome. I installed VNC server, everything was great - even when USB devices are connected to the raspberry and booting and rebooting is fine-. When I installed Arduino and rebooted, the raspberry didn't reboot. And I even cannot see anything on the screen !!

I re-FULL-formatted the SD card, installed the system, powered the raspberry up and it worked. I installed the Arduino alone - using sudo apt-get install arduino - and rebooted, it didn't reboot.

I cannot be 100% sure that this is the source of the problem because it is completely strange for me; because I had Raspberry Pi B+ and this never happened when installing Arduino - but this problem repeated many times.

I am sorry that I cannot provide the kernel messages because the problem happens when it is unable to boot so I cannot get the message (I usually unplug the power and re-plug it).

So anyone has any clue what this is ?!!

Re: RP2 doesn't boot after installing Arduino

Posted: Sat Apr 11, 2015 12:31 am
by AndyD
osama_adel wrote:...First, I bought a Class10 microSD card because I needed a swift booting,...
Apparently, class 10 cards are optimised for writing, and may not out perform a class 4 card for general usage.

I would start looking at your power supply, try a different one. If you are using a power supply and separate lead, then try another lead as well. Also, try a different microSD card.

Re: RP2 doesn't boot after installing Arduino

Posted: Sat Apr 11, 2015 12:44 am
by mahjongg
You "installed Arduino"?, exactly what did you install, and how?

Re: RP2 doesn't boot after installing Arduino

Posted: Sat Apr 11, 2015 12:48 am
by AndyD
mahjongg wrote:You "installed Arduino"?, exactly what did you install, and how?
The Arduino IDE.
osama_adel wrote:...I installed the Arduino alone - using sudo apt-get install arduino...

Re: RP2 doesn't boot after installing Arduino IDE

Posted: Sat Apr 11, 2015 1:40 pm
by mahjongg
Well at least I could change the subject line so the question makes a bit more sense (installing software instead of connecting some piece of hardware to the PI), no idea why installing software from the repository would lock up your PI though,software from the repository should be tried and tested.
did you expand your file system when at first boot you were presented the configuration manager (rapsi-config)? otherwise you might have a very limited filespace, using only a part of the available space on the card.