LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-05-2020, 06:36 AM   #1
k.king
Member
 
Registered: Oct 2005
Posts: 91

Rep: Reputation: 16
[SOLVED-ISH] External USB hard drive issue


When I plug a WS external USB drive used many times before aok now does not mount.
The following from dmesg.
Does this mean the drive (or electronics of it) are broken?
Code:
[ 1678.529099] usb 1-6: new high-speed USB device number 5 using xhci_hcd
[ 1678.678033] usb 1-6: New USB device found, idVendor=1058, idProduct=0748, bcdDevice=10.22
[ 1678.678037] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 1678.678040] usb 1-6: Product: My Passport 0748
[ 1678.678043] usb 1-6: Manufacturer: Western Digital
[ 1678.678045] usb 1-6: SerialNumber: ************************
[ 1678.701182] usb-storage 1-6:1.0: USB Mass Storage device detected
[ 1678.701236] scsi host6: usb-storage 1-6:1.0
[ 1678.701287] usbcore: registered new interface driver usb-storage
[ 1678.703074] usbcore: registered new interface driver uas
[ 1679.709955] scsi 6:0:0:0: Direct-Access     WD       My Passport 0748 1022 PQ: 0 ANSI: 6
[ 1679.710344] scsi 6:0:0:1: Enclosure         WD       SES Device       1022 PQ: 0 ANSI: 6
[ 1679.711794] sd 6:0:0:0: Attached scsi generic sg4 type 0
[ 1679.712195] scsi 6:0:0:1: Attached scsi generic sg5 type 13
[ 1679.712783] sd 6:0:0:0: [sdd] Spinning up disk...
[ 1680.733128] .
[ 1687.041177] scsi 6:0:0:1: Wrong diagnostic page; asked for 1 got 8
[ 1687.041187] scsi 6:0:0:1: Failed to get diagnostic page 0x1
[ 1687.041192] scsi 6:0:0:1: Failed to bind enclosure -19
[ 1687.041554] ready
[ 1687.041768] sd 6:0:0:0: [sdd] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 1687.042037] sd 6:0:0:0: [sdd] Write Protect is off
[ 1687.042041] sd 6:0:0:0: [sdd] Mode Sense: 47 00 10 08
[ 1687.042306] sd 6:0:0:0: [sdd] No Caching mode page found
[ 1687.042313] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 1687.079397]  sdd: sdd1
[ 1687.081236] sd 6:0:0:0: [sdd] Attached SCSI disk
[ 1687.081363] ses 6:0:0:1: Attached Enclosure device

Last edited by k.king; 12-08-2020 at 03:55 AM. Reason: marking as sort of solved
 
Old 12-05-2020, 07:27 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 14,492

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Not to me.

It indicated the drive was slow to speed up, and the software initally read it wrong and posted errors. It often happens with platter disks.
 
Old 12-05-2020, 08:57 AM   #3
k.king
Member
 
Registered: Oct 2005
Posts: 91

Original Poster
Rep: Reputation: 16
so anything can do to make it re-attempt load or mount?
 
Old 12-05-2020, 12:55 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 14,492

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
About half way down your log, it gives you a line 'spinning up disk ", that is, spinning up from zero speed.
Then follow a few errors when it attempts to read the disk while it is underspeed, I guess.

Then it announces 'ready' and does the usual stuff. You don't appear to have it in fstab. In X, you should just retry to mount it, or in a terminal, type
Quote:
sudo mount /dev/sdd1 /somewhere
 
Old 12-05-2020, 12:59 PM   #5
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
There are multiple ways of automounting external drives. You apparently disabled whatever was in use by whatever distro and desktop environment you're using. If you don't want it automounted, you can use the standard mount command. If you do want it automounted, you can put it in /etc/fstab or you can enable automounting hwever that works in whatever DE you're running.
 
Old 12-06-2020, 04:14 AM   #6
k.king
Member
 
Registered: Oct 2005
Posts: 91

Original Poster
Rep: Reputation: 16
Code:
You don't appear to have it in fstab
I can try that, but as it's a portable external drive and not always in use, I don't want it in fstab.

Code:
In X, you should just retry to mount it, or in a terminal, type
Quote:
sudo mount /dev/sdd1 /somewhere
no dice, it is not seen to mount nor be able to act on e.g. gparted /dev/sdd fails

Code:
There are multiple ways of automounting external drives. You apparently disabled whatever was in use
nope, all other usb (pen) drives are still automounting fine
 
Old 12-06-2020, 04:29 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,590

Rep: Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921
Sounds like a dodgy interface or power maybe. Try the simple things - ues a different cable, and a different plug. Keep an eye on later messages. Plug it in and post "lsblk -f".
 
Old 12-06-2020, 05:03 AM   #8
k.king
Member
 
Registered: Oct 2005
Posts: 91

Original Poster
Rep: Reputation: 16
I swapped to a known working USB cable from another drive
Same results (in dmesg too)
I tried an entry in fstab (that just screwed up the boot process had to revert)
running lsblk -f yields
Code:
NAME   FSTYPE LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sdd                                                                           
└─sdd1 ntfs   My Passport F474B7AA74B76DCC
 
Old 12-06-2020, 05:09 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,590

Rep: Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921
So it's seen ok. Try mounting it and post all messasges. Also what do you mean by "gparted /dev/sdd fails" ?. Let's see any and all messages - post a photo in need.
 
Old 12-06-2020, 06:39 AM   #10
k.king
Member
 
Registered: Oct 2005
Posts: 91

