Bobik
Posts: 6
Joined: Sat Nov 15, 2014 6:09 pm

RPi 2 B+ reboots on USB drive connect

Wed Aug 21, 2019 10:52 pm

I have a fresh install of current Raspbian on RPi 2 B+.

When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.

Is there a way how to let work with USB drives?

RonR
Posts: 520
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: RPi 2 B+ reboots on USB drive connect

Wed Aug 21, 2019 11:12 pm

Bobik wrote:
Wed Aug 21, 2019 10:52 pm
I have a fresh install of current Raspbian on RPi 2 B+.

When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.

Is there a way how to let work with USB drives?

Do you have support for exFAT installed?:

Code: Select all

apt-get install exfat-fuse exfat-utils
Last edited by RonR on Thu Aug 22, 2019 12:24 am, edited 1 time in total.

jbudd
Posts: 994
Joined: Mon Dec 16, 2013 10:23 am

Re: RPi 2 B+ reboots on USB drive connect

Wed Aug 21, 2019 11:41 pm

When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.
A USB hard drive? It sounds like the drive demands more power to spin up then your power supply / Pi can supply.

RonR
Posts: 520
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 12:32 am

jbudd wrote:
Wed Aug 21, 2019 11:41 pm
When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.
It sounds like the drive demands more power to spin up then your power supply / Pi can supply.

Verifying there is adequate power is never a bad idea, but rebooting (assuming restart means reboot) on disconnecting the USB drive doesn't sound like a power supply issue.

fruitoftheloom
Posts: 20769
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 6:10 am

Bobik wrote:
Wed Aug 21, 2019 10:52 pm
I have a fresh install of current Raspbian on RPi 2 B+.

When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.

Is there a way how to let work with USB drives?

There is no RPi 2B+ please clarify model.

The USB Hard Drive any details ?

Power Supply you are using ?
Retired disgracefully.....

User avatar
rpdom
Posts: 15234
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 6:31 am

Connecting a power hungry peripheral like a hard disk while the Pi is running is not recommended. Ideally it should be connected before the Pi is powered on. When the disk starts it will take a lot of power for a short time, which can be a struggle for the power supply and cause the voltage to drop momentarily. This can cause the Pi to crash or restart.

Bobik
Posts: 6
Joined: Sat Nov 15, 2014 6:09 pm

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 9:30 am

RonR wrote:
Wed Aug 21, 2019 11:12 pm
Do you have support for exFAT installed?:

Code: Select all

apt-get install exfat-fuse exfat-utils
Yes, I was able to read that drive after that enforced restart.

Bobik
Posts: 6
Joined: Sat Nov 15, 2014 6:09 pm

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 9:33 am

jbudd wrote:
Wed Aug 21, 2019 11:41 pm
When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.
A USB hard drive? It sounds like the drive demands more power to spin up then your power supply / Pi can supply.
It is small Kensington thumb drive, I doubt it will consume significantly more than SD card.

Btw, it also restarts when I disconnect the drive (after SW unmount).

Bobik
Posts: 6
Joined: Sat Nov 15, 2014 6:09 pm

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 9:39 am

fruitoftheloom wrote:
Thu Aug 22, 2019 6:10 am
Bobik wrote:
Wed Aug 21, 2019 10:52 pm
I have a fresh install of current Raspbian on RPi 2 B+.

When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.

Is there a way how to let work with USB drives?

There is no RPi 2B+ please clarify model.

The USB Hard Drive any details ?

Power Supply you are using ?

fruitoftheloom
Posts: 20769
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 9:43 am

Bobik wrote:
Thu Aug 22, 2019 9:39 am
fruitoftheloom wrote:
Thu Aug 22, 2019 6:10 am
Bobik wrote:
Wed Aug 21, 2019 10:52 pm
I have a fresh install of current Raspbian on RPi 2 B+.

When I connect or disconnect USB drive formatted to ExFAT it will restart immediately.

Is there a way how to let work with USB drives?

There is no RPi 2B+ please clarify model.

The USB Hard Drive any details ?

Power Supply you are using ?

No idea what you are trying to convey but does not answer the questions I have asked :?
Retired disgracefully.....

Bobik
Posts: 6
Joined: Sat Nov 15, 2014 6:09 pm

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 9:46 am

I have no idea what happened :-)

Sorry for mistake. It has 2011.12 printed on board.

Power adapter is 10W from Apple.

USB drive is some small Kensington thumb flash drive.

User avatar
DougieLawson
Posts: 36177
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 9:52 am

You can't plug a high power USB 2.0 device into a RPi1B (000E) the in-rush current overwhelms the power supply chip on the board and the voltage drop will cause a reboot. It's OK to remove USB devices. That reboot even happens if I connect a USB WiFi dongle or a Wemos while the RPi is running.

You have to plug-in the device before booting. With my Wemos I can unplug the USB-A to microUSB cable from it, insert the USB-A into the RPi then insert the microUSB into the Wemos (the current loss in the cable saves the day).

Things got better with the 2014 (new form factor) B+ onwards which has better USB power management. All five of my RPi1Bs, my original Zero (with a WiFi dongle) and my 2014 A+ exhibit this behaviour.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

fruitoftheloom
Posts: 20769
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: RPi 1B reboots on USB drive connect

Thu Aug 22, 2019 10:09 am

Bobik wrote:
Thu Aug 22, 2019 9:46 am
I have no idea what happened :-)

Sorry for mistake. It has 2011.12 printed on board.

Power adapter is 10W from Apple.

USB drive is some small Kensington thumb flash drive.

https://www.raspberrypi.org/documentati ... /README.md


So it is not a RPi 2B+ it is a very ancient early RPi 1B, please change the Title, thank you !

https://raspi.tv/wp-content/uploads/201 ... 6_1500.jpg
Last edited by fruitoftheloom on Thu Aug 22, 2019 1:35 pm, edited 1 time in total.
Retired disgracefully.....

drgeoff
Posts: 9819
Joined: Wed Jan 25, 2012 6:39 pm

Re: RPi 2 B+ reboots on USB drive connect

Thu Aug 22, 2019 11:59 am

DougieLawson wrote:
Thu Aug 22, 2019 9:52 am
the current loss in the cable saves the day
Has Dougie discovered a new phenomenon? Current getting lost in a cable.

User avatar
Burngate
Posts: 6013
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: RPi 1 reboots on USB drive connect

Thu Aug 22, 2019 5:18 pm

That does explain the problem with disconnection, though, unlike everyone else's explanation.
After all, where can the current that's already flowing go when you disconnect the drive?

Return to “Troubleshooting”