tekblom
Posts: 1
Joined: Wed Mar 06, 2013 9:24 pm

Can not attach usb hard drive

Wed Mar 06, 2013 9:30 pm

Hi,

I try to connect a usb hard drive. It is an Seagate and I have had it connected to Windows 7 before and added some files. It is usb 3.

I can not find the usb with the command: sudo fdisk -l

My log /var/log/messages sais (in the last row it sais usb disconnect):


Mar 6 21:17:34 raspberrypi kernel: [ 3.396351] usb 1-1.2: New USB device found, idVendor=0bc2, idProduct=2312
Mar 6 21:17:34 raspberrypi kernel: [ 3.408766] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 6 21:17:34 raspberrypi kernel: [ 3.420708] usb 1-1.2: Product: Expansion
Mar 6 21:17:34 raspberrypi kernel: [ 3.431989] usb 1-1.2: Manufacturer: Seagate
Mar 6 21:17:34 raspberrypi kernel: [ 3.441090] usb 1-1.2: SerialNumber: NA45L60S
Mar 6 21:17:34 raspberrypi kernel: [ 3.452651] scsi0 : usb-storage 1-1.2:1.0
Mar 6 21:17:34 raspberrypi kernel: [ 4.454668] scsi 0:0:0:0: Direct-Access Seagate Expansion 0219 PQ: 0 ANSI: 6
Mar 6 21:17:34 raspberrypi kernel: [ 8.968142] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Mar 6 21:17:34 raspberrypi kernel: [ 9.421884] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Mar 6 21:17:34 raspberrypi kernel: [ 25.491151] sd 0:0:0:0: [sda] Spinning up disk...
Mar 6 21:17:34 raspberrypi kernel: [ 30.289179] usb 1-1.2: USB disconnect, device number 4



The driver indicates with a light that it is on. Does anyone have a clue?

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Can not attach usb hard drive

Wed Mar 06, 2013 9:51 pm

It looks to me as if there is too much power draw. Do you have it on a powered hub?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5623
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Can not attach usb hard drive

Sat Mar 09, 2013 10:11 pm

tekblom,
Like rurwin I suspect that the drive is drawing too much current on "spin-up". You state that it's USB 3.0, seagate model, this suggests that it's a "large" drive ie. 500Gb upwards - generally speaking higher capacity drives within a model range will draw higher spin-up currents because they have more internal disc platters. Does it use a "Y" double plug at the USB 2.0 (Pi) end of the cable? A couple of useful commands associated with USB devices are "lsusb" and "usb-devices". The first lists and gives some info. about connected devices, the second reports additional info. in particular any drivers that are used and the maximum current the device (says it) needs (this is reported as MxPwr!). More details about these can be found by typing "man lsusb" or "man usb-devices". Finally, when a USB storage device is (auto-)mounted it will usually appear as sub-directory of "/media". Other places can be assigned instead - look for "usb-storage" in the wiki.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

tanstaafl
Posts: 1
Joined: Sun Mar 10, 2013 1:45 am

Re: Can not attach usb hard drive

Sun Mar 10, 2013 1:58 am

I don't know if it's related but the same thing happened on my dual boot netboot after rebooting to win7 to use my external drive. When I went back into Mint the drive didn't show.

The fix was to reboot in win7 again and mark the external drive for sharing. Boot back into Mint and like magic it works.

Hope this is useful to someone.
Pat

Return to “Beginners”