WD My Passport not recognized

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
sgtor
Level 4
Level 4
Posts: 333
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor » Mon May 20, 2019 12:36 pm

mrmajik45 wrote:
Mon May 20, 2019 10:56 am
Tell him his HDD is well... broken.
It is looking that way unfortunately, but let's see what that smartctl command shows.

User avatar
phd21
Level 19
Level 19
Posts: 9514
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: WD My Passport not recognized

Post by phd21 » Mon May 20, 2019 12:43 pm

Hi helmar,

I just read your post and the good replies to it. Here are my thoughts on this as well.

Here is another recent post with information you might want to look at.

Program that can copy data off an non-mountable Hard Drive? - Linux Mint Forums
viewtopic.php?f=47&t=294422&p=1636012#p1636012

Hope this helps ...
Phd21: Mint 19.2 Cinnamon & xKDE (Xfce) & KDE Neon 64-bit Awesome OS's, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, 256gb SDD, only Intel 4 Graphics. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Mon May 20, 2019 1:22 pm

sgtor wrote:
Mon May 20, 2019 12:34 pm


Just post the output of one more thing if you don't mind, I'm really just curious to see what outcome will be. I do realize most usb drives don't have smart info but even so there is usually some useful information when you do this.

Code: Select all

sudo smartctl -a /dev/sdb
Okay. Now I know how newbie I am in Linux even after 10 years using it.
Running that command says there is no smartctl command in my Linux Mint.
So I tried to install it and I got this:

Code: Select all

sudo apt-get install smartctl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package smartctl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'smartctl' has no installation candidate
Help me, and please don't laugh on my Linux skills :D :D :D

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: WD My Passport not recognized

Post by mrmajik45 » Mon May 20, 2019 1:28 pm

Go to (Update Manager) and go to (Software sources) There should be a option with (Universe) on the right of the text. Toggle the box (On) and click confirm. Try to install it again.
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Mon May 20, 2019 2:04 pm

mrmajik45 wrote:
Mon May 20, 2019 1:28 pm
Go to (Update Manager) and go to (Software sources) There should be a option with (Universe) on the right of the text. Toggle the box (On) and click confirm. Try to install it again.
No, there isn't. This option should be in Official Repos, PPAs or Additional Repos? Couldn't find any option with (Universe) in any of those lists.

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: WD My Passport not recognized

Post by mrmajik45 » Mon May 20, 2019 2:05 pm

Official and additional.
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

User avatar
phd21
Level 19
Level 19
Posts: 9514
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: WD My Passport not recognized

Post by phd21 » Mon May 20, 2019 2:51 pm

Hi helmar,

FYI: The "smartctl" program is part of the "smartmontools" which is in your Software Manager or Synaptic Package Manager (SPM). I would use the "Synaptic Package Manager (SPM)" and install related packages like "gsmartcontrol" which is a desktop app.

OR use this console terminal command.

Code: Select all

sudo apt install smartmontools gsmartcontrol
Hope this helps ...
Phd21: Mint 19.2 Cinnamon & xKDE (Xfce) & KDE Neon 64-bit Awesome OS's, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, 256gb SDD, only Intel 4 Graphics. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Mon May 20, 2019 3:03 pm

sgtor wrote:
Mon May 20, 2019 12:34 pm
Just post the output of one more thing if you don't mind, I'm really just curious to see what outcome will be. I do realize most usb drives don't have smart info but even so there is usually some useful information when you do this.

Code: Select all

