Discussion

Undetected HDD

11 2926
Hello!

I just got my banana pi and it have raspbian running on it. I added a 3.5" 1.5 TB HDD to it. The drive doesn't seem to spin up and its not detected by the OS. I have 2 power supplies connected, both are 5V 2A. The result of my dmesg is:

  1. [    0.061690] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
  2. [    0.061749] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral
  3. [    0.991591] platform 1c18000.sata: Driver ahci-sunxi requests probe deferral
  4. [    1.366497] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
  5. [    1.374035] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
  6. [    1.381227] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
  7. [    1.390210] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
  8. [    1.399662] scsi host0: ahci_platform
  9. [    1.403652] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 31
  10. [    1.766459] ata1: SATA link down (SStatus 0 SControl 300)
Copy the Code
I've seen other threads where there is a pretty specific message regarding power. The first 2 messages I have seem to suggest that but I'm not sure.

I know the HDDs work and I've tested that the power supplies work.

Any suggestions?

Thanks in advance
Edited by actkk2000 at Mon Apr 6, 2015 00:57

I believe recommended PS with HDD are 5v 2.5A
I have a 5V 3A and works like a charm with Toshiba 1TB 2.5" Sata disk

PS: if you have a 3.5" Sata disk you also will need to plug a 12V PS

tkaiser  
Edited by tkaiser at Mon Apr 6, 2015 01:26
actkk2000 replied at Sun Apr 5, 2015 21:56
I have a 5V 3A and works like a charm with Toshiba 1TB ...


Please stop posting such misleading advices

It would be better to inform people that there's a potential under voltage problem (and how to check for that) instead of under current if one's already using a PSU capable of 1.5A or above.

Current above 1.8A is totally useless since the Micro-USB connector is not capable of more and the power management unit would even shutdown if this amount of current would be really needed (or Diode D5 would be burned).

Many times not current is the problem but under voltage due to bad cables. It's easy to check so I would give this a try first.

tkaiser  
I added a 3.5" 1.5 TB HDD to it


As actkk2000 already said: 3.5" HDDs (and some 2.5" like WD's Velociraptor) need both 12V/5V so you need a dual voltage PSU or some sort of an adapter kit vor a 12V PSU (there is one such kit for Cubieboards available but you should keep in mind that the SATA power connector on Cubieboards and pcDuinos has 5V/GND inversed compared to Banana/Orange Pis/Pros/Minis/whatevers)

Edited by actkk2000 at Mon Apr 6, 2015 09:44

Yeap, sry... after I posted my answer I realized the real problem is the disk is 3.5" not the amperage needed, that's why I added a note about 12V.
For what is worth, I have this addon for my Cubietruck:
http://www.aliexpress.com/store/ ... 096_1370417383.html

tkaiser  
Edited by tkaiser at Mon Apr 6, 2015 07:00
actkk2000 replied at Mon Apr 6, 2015 06:34
For what is worth, I have this addon for my Cubietruck:


But the problem is that you can't use the 5V SATA power connector of this kit directly with a Banana Pi since Cubies/pcDuinos and Bananas/Oranges have inverted 5V/GND cables.

hnsncxy  
Edited by hnsncxy at Mon Apr 6, 2015 09:00
Hello!

I just got my banana pi and it have raspbian running on it. I added a 3.5" 1.5 TB HDD to it. The drive doesn't seem to spin up and its not detected by the OS. I have 2 power supplies connected, both are 5V 2A. The result of my dmesg is:

HI,Cedricganon
You need to use the 12v power supply to driver the 3.5" HDD. and the wiki below can help you.
http://wiki.lemaker.org/Basic_usages

Edited by cedricganon at Sat Apr 25, 2015 22:52

Thanks for that. I purchase a power supply and now it spins up but due to the enclosure I have to plug it into USB. I see in dmesg that something is detected when I plug it in (I have no other USB devices plugged in), but that's all. The exact message is:
  1. [1633.159241] usb 2-1: new high-speed USB device number 3 using ehci-platform