Original Poster
Rep: Reputation: 16
Code:
what do you mean by "gparted /dev/sdd fails"
Meaning it takes a very long time before showing an ntfs partition with the triangle warning symbol asking for more info yields
Code:
Failed to read lock '/dev/sdd1': Resource temporarily unavailable
Error opening '/dev/sdd1': Resource temporarily unavailable
Failed to mount '/dev/sdd1': Resource temporarily unavailable

Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ntfs file system support:  ntfs-3g / ntfsprogs.
with regards
Code:
 Try mounting it and post all messages
again takes a very long time before finally responding
Code:
$ sudo mount -t ntfs-3g /dev/sdd1 /mnt/TST099
Error reading bootsector: Input/output error
Failed to mount '/dev/sdd1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
btw syslog contains
Code:
Dec  6 11:24:16 Unit200320 systemd-udevd[373]: sdd1: Worker [4464] failed
Dec  6 11:24:32 Unit200320 kernel: [ 5350.475501] sd 6:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=181s
Dec  6 11:24:32 Unit200320 kernel: [ 5350.475507] sd 6:0:0:0: [sdd] tag#0 Sense Key : Not Ready [current]
Dec  6 11:24:32 Unit200320 kernel: [ 5350.475511] sd 6:0:0:0: [sdd] tag#0 Add. Sense: Logical unit is in process of becoming ready
Dec  6 11:24:32 Unit200320 kernel: [ 5350.475516] sd 6:0:0:0: [sdd] tag#0 CDB: Read(10) 28 00 00 00 08 00 00 00 20 00
Dec  6 11:24:32 Unit200320 kernel: [ 5350.475522] blk_update_request: I/O error, dev sdd, sector 2048 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
Dec  6 11:27:34 Unit200320 kernel: [ 5532.273046] sd 6:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=181s
Dec  6 11:27:34 Unit200320 kernel: [ 5532.273052] sd 6:0:0:0: [sdd] tag#0 Sense Key : Not Ready [current]
Dec  6 11:27:34 Unit200320 kernel: [ 5532.273057] sd 6:0:0:0: [sdd] tag#0 Add. Sense: Logical unit is in process of becoming ready
Dec  6 11:27:34 Unit200320 kernel: [ 5532.273061] sd 6:0:0:0: [sdd] tag#0 CDB: Read(10) 28 00 e8 df 87 80 00 00 08 00
Dec  6 11:27:34 Unit200320 kernel: [ 5532.273067] blk_update_request: I/O error, dev sdd, sector 3906963328 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Dec  6 11:30:01 Unit200320 CRON[4675]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Dec  6 11:30:42 Unit200320 kernel: [ 5720.129860] sd 6:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=187s
Dec  6 11:30:42 Unit200320 kernel: [ 5720.129866] sd 6:0:0:0: [sdd] tag#0 Sense Key : Not Ready [current]
Dec  6 11:30:42 Unit200320 kernel: [ 5720.129871] sd 6:0:0:0: [sdd] tag#0 Add. Sense: Logical unit is in process of becoming ready
Dec  6 11:30:42 Unit200320 kernel: [ 5720.129876] sd 6:0:0:0: [sdd] tag#0 CDB: Read(10) 28 00 00 00 08 00 00 00 08 00
Dec  6 11:30:42 Unit200320 kernel: [ 5720.129881] blk_update_request: I/O error, dev sdd, sector 2048 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Dec  6 11:30:42 Unit200320 kernel: [ 5720.129890] Buffer I/O error on dev sdd1, logical block 0, async page read
 
Old 12-06-2020, 06:42 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 14,492

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Code:
NAME   FSTYPE LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sdd                                                                           
└─sdd1 ntfs   My Passport F474B7AA74B76DCC
+1 on syg00's comment. I think I posted that a few posts ago. You have to be root to mount stuff or run gparted, you know that? IME, when these issues go over 8 posts, I begin to question if the OP is acting on advice.
 
Old 12-06-2020, 06:50 AM   #12
k.king
Member
 
Registered: Oct 2005
Posts: 91

Original Poster
Rep: Reputation: 16
really ... all are run with sudo
 
Old 12-06-2020, 06:55 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,590

Rep: Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921Reputation: 3921
I'll cut a little more slack - is ntfs-3g installed. If not, why not ?. The in-kernel NTFS driver is as old as dirt. Worst case, the I/O errors may be real (physical) errors, but let's assume they are just logical errors because ntfs-3g isn't there.
As always, more data is always beneficial.
 
Old 12-06-2020, 07:08 AM   #14
k.king
Member
 
Registered: Oct 2005
Posts: 91

Original Poster
Rep: Reputation: 16
Code:
is ntfs-3g installed
yes that is why this drive always used to work
and
as mentioned, all other usb drives still continue to work.... it is only this drive that no longer co-operates.
 
Old 12-06-2020, 07:33 AM   #15
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDo, tinycore, Q4OS,Manjaro
Posts: 4,614

Rep: Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260Reputation: 2260
Quote:
Originally Posted by k.king View Post
Code:
is ntfs-3g installed
yes that is why this drive always used to work
and
as mentioned, all other usb drives still continue to work.... it is only this drive that no longer co-operates.
Are the other devices, the ones that work, formatted NTFS?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux Mint 19.1 cinnamon to an external hard drive & backing up to another external hard drive. bluelakecompany@yahoo.co Linux - Newbie 1 01-23-2019 07:30 PM
Booting Linux on an external USB hard drive (not a memory stick, a hard drive) comcastuser Linux - Hardware 4 01-13-2010 07:59 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 10:59 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 10:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration