5

I got stacked. I have a Raspberry Pi 2 Model B with OSMC installed on it. I want to connect an external drive (Seagate Backup Plus 1TB) to it.

I connected it through a usb hub and there is an additional power source connected to RPi. But my RPi can't see the hard drive.

If I type sudo fdisk -l I get:

Device         Boot  Start     End Sectors  Size Id Type
/dev/mmcblk0p1        2048  499711  497664  243M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      501760 3854335 3352576  1.6G 83 Linux 

As you can see there is no Seagate hard drive.

What am I supposed to do?

dmesg:

[ 3720.753243] usb 1-1.4.3: new full-speed USB device number 12 using dwc_otg
[ 3720.859765] usb 1-1.4.3: not running at top speed; connect to a high speed hub
[ 3720.869524] usb 1-1.4.3: New USB device found, idVendor=0bc2, idProduct=ab21
[ 3720.869558] usb 1-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3720.869576] usb 1-1.4.3: Product: BUP Slim BK
[ 3720.869591] usb 1-1.4.3: Manufacturer: Seagate
[ 3720.869607] usb 1-1.4.3: SerialNumber: NA7805B4
[ 3720.871294] usb-storage 1-1.4.3:1.0: USB Mass Storage device detected
[ 3720.873274] usb-storage 1-1.4.3:1.0: Quirks match for vid 0bc2 pid ab21: 2000000
[ 3720.881189] scsi host5: usb-storage 1-1.4.3:1.0
[ 3721.886536] scsi 5:0:0:0: Direct-Access     Seagate  BUP Slim BK      0143 PQ: 0 ANSI: 6
[ 3721.888811] sd 5:0:0:0: Attached scsi generic sg0 type 0
[ 3721.896262] sd 5:0:0:0: [sda] Spinning up disk...
[ 3727.383243] ....................
[ 3747.558453] usb 1-1.4.3: USB disconnect, device number 12
  • 1
    What does, "0 down vote favorite I got stacked" mean? – Jacobm001 Dec 16 '15 at 18:24
  • 2
    What does dmesg report when you plug the drive into a USB port? – joan Dec 16 '15 at 18:26
  • 1
    How exactly is the Pi powered? Is the USB hub powered? Does the drive work with any other computer? And what does I got stacked mean? – Steve Robillard Dec 16 '15 at 18:27
  • The Pi is powered by usb hub: by micro usb, USB hub is powered, drive doesn't work with any other computer. "I got stacked" -- I'm not good in english. I wanted to say that I don't know how to solve the problem. – Gleb Vishnevsky Dec 16 '15 at 18:35
  • 2
    My guess would be not enough power as the drive can't spin to speed. – joan Dec 16 '15 at 18:36
6

Based on your dmesg output, it looks like the hard drive isn't getting enough power. It's does the connection phase, and then starts the spin up process. Since this is the most energy intensive task, it makes sense that it would be the point at which the connection fails.

I would suggest switching to a powered USB hub.

Edit:

Based on your comments:

the drive doesn't work with any other computer

and

USB hub is powered

we can reasonably surmise that the drive has a mechanical issue, and that this isn't a problem with the RPi at all.

Edit 2:

Based on a clarifying comment:

If I connect the hard drive through usb-hub to other computers, it doesn't work, but if I connect it without hub, it works.

We're back to the power issue. Your eHDD will require a certain amount of power, just like the RPi does. The back of the drive should list its requirements. Check what the powered hub supports, and what the power supply is giving the hub.

  • If I connect the hard drive through usb-hub to other computers, it doesn't work, but if I connect it without hub, it works. – Gleb Vishnevsky Dec 16 '15 at 18:47
  • 1
    @GlebVishnevsky: Then we're back to the power supply issue. What is the maximum output of the powered USB hub? How much are you supply it with? Remember the RPi needs a minimum of 700mA, then your drive will need power as well. – Jacobm001 Dec 16 '15 at 18:49
  • Does the hub work? Does the drive work when powered by the Pi note the Pi should not be powered by a hub (especially this one that is perhaps not working correctly/fully)? – Steve Robillard Dec 16 '15 at 19:12
  • USB hub is not powered by an external power source. You need a powered USB hub – PhillyNJ Dec 16 '15 at 20:07
0

I know this is old but for anyone else looking:

I have the same issues. Odd thing is, this drive is recognized on my RPi3 but not on my RPi4. As it turns out, I have two of these HDDs. The second is recognized by both so this may be a hardware issue related to some batches of these drives.

Related, you can increase power sent to USB ports by updating firmware and editing /boot/config.txt but that did not solve the issue for me. Search max_usb_current=1

[EDIT] My issue turned out to be a bad power supply on the RPi4. Once I swapped it out everything spun up as expected.

  • This is an old question about RPi 2. I'm not sure if RPi4 quirks are relevant here. – Dmitry Grigoryev Nov 19 at 9:38
  • Just adding a bit more to the knowledge base but appreciate that RPi4 is a different beast. My issues turned out to be a bad power supply on the RPi4. Underpowered RPi is bad. – rodph Nov 20 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.