Need help adding USB drive to Raspberry Pi

We need to see what happens when you plug the drive in.

Here’s with drive plugged in. I’m adding another line of text here because I’m getting an error when trying to post saying it’s too similar to my previous post.

pi@raspberrypi:~ $ sudo dmesg -w
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.59-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1047 SMP Sun Oct 29 12:19:23 GMT 2017
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] cma: Reserved 8 MiB at 0x3a800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 241664
[ 0.000000] free_area_init_node: node 0, pgdat 80c6f380, node_mem_map b9faa000
[ 0.000000] Normal zone: 2124 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 241664 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 14 pages/cpu @b9f64000 s25600 r8192 d23552 u57344
[ 0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239540
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1360 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 936304K/966656K available (7168K kernel code, 486K rwdata, 2012K rodata, 1024K init, 770K bss, 22160K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80b00000 - 0x80c00000 (1024 kB)
.data : 0x80c00000 - 0x80c79834 ( 487 kB)
.bss : 0x80c7b000 - 0x80d3b964 ( 771 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000022] Switching to timer-based delay loop, resolution 52ns
[ 0.000303] Console: colour dummy device 80x30
[ 0.001211] console [tty1] enabled
[ 0.001255] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=192000)
[ 0.001322] pid_max: default: 32768 minimum: 301
[ 0.001653] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001695] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002730] Disabling memory control group subsystem
[ 0.002834] CPU: Testing write buffer coherency: ok
[ 0.002897] ftrace: allocating 22392 entries in 66 pages
[ 0.049978] CPU0: update cpu_capacity 1024
[ 0.050031] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.050092] Setting up static identity map for 0x100000 - 0x100034
[ 0.051974] CPU1: update cpu_capacity 1024
[ 0.051982] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.052666] CPU2: update cpu_capacity 1024
[ 0.052672] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.053343] CPU3: update cpu_capacity 1024
[ 0.053350] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.053439] Brought up 4 CPUs
[ 0.053612] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.053642] CPU: All CPU(s) started in HYP mode.
[ 0.053668] CPU: Virtualization extensions available.
[ 0.054487] devtmpfs: initialized
[ 0.065901] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.066214] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.066276] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.066837] pinctrl core: initialized pinctrl subsystem
[ 0.067769] NET: Registered protocol family 16
[ 0.070119] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.079075] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.079124] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.079286] Serial: AMBA PL011 UART driver
[ 0.081212] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.081764] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.150842] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[ 0.152709] SCSI subsystem initialized
[ 0.152886] usbcore: registered new interface driver usbfs
[ 0.152988] usbcore: registered new interface driver hub
[ 0.153105] usbcore: registered new device driver usb
[ 0.159791] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-10-24 17:09
[ 0.161288] clocksource: Switched to clocksource arch_sys_counter
[ 0.208346] VFS: Disk quotas dquot_6.6.0
[ 0.208456] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.208687] FS-Cache: Loaded
[ 0.208957] CacheFiles: Loaded
[ 0.221118] NET: Registered protocol family 2
[ 0.222040] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.222176] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.222387] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.222499] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.222566] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.222798] NET: Registered protocol family 1
[ 0.223233] RPC: Registered named UNIX socket transport module.
[ 0.223265] RPC: Registered udp transport module.
[ 0.223293] RPC: Registered tcp transport module.
[ 0.223321] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.224369] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.226702] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.242801] FS-Cache: Netfs ‘nfs’ registered for caching
[ 0.243806] NFS: Registering the id_resolver key type
[ 0.243855] Key type id_resolver registered
[ 0.243883] Key type id_legacy registered
[ 0.246311] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.246457] io scheduler noop registered
[ 0.246488] io scheduler deadline registered (default)
[ 0.246784] io scheduler cfq registered
[ 0.252459] BCM2708FB: allocated DMA memory fa910000
[ 0.252512] BCM2708FB: allocated DMA channel 0 @ bb80f000
[ 0.281953] Console: switching to colour frame buffer device 170x48
[ 0.300373] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.300632] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 0.301424] vc-sm: Videocore shared memory driver
[ 0.316471] brd: module loaded
[ 0.325467] loop: module loaded
[ 0.325592] Loading iSCSI transport class v2.0-870.
[ 0.326260] usbcore: registered new interface driver smsc95xx
[ 0.326436] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.554625] Core Release: 2.80a
[ 0.554729] Setting default values for core params
[ 0.554893] Finished setting default values for core params
[ 0.755435] Using Buffer DMA mode
[ 0.755540] Periodic Transfer Interrupt Enhancement - disabled
[ 0.760658] Multiprocessor Interrupt Enhancement - disabled
[ 0.765745] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.770766] Dedicated Tx FIFOs mode
[ 0.776166] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xba904000 dma = 0xfa904000 len=9024
[ 0.781524] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.807180] dwc_otg: Microframe scheduler enabled
[ 0.807224] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058f5b0
[ 0.812319] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058f920 length 36
[ 0.817401] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87a000
[ 0.822546] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.827739] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.833012] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.838203] Init: Port Power? op_state=1
[ 0.843272] Init: Power Port (0)
[ 0.848410] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.853484] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.858547] usb usb1: Product: DWC OTG Controller
[ 0.863592] usb usb1: Manufacturer: Linux 4.9.59-v7+ dwc_otg_hcd
[ 0.868707] usb usb1: SerialNumber: 3f980000.usb
[ 0.874573] hub 1-0:1.0: USB hub found
[ 0.879557] hub 1-0:1.0: 1 port detected
[ 0.885170] dwc_otg: FIQ enabled
[ 0.885174] dwc_otg: NAK holdoff enabled
[ 0.885178] dwc_otg: FIQ split-transaction FSM enabled
[ 0.885194] Module dwc_common_port init
[ 0.885433] usbcore: registered new interface driver usb-storage
[ 0.890687] mousedev: PS/2 mouse device common for all mice
[ 0.896740] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.902151] bcm2835-cpufreq: min=600000 max=1200000
[ 0.907685] sdhci: Secure Digital Host Controller Interface driver
[ 0.912893] sdhci: Copyright© Pierre Ossman
[ 0.918282] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[ 0.925618] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[ 0.930833] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.938621] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.944066] hidraw: raw HID events driver © Jiri Kosina
[ 0.949497] usbcore: registered new interface driver usbhid
[ 0.954750] usbhid: USB HID core driver
[ 0.960721] vchiq: vchiq_init_state: slot_zero = 0xba980000, is_master = 0
[ 0.967398] [vc_sm_connected_init]: start
[ 0.976746] [vc_sm_connected_init]: end - returning 0
[ 0.982357] Initializing XFRM netlink socket
[ 0.987574] NET: Registered protocol family 17
[ 0.992985] Key type dns_resolver registered
[ 0.998583] Registering SWP/SWPB emulation handler
[ 1.004424] registered taskstats version 1
[ 1.015762] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 1.020964] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 1.027714] sdhost: log_buf @ ba907000 (fa907000)
[ 1.101416] Indeed it is in host mode hprt0 = 00021501
[ 1.166648] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.174194] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.179501] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 1.194140] random: fast init done
[ 1.241432] of_cfs_init
[ 1.246676] of_cfs_init: OK
[ 1.252368] Waiting for root device /dev/mmcblk0p7…
[ 1.259362] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.266105] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.272721] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.280528] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.321316] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.326291] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.331523] Indeed it is in host mode hprt0 = 00001101
[ 1.396734] mmc0: new high speed SDHC card at address aaaa
[ 1.402527] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[ 1.416505] mmcblk0: p1 p2 < p5 p6 p7 p8 p9 >
[ 1.467694] mmc1: new high speed SDIO card at address 0001
[ 1.495816] EXT4-fs (mmcblk0p7): INFO: recovery required on readonly filesystem
[ 1.500944] EXT4-fs (mmcblk0p7): write access will be enabled during recovery
[ 1.571632] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.576823] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.582840] hub 1-1:1.0: USB hub found
[ 1.588027] hub 1-1:1.0: 5 ports detected
[ 1.911113] EXT4-fs (mmcblk0p7): orphan cleanup on readonly fs
[ 1.911341] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.921572] EXT4-fs (mmcblk0p7): 3 orphan inodes deleted
[ 1.926525] EXT4-fs (mmcblk0p7): recovery complete
[ 1.944474] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ 1.949485] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[ 1.965039] devtmpfs: mounted
[ 1.971765] Freeing unused kernel memory: 1024K
[ 2.041631] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.046803] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.054898] smsc95xx v1.0.5
[ 2.145302] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:55:00:91
[ 2.241348] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 2.373439] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2811
[ 2.379019] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.384552] usb 1-1.2: Product: USB2.0 Hub
[ 2.389974] usb 1-1.2: Manufacturer: VIA Labs, Inc.
[ 2.396208] hub 1-1.2:1.0: USB hub found
[ 2.401814] hub 1-1.2:1.0: 4 ports detected
[ 2.411842] systemd[1]: System time before build time, advancing clock.
[ 2.531955] NET: Registered protocol family 10
[ 2.550981] ip_tables: © 2000-2006 Netfilter Core Team
[ 2.582102] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 2.594350] systemd[1]: Detected architecture arm.
[ 2.625741] systemd[1]: Set hostname to .
[ 2.711384] usb 1-1.4: new low-speed USB device number 5 using dwc_otg
[ 2.853326] usb 1-1.4: New USB device found, idVendor=4555, idProduct=1031
[ 2.859516] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.877275] input: HID 4555:1031 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:4555:1031.0001/input/input0
[ 2.952119] hid-generic 0003:4555:1031.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 4555:1031] on usb-3f980000.usb-1.4/input0
[ 2.976736] input: HID 4555:1031 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:4555:1031.0002/input/input1
[ 3.051838] hid-generic 0003:4555:1031.0002: input,hidraw1: USB HID v1.10 Mouse [HID 4555:1031] on usb-3f980000.usb-1.4/input1
[ 3.097766] systemd[1]: Listening on Journal Socket.
[ 3.131904] systemd[1]: Created slice User and Session Slice.
[ 3.146790] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.161643] systemd[1]: Listening on udev Kernel Socket.
[ 3.176424] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.191319] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 3.206871] systemd[1]: Created slice System Slice.
[ 3.484370] i2c /dev entries driver
[ 3.686157] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[ 3.861738] systemd-journald[136]: Received request to flush runtime journal from PID 1
[ 4.264853] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 4.464631] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 4.472831] usbcore: registered new interface driver brcmfmac
[ 4.749476] brcmfmac: Firmware version = wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 4.752550] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.41 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-08-07 00:37:47
[ 5.998928] uart-pl011 3f201000.serial: no DMA platform data
[ 6.690141] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6.690157] brcmfmac: power management disabled
[ 6.880244] random: crng init done
[ 7.183490] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[ 7.183884] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.626322] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 7.779191] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
[ 10.443279] Bluetooth: Core ver 2.22
[ 10.443334] NET: Registered protocol family 31
[ 10.443337] Bluetooth: HCI device and connection manager initialized
[ 10.443353] Bluetooth: HCI socket layer initialized
[ 10.443362] Bluetooth: L2CAP socket layer initialized
[ 10.443380] Bluetooth: SCO socket layer initialized
[ 10.449850] Bluetooth: HCI UART driver ver 2.3
[ 10.449863] Bluetooth: HCI UART protocol H4 registered
[ 10.449866] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 10.449987] Bluetooth: HCI UART protocol Broadcom registered
[ 10.697357] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 10.697369] Bluetooth: BNEP filters: protocol multicast
[ 10.697391] Bluetooth: BNEP socket layer initialized
[ 10.793198] Bluetooth: RFCOMM TTY layer initialized
[ 10.793217] Bluetooth: RFCOMM socket layer initialized
[ 10.793240] Bluetooth: RFCOMM ver 1.11
[ 12.405630] fuse init (API version 7.26)
[ 15.163575] EXT4-fs (mmcblk0p9): recovery complete
[ 15.164306] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
[ 15.250745] FAT-fs (mmcblk0p8): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 15.400539] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)

