HaiderMirza
Posts: 3
Joined: Wed Jan 29, 2014 3:49 am

Always booting in safe mode

Wed Feb 05, 2014 6:00 am

Hi. My raspberry pi is always booting in safe mode. I've tried formatting the card and wrote the image again but it remains the same. When adding "avoid_safe_mode=1" to the "config.txt" it boots normally but the GPIOs won't work! I am running Raspbian and nothing is attached on the GPIOs nor in the USB port. Please I want to know what exactly is causing it to boot into safemode. HELP!

User avatar
AndyD
Posts: 2342
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia

Re: Always booting in safe mode

Wed Feb 05, 2014 6:02 am

Is this a brand new Raspberry Pi or have you used it in the past and possibly damaged the GPIO?

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 14919
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Always booting in safe mode

Wed Feb 05, 2014 8:31 pm

Raspbian will boot into safe mode when during booting it detects that pin 5 of the GPIO header (which has a pull-up to 3V3, so should be high) is low.

User avatar
AndyD
Posts: 2342
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia

Re: Always booting in safe mode

Wed Feb 05, 2014 9:39 pm

mahjongg wrote:Raspbian will boot into safe mode when during booting it detects that pin 5 of the GPIO header (which has a pull-up to 3V3, so should be high) is low.
Yes, so if it is a brand new Raspberry PI you should be able to get it replaced because it would appear to be faulty. If you have been experimenting with the GPIO then you will probably need to replace the Raspberry Pi if you want to do something with the GPIO.

User avatar
simonmcc
Posts: 190
Joined: Mon Aug 19, 2013 10:07 pm

Re: Always booting in safe mode

Thu Feb 06, 2014 9:26 am

AndyD wrote:Is this a brand new Raspberry Pi or have you used it in the past and possibly damaged the GPIO?
I also have a pi booting into safe mode, but I think I may have damaged the GPIO - is it possible to repair it? Even some sort of hack?
simonmcc.blogspot.com/search/label/pi

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 14919
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Always booting in safe mode

Fri Feb 07, 2014 9:46 pm

simonmcc wrote:
AndyD wrote:Is this a brand new Raspberry Pi or have you used it in the past and possibly damaged the GPIO?
I also have a pi booting into safe mode, but I think I may have damaged the GPIO - is it possible to repair it? Even some sort of hack?
very unlikely, if you have a defect that shorts the pin to GND. Still, you can disable the safe mode pin check using config.txt.

User avatar
simonmcc
Posts: 190
Joined: Mon Aug 19, 2013 10:07 pm

Re: Always booting in safe mode

Tue Feb 11, 2014 4:08 pm

mahjongg wrote:
simonmcc wrote:
AndyD wrote:Is this a brand new Raspberry Pi or have you used it in the past and possibly damaged the GPIO?
I also have a pi booting into safe mode, but I think I may have damaged the GPIO - is it possible to repair it? Even some sort of hack?
very unlikely, if you have a defect that shorts the pin to GND. Still, you can disable the safe mode pin check using config.txt.
With the config.txt change to disable safe mode it still boots into safe mode
simonmcc.blogspot.com/search/label/pi

stang
Posts: 36
Joined: Mon Jan 27, 2014 8:33 pm

Re: Always booting in safe mode

Tue Feb 11, 2014 6:52 pm

How can I get file config.txt??

Chris29
Posts: 9
Joined: Thu Feb 13, 2014 12:18 pm

Re: Always booting in safe mode

Fri Feb 14, 2014 1:38 pm

I have the same problem.
Pi always boot in safety mode and I can't acces to GPIO on P1.
I have a rev2 and try on P5, that's work good.
Have you got solution?
I want to use DS18B20 which need to be connect on pin 7 on P1,
Is'it able to modifi WIrinPi to use a pin on P5 instead of pin 7 on P1 ?

User avatar
simonmcc
Posts: 190
Joined: Mon Aug 19, 2013 10:07 pm

Re: Always booting in safe mode

Wed Feb 26, 2014 9:32 am

stang wrote:How can I get file config.txt??
it is in the /boot partition - which you see if you pop the SD card into a windows pc. You can edit the config.txt file there, just add avoid_safe_mode=1 into the command line
simonmcc.blogspot.com/search/label/pi

Rakshit Muthappa
Posts: 4
Joined: Sat Jun 07, 2014 8:20 pm

Re: Always booting in safe mode

Tue Jun 24, 2014 4:03 pm

Hey
I have been working with Pi for quite a while now and i have hit a dead end

My Problem:
I booted the Pi with some connections to the GPIO pins
This caused it to enter safe mode while booting
I edited the config.txt to ignore safe mode
The GPIO pins are not working thereafter

I have gone through the discussion and I am made to believe that I have to replace my Pi

Can anyone tell me what exactly happened that caused my Pi to enter safe mode
and is there any solution to get my GPIO's breathing again

Thank U
Pi rocks

Return to “Troubleshooting”