Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 20:13:11 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Andrew Thompson <andy@fud.org.nz>
Cc:        current@freebsd.org
Subject:   Re: USB da(4) quirks deprecated
Message-ID:  <20030807200629.G77081@root.org>
In-Reply-To: <03Aug8.140932nzst.119071@homer.fire.org.nz>
References:  <20030806213504.S74720@root.org> <03Aug8.140932nzst.119071@homer.fire.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Aug 2003, Andrew Thompson wrote:
> Hi Nate,
>
> I have just purchased a usb pendrive/mp3 player and I am having a bit of
> trouble.
>
> I built a fresh kernel today as I saw you have been working with the da
> quirks.  When I insert the drive I get:
>
> umass0: SigmaTel, Inc. USBMSC Audio Player, rev 1.10/0.01, addr 3
> umass0: Get Max Lun not supported (IOERROR)
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: <SigmaTel MSCN 0001> Removable Direct Access SCSI-4 device
> da0: 1.000MB/s transfers
> da0: 125MB (256001 512 byte sectors: 64H 32S/T 125C)
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> .... and so on....

Looks pretty standard.  Here is more info on the possible quirks:
http://www.root.org/~nate/freebsd/quirks.html

If I were you, I'd look first into adding one for RS_NO_CLEAR_UA in
sys/dev/usb/umass.c.  See other quirks like this to get an idea.  It's
also possible that the problem is "NO_SYNC_CACHE" in
sys/cam/scsi/scsi_da.c.  I'm adding Kevin Oberman.  He's submitted some
quirks before.  The idea is to try a few similar to the surrounding ones
until something works.

> I recompiled with "options DA_OLD_QUIRKS" and now I get
> No difference.

The reason is that there never was a quirk for your device.  "OLD" implies
there was already one there.

-Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030807200629.G77081>