Jump to content

SMART cannot be read from external USB drive on one computer


Wonderwhy

Recommended Posts

Hey,

I recently bought my first USB 3.0 enclosure for my old HDD and noticed with the Scanner running on my HTPC (Win 7 x64) on the last stable version and the newest beta 3103 (with no WMI and no unsafe IO) that the SMART attributes could not be read:

HTPC_Scanner.thumb.PNG.f52ef46cd0ce8d19d4a8c6c6d44f8694.PNG

 

According to the LOG, I think it somehow chooses to use the ScsiPassthroughJmicron method:

Scanner.Service.exe	Information	0	[Disks] Creating disk...	2018-04-14 09:25:14Z	66476300502
Scanner.Service.exe	Information	0	[DiskInfo] Opening ATA pass-through...	2018-04-14 09:25:14Z	66476301483
Scanner.Service.exe	Information	0	[DiskInfo] Creating '\\.\PHYSICALDRIVE7'...	2018-04-14 09:25:14Z	66476304597
Scanner.Service.exe	Information	0	[Cloud] Looked up USB pass-through method for 'CoveNativeSafe.Info.HardwareId'. ScsiPassthroughJmicron (Cloud:ScsiPassthroughJmicron)	2018-04-14 09:25:15Z	66478600433
Scanner.Service.exe	Information	0	[DiskInfo] Querying disk identification via. ATA...	2018-04-14 09:25:15Z	66478601529
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with SCSI pass through (Jmicron)...	2018-04-14 09:25:15Z	66478608890
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query CDB with SCSI pass through...	2018-04-14 09:25:15Z	66478614237
Scanner.Service.exe	Information	0	[AtaPassThrough] SCSI pass through CDB query succeeded.	2018-04-14 09:25:15Z	66478692599
Scanner.Service.exe	Information	0	[AtaPassThrough] While querying drive via SCSI pass through (Jmicron). Cannot determine bridge port to use. IsPort1 = False, IsPort2 = False.	2018-04-14 09:25:15Z	66478693799
Scanner.Service.exe	Warning	0	[AtaPassThrough] ATA pass-through query failed. Command=236, Tried: ScsiPassthroughJmicron	2018-04-14 09:25:15Z	66478697537
Scanner.Service.exe	Information	0	[DiskInfo] Could not query for disk identification via. ATA.	2018-04-14 09:25:15Z	66478698814
Scanner.Service.exe	Information	0	[DiskInfo] Starting performance sampling...	2018-04-14 09:25:15Z	66478701001
Scanner.Service.exe	Information	0	[DiskInfo] Starting SMART services...	2018-04-14 09:25:15Z	66478702335
Scanner.Service.exe	Information	0	[Disks] Querying WMI for disk controllers, given PNP device id 'USBSTOR\DISK&VEN_USB&PROD_3.0&REV_0508\0000000000080&0'...	2018-04-14 09:25:15Z	66478704557
Scanner.Service.exe	Information	0	[Disks] Adding new disk controller 'PCI\VEN_1B21&DEV_1042&SUBSYS_84881043&REV_00\4&299066B9&0&00E6'...	2018-04-14 09:25:15Z	66480116468
Scanner.Service.exe	Information	0	[Disks] Disk added.	2018-04-14 09:25:15Z	66480121860
Scanner.Service.exe	Information	0	[Scheduler] Scheduler updating running scans...	2018-04-14 09:25:15Z	66480123167
Scanner.Service.exe	Information	0	[Scheduler] Not in automatic mode.	2018-04-14 09:25:15Z	66480154224

