Date: Tue, 2 Mar 2004 08:17:37 -0800 (PST) From: Aron Stansvik <elvstone@home.se> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/63645: Neuros Digital Audio Computer (USB) needs DA_Q_NO_SYNC_CACHE quirk Message-ID: <200403021617.i22GHbo2014456@www.freebsd.org> Resent-Message-ID: <200403021620.i22GKCEU098635@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63645 >Category: kern >Synopsis: Neuros Digital Audio Computer (USB) needs DA_Q_NO_SYNC_CACHE quirk >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 02 08:20:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: Aron Stansvik >Release: 5.2.1-RELEASE >Organization: >Environment: FreeBSD glorfindel.dose.se 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Sat Feb 28 14:30:35 CET 2004 root@glorfindel.dose.se:/usr/obj/usr/src/sys/GENERIC i386 >Description: The Neuros Digital Audio Computer (USB) (http://www.neurosaudio.com/) needs DA_Q_NO_SYNC_CACHE quirk to function properly. The dmesg output of the failed attach attempt is as follows: umass0: vendor 0x0451 product 0x5409, rev 1.01/0.01, addr 2 GEOM: create disk da0 dp=0xc2e95050 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <NEUROS dig. audio comp. 1.00> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 19077MB (39070048 512 byte sectors: 255H 63S/T 2431C) umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status == 0x0 umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT >How-To-Repeat: Boot your FreeBSD 5.x machine (don't know about 4.x) and plug your Neuros Digital Audio Computer in. >Fix: --- scsi_da.c.orig Sat Feb 28 14:04:57 2004 +++ scsi_da.c Sat Feb 28 14:12:09 2004 @@ -376,6 +376,13 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "CREATIVE", "NOMAD_MUVO", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE|DA_Q_NO_PREVENT }, + { + /* + * Neuros Digital Audio Computer (USB) + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "NEUROS", "dig*", "*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; The dmesg output of the successful attach: umass0: vendor 0x0451 product 0x5409, rev 1.01/0.01, addr 2 GEOM: create disk da0 dp=0xc2f17050 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <NEUROS dig. audio comp. 1.00> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 19077MB (39070048 512 byte sectors: 255H 63S/T 2431C) And with the device successfully attached, usbdevs -v gives the following output: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, product 0x5409(0x5409), vendor 0x0451(0x0451), rev 0.01 port 2 powered Note that in FreeBSD 5.x releases before 5.2.1-RELEASE, I had to use the DA_Q_NO_6_BYTE quirk too. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403021617.i22GHbo2014456>