problems with an external harddisk

Hi,

when I attach my Toshiba Store.e Alus 2s 500GB external harddisk
(buspowered) to my desktop PC the drive will be recognized and I
can mount all three ext4-formatted partitions.
lsusb reports this drive also.

When I attach the same drive to my beaglebone, which is powered
with a mains adaptor, the drive spins up and lsusb reports the
drive. The drive is connected to a hub, which in turn is connected
to the beaglebone.

But there are no devices created under /dev/.
The used filesystem is known by the kernel and the usbstick, which
I can perfectly use with the beaglebone.
It seems, the software is prepared to use an external harddrive, there
seems enough power (the disk spins up and is recognized by lsusb), but
thats all...no mount possible.

What can I do to make the drive fully functional?

Thank you very much in advance for any help!

Best regards,
mcc

automount ? what does blkid / mount say ?

Hi Wiliam

thank you for your reply! :slight_smile:

In my previous mail I wrote:

> But there are no devices created under /dev/.

So mount / automount cannot detect the drive

blkid gave

/dev/mmcblk0: PTTYPE="dos"
/dev/mmcblk0p1: LABEL="boot" UUID="B1F9-D706" TYPE="vfat"
/dev/mmcblk0p2: LABEL="BeagleBone" UUID="e8edd1a4-449d-4997-ae9b-812c2b62dffd" TYPE="ext3"
/dev/sda1: LABEL="SDHC1" UUID="32f5ec38-5856-42b2-8163-b3da3b550158" TYPE="ext4"

dmesg reports:

[25823.087097] usb 1-1.4: new high-speed USB device number 21 using musb-hdrc
[25823.187805] usb 1-1.4: New USB device found, idVendor=0930, idProduct=0b1a
[25823.187866] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[25823.187896] usb 1-1.4: Product: STOR.E ALU 2S
[25823.187927] usb 1-1.4: Manufacturer: TOSHIBA
[25823.187957] usb 1-1.4: SerialNumber: 201202092870
[25823.197845] scsi9 : usb-storage 1-1.4:1.0
[25825.692199] scsi 9:0:0:0: Direct-Access TOSHIBA STOR.E ALU 2S 0001 PQ: 0 ANSI: 6
[25825.702789] sd 9:0:0:0: Attached scsi generic sg1 type 0
[25825.712493] sd 9:0:0:0: [sdb] Unit Not Ready
[25825.712524] sd 9:0:0:0: [sdb] Sense Key : Hardware Error [current]
[25825.712554] sd 9:0:0:0: [sdb] Add. Sense: Internal target failure

Best regards,
mcc

William Hermans <yyrkoon@gmail.com> [13-05-25 09:44]:

Has the external disk enough current?

Try with a powered USB hub.

My best regards

Paulo Ferreira

Yeah dmesg does seem to indicate that drive does not have enough current.

Perhaps drive spin up is somehow causing an issue ? Although why it would work fine with the PC, and not the beagle I am uncertain. Perhaps the Desktop OS handles drive spin up gracefully where the beagle, less so ? Only way I can think of to test this is to boot the beagle after the drive is plugged in and powered up already, but I am not 100% sure that is a good idea.

Another possible cause could be hotplug, but that does not jibe with what dmesg is saying here.

Hi Wiliam,

the PC runs a Gentoo (3.9.* kernel) and the Beagle also (3.2.*
kernel). Since usb-storage is not a brand-new technology, even
in respect to a 3.2er kernel.... :wink:

Will try the "reverse boot order"...

Best regards,
mcc

William Hermans <yyrkoon@gmail.com> [13-05-25 18:20]:

is the hub powered? if not, use a powered hub.