OK, that shows that the drive isn’t being detected at all when plugged into the Pi (at a very basic hardware level). Is the drive even spinning up?

So I’d guess that either it’s a power problem, or the USB on the Pi could have failed. Do you have any other USB devices you could try?

Sure, I can try another. It’s working when plugged into my computer, so I’ll see if I can get another to work.

So nothing happens (no line added) if you plug it in.

Did you try a different USB cable and/or port?

Is the drive spinning up when plugged into the PI?

Yes, drive fires up and you can hear it spinning, but nothin comes up in Pi. But, when plugged into my Mac, it comes up fine and you can see all the files.

@brasskey: Does your PC or the Mac have a pure USB 2.0 port where you can connect the HDD to? Or are all PC and Mac ports USB 3.0?

I’m a little confused here. That’s a log from Raspbian, though in post #3 you provided a log from OSMC.

If you are getting the same problem on both OSMC and Raspbian, it certainly points to it probably being a hardware problem.

It’s a NOOBS install

Fair enough. So it looks like there’s the same problem in both Raspbian and OSMC.

Yes, so it’s either the USB port gone on the Pi (to be figured out by attaching any other USB device) or it’s a incompatibility with the USB cable and the USB2 port (to be checked with another cable)

Looks likes the drive is bad. Returning to Seagate. Thanks for all the help.