Bug 114916 - [umass] [patch] USB Maxtor drive (L300RO) requires quirk.
Summary: [umass] [patch] USB Maxtor drive (L300RO) requires quirk.
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 6.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 23:20 UTC by Ben Cadieux
Modified: 2019-01-09 18:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Cadieux 2007-07-25 23:20:01 UTC
Here's what I get, hooking up my external USB hard drive:

da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Maxtor 6 L300R0 BAJ4> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 286188MB (586114704 512 byte sectors: 255H 63S/T 36483C)
umass0: Invalid CSW: tag 7 should be 8
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status ==
 0x0

Fix: 

And here's the quirk I used to fix it in scsi_da.c:

{
     {T_DIRECT, SIP_MEDIA_FIXED, "Maxtor*", "L300R0*", "*"},
     /*quirks*/ DA_Q_NO_SYNC_CACHE
},
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2012-10-14 18:47:48 UTC
Responsible Changed
From-To: freebsd-usb->eadler

I'll take it.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2012-11-08 20:54:32 UTC
Responsible Changed
From-To: eadler->freebsd-bugs

I won't be dealing with this PR for some time, so give it back to the 
pool
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2012-11-08 23:36:20 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-usb

Canonicalize assignment.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:42 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 5 Warner Losh freebsd_committer freebsd_triage 2019-01-09 18:58:11 UTC
We've added code so that we don't have to set this quirk except when the sync cache command hangs the drive.