Copy the Code
and that is the last line in dmesg. Running fdisk -l only shows me the sd card. That is the same case for all similar commands to display devices like blkid. So I ran lsusb -v and for the HDD it shows:

  1. pi@raspberrypi ~ $ lsusb -v

  2. Bus 002 Device 003: ID 2109:0711
  3. Couldn't open device, some information will be missing
  4. Device Descriptor:
  5.   bLength                18
  6.   bDescriptorType         1
  7.   bcdUSB               2.10
  8.   bDeviceClass            0 (Defined at Interface level)
  9.   bDeviceSubClass         0
  10.   bDeviceProtocol         0
  11.   bMaxPacketSize0        64
  12.   idVendor           0x2109
  13.   idProduct          0x0711
  14.   bcdDevice            1.14
  15.   iManufacturer           1
  16.   iProduct                2
  17.   iSerial                 3
  18.   bNumConfigurations      1
  19.   Configuration Descriptor:
  20.     bLength                 9
  21.     bDescriptorType         2
  22.     wTotalLength           85
  23.     bNumInterfaces          1
  24.     bConfigurationValue     1
  25.     iConfiguration          0
  26.     bmAttributes         0xc0
  27.       Self Powered
  28.     MaxPower                2mA
  29.     Interface Descriptor:
  30.       bLength                 9
  31.       bDescriptorType         4
  32.       bInterfaceNumber        0
  33.       bAlternateSetting       0
  34.       bNumEndpoints           2
  35.       bInterfaceClass         8 Mass Storage
  36.       bInterfaceSubClass      6 SCSI
  37.       bInterfaceProtocol     80 Bulk-Only
  38.       iInterface              0
  39.       Endpoint Descriptor:
  40.         bLength                 7
  41.         bDescriptorType         5
  42.         bEndpointAddress     0x81  EP 1 IN
  43.         bmAttributes            2
  44.           Transfer Type            Bulk
  45.           Synch Type               None
  46.           Usage Type               Data
  47.         wMaxPacketSize     0x0200  1x 512 bytes
  48.         bInterval               0
  49.       Endpoint Descriptor:
  50.         bLength                 7
  51.         bDescriptorType         5
  52.         bEndpointAddress     0x02  EP 2 OUT
  53.         bmAttributes            2
  54.           Transfer Type            Bulk
  55.           Synch Type               None
  56.           Usage Type               Data
  57.         wMaxPacketSize     0x0200  1x 512 bytes
  58.         bInterval               0
  59.     Interface Descriptor:
  60.       bLength                 9
  61.       bDescriptorType         4
  62.       bInterfaceNumber        0
  63.       bAlternateSetting       1
  64.       bNumEndpoints           4
  65.       bInterfaceClass         8 Mass Storage
  66.       bInterfaceSubClass      6 SCSI
  67.       bInterfaceProtocol     98
  68.       iInterface              0
  69.       Endpoint Descriptor:
  70.         bLength                 7
  71.         bDescriptorType         5
  72.         bEndpointAddress     0x04  EP 4 OUT
  73.         bmAttributes            2
  74.           Transfer Type            Bulk
  75.           Synch Type               None
  76.           Usage Type               Data
  77.         wMaxPacketSize     0x0200  1x 512 bytes
  78.         bInterval               0
  79.         Command pipe (0x01)
  80.       Endpoint Descriptor:
  81.         bLength                 7
  82.         bDescriptorType         5
  83.         bEndpointAddress     0x85  EP 5 IN
  84.         bmAttributes            2
  85.           Transfer Type            Bulk
  86.           Synch Type               None
  87.           Usage Type               Data
  88.         wMaxPacketSize     0x0200  1x 512 bytes
  89.         bInterval               0
  90.         Data-in pipe (0x03)
  91.       Endpoint Descriptor:
  92.         bLength                 7
  93.         bDescriptorType         5
  94.         bEndpointAddress     0x06  EP 6 OUT
  95.         bmAttributes            2
  96.           Transfer Type            Bulk
  97.           Synch Type               None
  98.           Usage Type               Data
  99.         wMaxPacketSize     0x0200  1x 512 bytes
  100.         bInterval               0
  101.         Data-out pipe (0x04)
  102.       Endpoint Descriptor:
  103.         bLength                 7
  104.         bDescriptorType         5
  105.         bEndpointAddress     0x87  EP 7 IN
  106.         bmAttributes            2
  107.           Transfer Type            Bulk
  108.           Synch Type               None
  109.           Usage Type               Data
  110.         wMaxPacketSize     0x0200  1x 512 bytes
  111.         bInterval               0
  112.         Status pipe (0x02)

  113. ...
  114. pi@raspberrypi ~ $
Copy the Code
So its detecting that there is a mass storage device but nothing more. Also all cables have been tested and the drive can be read on other systems like my laptop.

tkaiser  
What does happen, if you do a
  1. parted -s /dev/sda p
Copy the Code
(the command should print out the partition table of device sda which should be the disk in question)

This is what I get:
  1. pi@raspberrypi ~ $ parted -s /dev/sda p
  2. Error: Could not stat device /dev/sda - No such file or directory.
  3. pi@raspberrypi ~ $
Copy the Code

You have to log in before you can reply Login | Sign Up

Points Rules