sudo smartctl -a /dev/sdb
Here is the output of smartctl command... I mean: no output :(

Code: Select all

smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-148-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdb failed: No such device

sgtor
Level 4
Level 4
Posts: 333
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor » Mon May 20, 2019 3:47 pm

Sorry that was my mistake, I forgot smartctl had to be installed.

So it does indeed look like that drive is bad if that is the output of smartctl.
All you can do now is try a different usb port but I really doubt that will work. Looks like a bad drive.

I mean there is a remote chance that when you plugged it in again it wasn't assigned to sdb, so you can check that again with dmesg and run smartctl on the correct device /dev/sd?.

User avatar
lsemmens
Level 9
Level 9
Posts: 2676
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: WD My Passport not recognized

Post by lsemmens » Tue May 21, 2019 4:38 am

If it's a USB drive it could now be worth removing said drive from its housing and plugging it directly into the MOBO. That will, at least, prove the enclosure.
Kernel: 4.15.0-46-generic x86_64 bits
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop HP-ProBook-470-G2 8Gb RAM SSD
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Mint machines
Out of my mind - please leave a message

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Tue May 21, 2019 7:01 am

sgtor wrote:
Mon May 20, 2019 3:47 pm
Sorry that was my mistake, I forgot smartctl had to be installed.

So it does indeed look like that drive is bad if that is the output of smartctl.
All you can do now is try a different usb port but I really doubt that will work. Looks like a bad drive.

I mean there is a remote chance that when you plugged it in again it wasn't assigned to sdb, so you can check that again with dmesg and run smartctl on the correct device /dev/sd?.
Hi Sgtor... it seems the dmesg output has not changed.

Code: Select all

sudo dmesg |tail
[sudo] password for helmar: 
[  329.233580] sd 4:0:0:0: Attached scsi generic sg2 type 0
[  329.234896] scsi 4:0:0:1: Attached scsi generic sg3 type 13
[  329.235012] sd 4:0:0:0: [sdb] Spinning up disk...
[  330.235859] .
[  335.444482] scsi 4:0:0:1: Wrong diagnostic page; asked for 1 got 0
[  335.444489] scsi 4:0:0:1: Failed to get diagnostic page 0xffffffea
[  335.444493] scsi 4:0:0:1: Failed to bind enclosure -19
[  335.444517] ses 4:0:0:1: Attached Enclosure device
[  336.448167] ...ready
[  518.466440] sd 4:0:0:0: timing out command, waited 180s
Do you see something different?

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Tue May 21, 2019 7:05 am

phd21 wrote:
Mon May 20, 2019 2:51 pm
Hi helmar,

FYI: The "smartctl" program is part of the "smartmontools" which is in your Software Manager or Synaptic Package Manager (SPM). I would use the "Synaptic Package Manager (SPM)" and install related packages like "gsmartcontrol" which is a desktop app.

OR use this console terminal command.

Code: Select all

sudo apt install smartmontools gsmartcontrol
Hope this helps ...
Hey phd21... it looks like I have a different result now and I try to run smartctl command

Code: Select all

sudo smartctl -a \dev\sdb
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-148-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

devsdb: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
The first time it said there was no device.
Now it says the device type was not detected. Is a light to find a solution??? :D

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Tue May 21, 2019 7:18 am

And now we have a different message

Code: Select all

dmesg |tail
[ 1485.582147] ses 5:0:0:1: Attached scsi generic sg3 type 13
[ 1486.582576] .
[ 1490.964262] ses 5:0:0:1: Wrong diagnostic page; asked for 1 got 0
[ 1490.964268] ses 5:0:0:1: Failed to get diagnostic page 0xffffffea
[ 1490.964272] ses 5:0:0:1: Failed to bind enclosure -19
[ 1491.966734] ..ready
[ 1616.098344] usb 3-1: Disable of device-initiated U1 failed.
[ 1616.101771] usb 3-1: Disable of device-initiated U2 failed.
[ 1616.210684] usb 3-1: reset SuperSpeed USB device number 3 using xhci_hcd
[ 1672.988180] sd 5:0:0:0: timing out command, waited 180s
What does it mean this reset SuperSpeed USB device number 3 using xhci_hcd? ? ?

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: WD My Passport not recognized

Post by mrmajik45 » Tue May 21, 2019 8:08 am

I believe SuperSpeed is a feature from the enclosere/hdd and xchi is a hardware controller that manages USB devices.
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Tue May 21, 2019 10:18 am

mrmajik45 wrote:
Tue May 21, 2019 8:08 am
I believe SuperSpeed is a feature from the enclosere/hdd and xchi is a hardware controller that manages USB devices.
I also do. My question is that it says to reset the device using hxci_hcd. How do I do that?

User avatar
mrmajik45
Level 5
Level 5
Posts: 597
Joined: Tue Aug 29, 2017 9:51 pm
Location: USA, indiana
Contact:

Re: WD My Passport not recognized

Post by mrmajik45 » Tue May 21, 2019 10:58 am

ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

sgtor
Level 4
Level 4
Posts: 333
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor » Tue May 21, 2019 1:16 pm

Give this a try

Code: Select all

sudo smartctl -d auto /dev/sdb
if that doesn't work then

Code: Select all

sudo smartctl -d ata /dev/sdb
if that doesn't work then

Code: Select all

sudo smartctl -d scsi /dev/sdb

sgtor
Level 4
Level 4
Posts: 333
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor » Tue May 21, 2019 1:18 pm

lsemmens wrote:
Tue May 21, 2019 4:38 am
If it's a USB drive it could now be worth removing said drive from its housing and plugging it directly into the MOBO. That will, at least, prove the enclosure.
+1

This is a good point once you're sure nothing else will work.

sgtor
Level 4
Level 4
Posts: 333
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor » Tue May 21, 2019 1:29 pm

I've wanted to ask a question about this drive but didn't bother because the answer seemed obvious but what is the history of the drive? Is it brand new? Has it been used for years? Do you happen to know how many partitions are on it and what filesystem they have?

It's possible that it has some different file system on it that won't work over usb but I thought that was too unlikely because you mentioned it was plugged into a windows computer that could see it in device manager.

helmar
Level 2
Level 2
Posts: 53
Joined: Mon Dec 12, 2016 7:16 am

Re: WD My Passport not recognized

Post by helmar » Tue May 21, 2019 1:51 pm

sgtor wrote:
Tue May 21, 2019 1:16 pm
Give this a try

Code: Select all

sudo smartctl -d scsi /dev/sdb
Firstly, I tried this. Apparently worked but it got stuck with no results for more than a minute.
I've wanted to ask a question about this drive but didn't bother because the answer seemed obvious but what is the history of the drive? Is it brand new? Has it been used for years? Do you happen to know how many partitions are on it and what filesystem they have?

It's possible that it has some different file system on it that won't work over usb but I thought that was too unlikely because you mentioned it was plugged into a windows computer that could see it in device manager.
About this. I don't know the history of this drive. It belongs to a friend's son that lives in another city and he just said it used to be used in Windows 10 to save projects and other documents. Worked for a while (not sure how long) and then start getting wrong with no reason.

Post Reply

Return to “Hardware Support”