WD My Passport not recognized

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
sgtor
Level 4
Level 4
Posts: 332
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor »

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.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: WD My Passport not recognized

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
helmar

Re: WD My Passport not recognized

Post by helmar »

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
mrmajik45

Re: WD My Passport not recognized

Post by mrmajik45 »

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.
helmar

Re: WD My Passport not recognized

Post by helmar »

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.
mrmajik45

Re: WD My Passport not recognized

Post by mrmajik45 »

Official and additional.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: WD My Passport not recognized

Post by phd21 »

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 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
helmar

Re: WD My Passport not recognized

Post by helmar »

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: 332
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor »

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 11
Level 11
Posts: 3951
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: WD My Passport not recognized

Post by lsemmens »

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.
Fully mint Household
Out of my mind - please leave a message
helmar

Re: WD My Passport not recognized

Post by helmar »

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

Re: WD My Passport not recognized

Post by helmar »

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

Re: WD My Passport not recognized

Post by helmar »

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? ? ?
mrmajik45

Re: WD My Passport not recognized

Post by mrmajik45 »

I believe SuperSpeed is a feature from the enclosere/hdd and xchi is a hardware controller that manages USB devices.
helmar

Re: WD My Passport not recognized

Post by helmar »

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?
mrmajik45

Re: WD My Passport not recognized

Post by mrmajik45 »

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

Re: WD My Passport not recognized

Post by sgtor »

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: 332
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor »

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: 332
Joined: Sat May 13, 2017 9:39 pm

Re: WD My Passport not recognized

Post by sgtor »

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

Re: WD My Passport not recognized

Post by helmar »

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.
Locked

Return to “Hardware Support”