Scanner.Service.exe	Information	0	[SmartDiskInfo] SMART data NOT found for USBSTOR\DISK&VEN_USB&PROD_3.0&REV_0508\0000000000080&0	2018-04-14 09:25:23Z	66505408917
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:28Z	66525435472
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:28Z	66525800088
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=229, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:28Z	66525801219
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:35Z	66549361045
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:35Z	66549708919
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:35Z	66549710297
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:35Z	66549711550
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:35Z	66549734662
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:35Z	66549735731
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:35Z	66549737551
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:35Z	66549760851
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:35Z	66549761931
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:35Z	66549763434
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:35Z	66549774429
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:35Z	66549775412
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:35Z	66549777977
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:35Z	66549787655
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=47, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:35Z	66549788742
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:35Z	66549790039
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:36Z	66549919736
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=63, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:36Z	66549920440
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:25:36Z	66549921168
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:25:36Z	66549944278
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=47, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:25:36Z	66549944721

 

I was running the DirectIO program and the Jmicron method does not work to read SMART attributes, the only methods that work are the ScsiPassthrough and ScsiPassthrough48:

HTPC_JMicron.PNG.c42e4274ff95d3b805aff9b4feb8a3a6.PNGHTPC_SCSI.PNG.92c39ba247028fb6ffff46bf369f9e82.PNGHTPC_SCSI48.PNG.c57ac38df411386e01503e70889ac753.PNG

 

I then installed the Scanner on my laptop (Win 10 x64) with the same settings as on my HTPC (no WMI and no unsafe IO).
On the last stable version the SMART attributes could not be read, but on the newest beta 3103 they can be read:

LAPTOP_Scanner.thumb.PNG.64c29dfb326147a7030abdd782a7b172.PNG

 

According to the LOG, I think it chooses to use the ScsiPassthrough method:

Scanner.Service.exe	Information	0	[Disks] Creating disk...	2018-04-14 09:42:32Z	437934817599
Scanner.Service.exe	Information	0	[DiskInfo] Opening ATA pass-through...	2018-04-14 09:42:32Z	437934818786
Scanner.Service.exe	Information	0	[DiskInfo] Creating '\\.\PHYSICALDRIVE2'...	2018-04-14 09:42:32Z	437934823376
Scanner.Service.exe	Information	0	[DiskInfo] Querying disk identification via. ATA...	2018-04-14 09:42:32Z	437934824018
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:32Z	437934824863
Scanner.Service.exe	Information	0	[AtaPassThrough] Error querying drive via ATA pass through. Error=1	2018-04-14 09:42:32Z	437934826982
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with SCSI pass through...	2018-04-14 09:42:32Z	437934827577
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query CDB with SCSI pass through...	2018-04-14 09:42:32Z	437934828020
Scanner.Service.exe	Information	0	[AtaPassThrough] SCSI pass through CDB query succeeded.	2018-04-14 09:42:32Z	437934830007
Scanner.Service.exe	Information	0	[AtaPassThrough] SCSI pass through query succeeded.	2018-04-14 09:42:32Z	437934830410
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=236, Tried: AtaPassThrough, Succeeded: ScsiPassthrough	2018-04-14 09:42:32Z	437934830816
Scanner.Service.exe	Information	0	[DiskInfo] Comparing disk signatures...	2018-04-14 09:42:32Z	437934831349
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with SCSI pass through...	2018-04-14 09:42:32Z	437934832068
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query CDB with SCSI pass through...	2018-04-14 09:42:32Z	437934832575
Scanner.Service.exe	Information	0	[AtaPassThrough] SCSI pass through CDB query succeeded.	2018-04-14 09:42:32Z	437934835694
Scanner.Service.exe	Information	0	[AtaPassThrough] SCSI pass through query succeeded.	2018-04-14 09:42:32Z	437934836136
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=32, Tried: , Succeeded: ScsiPassthrough	2018-04-14 09:42:32Z	437934836548
Scanner.Service.exe	Information	0	[DiskInfo] ATA query accepted. Disk signature is same (or not available). NativeSig='0'	2018-04-14 09:42:32Z	437934837037
Scanner.Service.exe	Information	0	[DiskInfo] Starting performance sampling...	2018-04-14 09:42:32Z	437934837889
Scanner.Service.exe	Information	0	[DiskInfo] Starting SMART services...	2018-04-14 09:42:32Z	437934838684
Scanner.Service.exe	Information	0	[Disks] Querying WMI for disk controllers, given PNP device id 'SCSI\DISK&VEN_USB&PROD_3.0\000000'...	2018-04-14 09:42:32Z	437934839651
Scanner.Service.exe	Information	0	[Disks] Adding new disk controller 'USB\VID_152D&PID_0578\MSFT300000000000080'...	2018-04-14 09:42:32Z	437935964283
Scanner.Service.exe	Information	0	[Disks] Adding new disk controller 'PCI\VEN_8086&DEV_1E31&SUBSYS_397717AA&REV_04\3&11583659&0&A0'...	2018-04-14 09:42:32Z	437935997285
Scanner.Service.exe	Information	0	[Disks] Disk added.	2018-04-14 09:42:33Z	437936401234
Scanner.Service.exe	Information	0	[Scheduler] Scheduler updating running scans...	2018-04-14 09:42:33Z	437936404478
Scanner.Service.exe	Information	0	[Scheduler] Not in automatic mode.	2018-04-14 09:42:33Z	437936465604

