Can't see USB hard drive

I am trying to attatch a 360gig USB2 NTFS hard drive to a Beaglebone Black. The drive does not show up under the /dev/ tree, doesn’t show up with lsusb, doesn’t show up in dmesg…

The drive is self powered, I have tried a different hub, different hard drive, the hard drive works on a raspberry…

Anyone had this happen? I bought this BBB a year ago and just started playing with it…

Thanks in advance!

[ 2.727936] ALSA device list:
[ 2.731094] #0: TI BeagleBone Black
[ 2.735564] Freeing init memory: 236K
[ 2.826313] systemd-udevd[103]: starting version 204
[ 3.856617] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 3.864311] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 4.534415] EXT4-fs (mmcblk0p2): recovery complete
[ 4.543216] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 5.337433] init: plymouth-upstart-bridge main process (157) terminated with status 1
[ 5.348831] init: plymouth-upstart-bridge main process ended, respawning
[ 5.437441] init: plymouth-upstart-bridge main process (167) terminated with status 1
[ 5.447799] init: plymouth-upstart-bridge main process ended, respawning
[ 5.545417] init: plymouth-upstart-bridge main process (170) terminated with status 1
[ 5.553746] init: plymouth-upstart-bridge main process ended, respawning
[ 5.563192] init: ureadahead main process (160) terminated with status 5
[ 6.821907] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 7.935120] systemd-udevd[303]: starting version 204
[ 11.948356] net eth0: initializing cpsw version 1.12 (0)
[ 11.957658] net eth0: phy found : id is : 0x7c0f1
[ 11.957694] libphy: PHY 4a101000.mdio:01 not found
[ 11.962740] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 12.003000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.472403] init: avahi-cups-reload main process (418) terminated with status 1
[ 15.036066] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 15.036129] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.628080] gadget: using random self ethernet address
[ 17.628829] usb0: MAC 82:18:a7:d0:42:8d
[ 17.628843] usb0: HOST MAC d0:ff:50:56:e4:1d
[ 17.646131] gadget: Mass Storage Function, version: 2009/09/11
[ 17.646156] gadget: Number of LUNs=1
[ 17.646183] lun0: LUN: removable file: /dev/mmcblk0p1
[ 17.646311] gadget: Multifunction Composite Gadget
[ 17.646341] gadget: g_multi ready
[ 17.646383] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 17.646710] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
[ 17.647514] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup
[ 17.647597] usb usb2: default language 0x0409
[ 17.647634] usb usb2: udev 1, busnum 2, minor = 128
[ 17.647648] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 17.647661] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 17.647672] usb usb2: Product: MUSB HDRC host driver
[ 17.647683] usb usb2: Manufacturer: Linux 3.8.13-bone47 musb-hcd
[ 17.647694] usb usb2: SerialNumber: musb-hdrc.0.auto
[ 17.648205] usb usb2: usb_probe_device
[ 17.648223] usb usb2: configuration #1 chosen from 1 choice
[ 17.648269] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[ 17.648396] hub 2-0:1.0: usb_probe_interface
[ 17.648410] hub 2-0:1.0: usb_probe_interface - got id
[ 17.648428] hub 2-0:1.0: USB hub found
[ 17.648452] hub 2-0:1.0: 1 port detected
[ 17.648463] hub 2-0:1.0: standalone hub
[ 17.648473] hub 2-0:1.0: individual port power switching
[ 17.648483] hub 2-0:1.0: no over-current protection
[ 17.648493] hub 2-0:1.0: Single TT
[ 17.648505] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
[ 17.648516] hub 2-0:1.0: power on to power good time: 10ms
[ 17.648540] hub 2-0:1.0: local power source is good
[ 17.648599] hub 2-0:1.0: enabling power on all ports
[ 17.748539] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[ 17.748600] hub 2-0:1.0: hub_suspend
[ 17.748629] usb usb2: bus auto-suspend, wakeup 1
[ 19.873871] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 23.877937] init: plymouth-upstart-bridge main process ended, respawning

lsusb
ubuntu@arm:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

df-h

ubuntu@arm:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 1.7G 1.2G 461M 72% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 247M 4.0K 247M 1% /dev
tmpfs 50M 252K 50M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 249M 0 249M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/mmcblk0p1 96M 73M 24M 76% /boot/uboot

3.8.13-bone47 is pretty old… How are you powering the bbb? 5volt dc
jack right???

Give one of the jessie lxqt shapshots a try with a more modern kernel:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots

Regards,

If the drive does not show up from the output of lsusb, then the hardware isn’t connecting to the OS. So, I would suggest bypassing the USB HUB for a temporary test, and see if the drive shows up like that.

3.8.13-bone47 might be old, but I know it works with external self powered USB hard drives. As I’ve booted from USB in the past . . . Note the date of this blog post I wrote . . . over two years ago. http://www.embeddedhobbyist.com/2013/07/beaglebone-black-usb-boot/

By the way, I would not recommend following that information for current up to date Debian images. I should probably write up an update for newer images . . .

Just tried the drive minus the hub, no luck. I tried with a split cable (power/USB) and a standard cable (peed from the BBB… Sane issue. :frowning:

Well then Rikk, your best option at this point may be to google something like “LInux USB hard drive x.y.z”, find unique fixes, and experiment. But “x.y.z” would be whatever keyword that returns useful results. Which may also require some experimentation . . .

This does totally “smell” of a USB driver issue to me . . .

Its not an external drive, but I just plugged a 1GB USB memory stick into my BBG running “latest” 2015-11-12 with all upgrades as of about five days ago. While nothing auto mounted, and lsusb didn’t show anything I could recognize as the USB stick, /dev/sd and /dev/sda1 appeared

mount -t vfat /dev/sda1 /mnt let me list the files.

Are the ntfs tools installed on your system? ('m not certain of the actual package name), are they installed on the beaglebone.org images?

Its not an external drive, but I just plugged a 1GB USB memory stick into my BBG running “latest” 2015-11-12 with all upgrades as of about five days ago. While nothing auto mounted, and lsusb didn’t show anything I could recognize as the USB stick, /dev/sd and /dev/sda1 appeared

OK that’s odd . . .

So what I was going to before, was to run fdisk -l and see if the drive shows up there, but lsusb always showed my usb driver controller for my external hard drive. Maybe this is some sort of USB thumb drive sort of thing ? shrug

It must have been a bad/old image. I loaded the current Dabein image and the USB is working now. Thank you very much for your help!

Ok, interesting finding. I have everything running on an sd card. started moving to emmc and no USB, nothing at all… I’ve come to the conclusion that maybe the emmc versions of the op system has a cut down kernel.

I haven’t reworked a kernel in 15 years or so… I’m going to do this, but I ask, any ideas of a good on line tutor for kernel rework?

Here’s Robert’s guide for downloading tools, uboot source, kernel source, and scripts to compile / set it all up.
https://eewiki.net/display/linuxonarm/BeagleBone+Black