Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1078 closed defect (duplicate)

smart not supported on external hdd maxtor m3 ?

Reported by: IRn Owned by:
Priority: minor Milestone:
Component: all Version: 6.6
Keywords: uas linux Cc:

Description

The Maxtor M3 2,5" 4TB external HDD is listed as supported: https://www.smartmontools.org/wiki/Supported_USB-Devices

I tested:

sudo smartctl -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x0bc2:0x61b7 (0x000)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary


sudo smartctl -d sat -a /dev/sdb
[sudo] Passwort für chuck: 
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.



sudo smartctl -d sat -T permissive -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-33-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
Local Time is:    Mon Aug 27 20:44:01 2018 CEST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

I need smart on my device, can it be solved?

best wishes

Change History (6)

in reply to:  description comment:1 by Christian Franke, 6 years ago

/dev/sdb: Unknown USB bridge [0x0bc2:0x61b7 (0x000)]

Should work since r4685 which was merged in r4692, see ticket #1077.
Please run update_smart_drivedb or download the drive database manually.

comment:2 by Christian Franke, 6 years ago

Keywords: uas linux added
Resolution: duplicate
Status: newclosed

In UAS is enabled, Linux rejects SAT ATA pass-through to Seagate USB devices. See tickets #971 and #1069 and USB wiki page for details.

comment:3 by IRn, 6 years ago

Same error with the current version.

sudo smartctl -d sat -a /dev/sdb
smartctl 6.7 2018-08-20 r4761 [x86_64-linux-4.15.0-33-generic] (daily-20180820)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Version 0, edited 6 years ago by IRn (next)

comment:4 by Christian Franke, 6 years ago

This is as expected if UAS transfer mode is enabled, see comment above.

in reply to:  4 comment:5 by IRn, 6 years ago

Replying to Christian Franke:

This is as expected if UAS transfer mode is enabled, see comment above.

Can you provide an example for blacklisting uas.

from dmesg output:

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-34-generic root=UUID*** ro splash quiet vt.handoff=1 uas.blacklist=yes
uas: unknown parameter 'blacklist' ignored

The kernel parameter 'usb_storage.quirks=0bc2:61b7' does not work as well.

Thank you!

Last edited 6 years ago by IRn (previous) (diff)

comment:6 by Christian Franke, 6 years ago

AFAIK (not tested):

  • usb_storage.quirks=0bc2:61b7:u disables UAS transfer mode,
  • usb_storage.quirks=0bc2:61b7: disables all quirks.

Both should enable SAT ATA pass-through. The latter might be risky as kernel developers disabled it in UAS mode for some good reason.

Note: See TracTickets for help on using tickets.