Scanner.Service.exe	Information	0	[SmartDiskInfo] SMART data found for SCSI\DISK&VEN_USB&PROD_3.0\000000	2018-04-14 09:42:34Z	437939529668
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:38Z	437947562875
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:38Z	437947571737
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=229, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:38Z	437947572993
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:48Z	437972200271
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:48Z	437972209238
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=229, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:48Z	437972209776
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:48Z	437972210572
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:48Z	437972228229
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:48Z	437972228670
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:48Z	437972229136
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:49Z	437973194885
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:49Z	437973196163
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:49Z	437973198118
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:49Z	437973344338
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:49Z	437973345764
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:49Z	437973347438
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:49Z	437973494735
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=176, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:49Z	437973496101
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:49Z	437973498719
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:49Z	437973505338
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=47, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:49Z	437973507157
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:49Z	437973509230
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:49Z	437973516003
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=63, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:49Z	437973517247
Scanner.Service.exe	Information	0	[AtaPassThrough] Attempting to query with ATA pass through...	2018-04-14 09:42:49Z	437973518452
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass through query succeeded.	2018-04-14 09:42:49Z	437973525026
Scanner.Service.exe	Information	0	[AtaPassThrough] ATA pass-through query succeeded. Command=47, Tried: , Succeeded: AtaPassThrough	2018-04-14 09:42:49Z	437973526242

 

I was running the DirectIO program on the laptop and sure enough, the same results as on the HTPC:

LAPTOP_JMicron.PNG.d94a1396b02b833b344fab22780224fb.PNGLAPTOP_SCSI.PNG.e4a81898e7e088fb416d99094be47bb4.PNGLAPTOP_SCSI48.PNG.1580a11f05d526f3e07ec87d58a4914b.PNG

 

Note: On my HTPC I am running the scanner for many years with multiple versions, maybe an old setting is messing with the scanner and therefore it uses the wrong method...

Note #2: I have no problems reading SMART attributes with other SMART tools such as AIDA64 and CrystalDiskInfo.

 

I hope you can help me!

 

Best regards,

Wonderwhy

Edited by Wonderwhy
Note #2 added
Link to comment
Share on other sites

Could you make sure that you're using this version? 
http://dl.covecube.com/ScannerWindows/beta/download/StableBit.Scanner_2.5.2.3156_BETA.exe

Also, do this: 
http://wiki.covecube.com/StableBit_Scanner_Advanced_Settings

Find the "Smart" section and check the "NoWmi" option. If that doesn't work, then find the "Unsafe" option in DirectIo.

Link to comment
Share on other sites

Hey Christopher, thank you for your message!

I installed the new version, checked "NoWmi" and "Unsafe", but it still does not work...

Do you know why my 2 machines choose different passthrough methods?  Why does one machine have a Cloud entry in the LOG  which chooses the passthrough format and the other one does not?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...