Re: Yet another Seagate quirk for unusual_uas.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 18, 2017 at 1:14 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, 18 Sep 2017, Kris Lindgren wrote:
>
>> So I upgrade to 17.04 which is using the 4.10 kernel.
>>
>> Without any modification the filesystem fails to mount.
>>
>> Unloading the usb_storage module and reloading it with
>> quirks=0bc2:3332:w allows the drive to be succesfully mounted and used
>> without any errors.
>
> Okay, so it looks like what you need is the patch below.  Let me know
> if it fixes the problem.
>
> Alan Stern
>
>
>
> Index: usb-4.x/drivers/usb/storage/unusual_devs.h
> ===================================================================
> --- usb-4.x.orig/drivers/usb/storage/unusual_devs.h
> +++ usb-4.x/drivers/usb/storage/unusual_devs.h
> @@ -1459,6 +1459,13 @@ UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0
>                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
>                 US_FL_SANE_SENSE ),
>
> +/* Reported by Kris Lindgren <kris.lindgren@xxxxxxxxx> */
> +UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
> +               "Seagate",
> +               "External",
> +               USB_SC_DEVICE, USB_PR_DEVICE, NULL,
> +               US_FL_NO_WP_DETECT ),
> +
>  UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
>                 "Maxtor",
>                 "USB to SATA",
>

Hi Alan,

Sorry for the delay.  This did indeed solve the problem.  I rebuilt
the kernel with that patch applied and without any special quirks
loaded against the usb_storage driver, the drive mounts without issue.

dmesg output:
[ 1343.583254] usb 2-1.3: new high-speed USB device number 3 using ehci-pci
[ 1343.719969] usb 2-1.3: New USB device found, idVendor=0bc2, idProduct=3332
[ 1343.719973] usb 2-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1343.719976] usb 2-1.3: Product: External
[ 1343.719978] usb 2-1.3: Manufacturer: Seagate
[ 1343.719981] usb 2-1.3: SerialNumber: 2GHP5NM9
[ 1343.810149] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[ 1343.810580] usb-storage 2-1.3:1.0: Quirks match for vid 0bc2 pid 3332: 200
[ 1343.810606] scsi host6: usb-storage 2-1.3:1.0
[ 1343.810722] usbcore: registered new interface driver usb-storage
[ 1343.828047] usbcore: registered new interface driver uas
[ 1344.812932] scsi 6:0:0:0: Direct-Access     Seagate  External
  SG12 PQ: 0 ANSI: 4
[ 1344.813636] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 1344.814123] sd 6:0:0:0: [sdb] 3907029164 512-byte logical blocks:
(2.00 TB/1.82 TiB)
[ 1344.814127] sd 6:0:0:0: [sdb] Assuming Write Enabled
[ 1344.814130] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1344.878679]  sdb: sdb1
[ 1344.880193] sd 6:0:0:0: [sdb] Attached SCSI disk
[ 1345.069152] sd 6:0:0:0: [sdb] tag#0 FAILED Result:
hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[ 1345.069159] sd 6:0:0:0: [sdb] tag#0 Sense Key : Hardware Error
[current] [descriptor]
[ 1345.069162] sd 6:0:0:0: [sdb] tag#0 Add. Sense: No additional sense
information
[ 1345.069168] sd 6:0:0:0: [sdb] tag#0 CDB: ATA command pass
through(16) 85 06 20 00 00 00 00 00 00 00 00 00 00 00 e5 00
[ 1345.172252] sd 6:0:0:0: [sdb] tag#0 FAILED Result:
hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[ 1345.172258] sd 6:0:0:0: [sdb] tag#0 Sense Key : Hardware Error
[current] [descriptor]
[ 1345.172261] sd 6:0:0:0: [sdb] tag#0 Add. Sense: No additional sense
information
[ 1345.172266] sd 6:0:0:0: [sdb] tag#0 CDB: ATA command pass
through(12)/Blank a1 06 20 da 00 00 4f c2 00 b0 00 00
[ 1345.581679] EXT4-fs (sdb1): mounted filesystem with ordered data
mode. Opts: (null)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux