From owner-freebsd-stable@FreeBSD.ORG Mon Aug 25 11:46:24 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACCC16A4C0 for ; Mon, 25 Aug 2003 11:46:24 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 8EA2143F3F for ; Mon, 25 Aug 2003 11:46:23 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 17886 invoked by uid 1000); 25 Aug 2003 18:46:24 -0000 Date: Mon, 25 Aug 2003 11:46:24 -0700 (PDT) From: Nate Lawson To: Melvyn Sopacua In-Reply-To: <200308222149.13050.freebsd-stable@webteckies.org> Message-ID: <20030825114244.L17861@root.org> References: <200308150024.18119.freebsd-stable@webteckies.org> <200308222149.13050.freebsd-stable@webteckies.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: umass0 problems, with Sony USB Memory Stick X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 18:46:24 -0000 On Fri, 22 Aug 2003, Melvyn Sopacua wrote: > On Friday 22 August 2003 18:54, Nate Lawson wrote: > > On Fri, 15 Aug 2003, Melvyn Sopacua wrote: > > > I'm installing a laptop for a friend of mine, and while most things work, > > > the Sony memory stick does not. > > > > > > With respect to the HEADS UP of August 7th, I've also re-enabled the 2 > > > Sony memory sticks quirks, in sys/cam/scsi/da_scsi.c. > > > The symptoms also apply to 4.8-RELEASE: > > > umass0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2 > > > ... > > > umass0: CBI reset failed, TIMEOUT > > > umass0: CBI bulk-in stall clear failed, TIMEOUT > > > umass0: CBI bulk-out stall clear failed, TIMEOUT > > > > So you were able to get it working by adding "options DA_OLD_QUIRKS"? > > I didn't test that and currently can't access it. > What I did is change sys/cam/scsi/scsi_da.c as follows: > --- scsi_da.c.orig Thu Aug 14 10:01:20 2003 > +++ scsi_da.c Fri Aug 22 21:46:05 2003 > @@ -240,6 +240,7 @@ > +#endif > { > /* > * Sony Memory Stick adapter MSAC-US1 and > @@ -257,6 +258,7 @@ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "CLIE*", "*"}, > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > }, > +#ifdef DA_OLD_QUIRKS So you re-enabled it for both the Memory Stick and CLIE. Can you please do "camcontrol inquiry da0" with it working and report usbdevs -v and the above dmesg for it failing using a PR? I need this to provide a history so in the future we remember WHY it was re-enabled. Thanks, Nate