You are not logged in.

#1 2018-09-01 20:26:54

taufique
Member
Registered: 2018-09-01
Posts: 5

[SOLVED] External HDD being listed by lsusb but not by fdisk

I am trying to mount  a Western Digital My Passport Ultra 1TB external HDD to my laptop, The device shows up in `dmesg` and `lsusb` but can't find it with `fdisk -l`. But I can use the HDD from Windows 7 OS. So I am assuming there is not problem with HDD.

`uname -r` output:

4.17.11-arch1

Relevant `dmesg` output:

[115337.888331] usb 3-1: new high-speed USB device number 13 using xhci_hcd
[115338.059278] usb 3-1: New USB device found, idVendor=1058, idProduct=0820, bcdDevice=10.12
[115338.059287] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[115338.059292] usb 3-1: Product: My Passport 0820
[115338.059296] usb 3-1: Manufacturer: Western Digital
[115338.059300] usb 3-1: SerialNumber: 575857314531354150364345

`lsusb` output:

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b404 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 011: ID 09da:c10a A4Tech Co., Ltd.
Bus 003 Device 013: ID 1058:0820 Western Digital Technologies, Inc. My Passport Ultra (WDBMWV, WDBZFP)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

`fdisk -l` output:

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 71A8B170-0CE8-477E-AC5A-3B0B8F7F2532

Device         Start        End    Sectors   Size Type
/dev/sda1       2048    1050623    1048576   512M EFI System
/dev/sda2    1050624  209715199  208664576  99.5G Linux filesystem
/dev/sda3  209715200  241172479   31457280    15G Linux swap
/dev/sda4  241172480 1953523711 1712351232 816.5G Linux filesystem


I found a related issue in this thread where it is marked solved saying the following -

Atronach wrote:

the problem lies in the slow initialization of the drive's firmware to be ready to be scanned by the usb_storage kernel module

There were some ways pointed out in that thread to increase the `delay_use` parameter of `usb_storage` module but I couldn't try that because modprobe says `usb_storage` module is not found.

Any help?

Last edited by taufique (2018-09-01 21:48:26)

Offline

#2 2018-09-01 20:31:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

Why is your kernel so old?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-09-01 20:36:58

taufique
Member
Registered: 2018-09-01
Posts: 5

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

Why is your kernel so old?

Using the laptop after a while. Didn't do `pacman -Syyu` yet.

Offline

#4 2018-09-01 20:38:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

Always update before opening a support thread. Arch is a rolling release.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-09-01 20:38:58

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

Well the current kernel contains

usr/lib/modules/4.18.5-arch1-1-ARCH/kernel/drivers/usb/storage/usb-storage.ko.xz

Offline

#6 2018-09-01 20:40:30

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

And you won't unless you can explain why you put the second "y" there… I don't know who advertises this shit, but "-yy" is for a very specific purpose and usually wrong.
The module is btw. "usb-storage".

Edit: blast.

Last edited by seth (2018-09-01 20:41:38)

Offline

#7 2018-09-01 20:56:52

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

@seth I thought modprobe performed automatic conversion on _

Offline

#8 2018-09-01 21:00:21

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

With an intact database, yes - i overread the "modprobe" thing. (And eg. insmod resolves nothing)
The setup then sounds increasingly like a difference between booted and installed kernel.

Offline

#9 2018-09-01 21:03:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

seth wrote:

The setup then sounds increasingly like a difference between booted and installed kernel.

Yep.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2018-09-01 21:25:59

taufique
Member
Registered: 2018-09-01
Posts: 5

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

Did the update. Now `fdisk -l` is listing the HDD. Sorry for not trying an update before posting. I thought update wouldn't be any different in this case. So it didn't come to my mind.

Offline

#11 2018-09-01 21:32:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] External HDD being listed by lsusb but not by fdisk

No problem. The sooner you get in the habit of obsessively updating every hour on the hour, the happier you will be smile

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB