Page 1 of 1

RPi 2 B+ reboots on USB drive connect

Posted: Wed Aug 21, 2019 10:52 pm
by Bobik
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?

Re: RPi 2 B+ reboots on USB drive connect

Posted: Wed Aug 21, 2019 11:12 pm
by RonR
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

Re: RPi 2 B+ reboots on USB drive connect

Posted: Wed Aug 21, 2019 11:41 pm
by jbudd
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.

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 12:32 am
by RonR
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.

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 6:10 am
by fruitoftheloom
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 ?

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 6:31 am
by rpdom
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.

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 9:30 am
by Bobik
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.

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 9:33 am
by Bobik
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).

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 9:39 am
by Bobik
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 ?

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 9:43 am
by fruitoftheloom
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 :?

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 9:46 am
by Bobik
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.

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 9:52 am
by DougieLawson
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.

Re: RPi 1B reboots on USB drive connect

Posted: Thu Aug 22, 2019 10:09 am
by fruitoftheloom
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

Re: RPi 2 B+ reboots on USB drive connect

Posted: Thu Aug 22, 2019 11:59 am
by drgeoff
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.

Re: RPi 1 reboots on USB drive connect

Posted: Thu Aug 22, 2019 5:18 pm
by Burngate
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?