Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2013 12:06:27 +0200
From:      =?utf-8?Q?Hans_Petter_Selasky?= <hans.petter.selasky@bitfrost.no>
To:        =?utf-8?Q?Velcro_Leaf?= <velcroleaf@rocketmail.com>,  =?utf-8?Q?freebsd-usb=40FreeBSD=2Eorg?= <freebsd-usb@FreeBSD.org>
Subject:   RE: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't
Message-ID:  <zarafa.51e51b23.11cf.064f927970ce1f0b@mail.lockless.no>
In-Reply-To: <1373965992.34006.YahooMailNeo@web164501.mail.gq1.yahoo.com>
References:  <201304211610.r3LGA21Y061796@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,



The stalled messages has nothing to do with the mass storage part. It simply indicates that some error happened during a USB control request. The USB stack will re-try this particular message, so it is not directly dangerous.



After many years in the USB game I feel a need to emphasize again, that many of the mass storage related errors reported here are not a USB HOST problem. There is a USB standard defined at www.usb.org, that we are trying to comply to. And also there is a SCSI standard which we are trying to follow. Unfortunately, like with many standards, there are some areas which are not covered properly, which leave room for different implementations.



However, please continue to report these issues at this list when you hit them, but also write to the manufacturer of your device and complain. The FreeBSD`s USB stack has been analyzed into scrunity by at least one big company, which I suspect is going to use it in a game's console, and nobody so far gave me feedback that there is something really bad in there going to freak out your computer!



I`ve been thinking that perhaps I should start selling certified USB hardware that doesn`t have all of these caveats you guys report all the time :-) Would you buy stuff if I opened up an USB shop?



--HPS



-----Original message-----

> From:Velcro Leaf <velcroleaf@rocketmail.com <mailto:velcroleaf@rocketmail.com> >

> Sent: Tuesday 16th July 2013 11:13

> To: Hans Petter Selasky <hans.petter.selasky@bitfrost.no <mailto:hans.petter.selasky@bitfrost.no> >; freebsd-usb@FreeBSD.org <mailto:freebsd-usb@FreeBSD.org> 

> Subject: Re: usb/177895: similar 1TB Western Digital &quot;My Passports&quot; - some load, some don't

> 

> Got a new one of these with the same model number as the previous versions, but still different behavior this time.

> 

> When you connect it, it says this:

> 

> usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED

> ugen1.2: <Western Digital> at usbus1

> umass0: <Western Digital My Passport 07A8, class 0/0, rev 2.10/10.33, addr 2> on usbus1

> umass0:  SCSI over Bulk-Only; quirks = 0x0000

> umass0:3:0:-1: Attached to scbus3

> da0 at umass-sim0 bus 0 scbus3 target 0 lun 0

> da0: <WD My Passport 07A8 1033> Fixed Direct Access SCSI-6 device 

> da0: 1.000MB/s transfers

> da0: 953837MB (1953458176 512 byte sectors: 255H 63S/T 121597C)

> ses0 at umass-sim0 bus 0 scbus3 target 0 lun 1

> ses0: <WD SES Device 1033> Fixed Enclosure Services SCSI-6 device 

> ses0: 1.000MB/s transfers

> ses0: SCSI-3 SES Device

> 

> 

> The USB_ERR_STALLED thing is new.

> 

> The drive seems to work on some machines, but on at least one machine, nothing at all happens when you plug it in.  (Well, no messages, anyway.)

> 

> 

> I've updated to 9.1-RELEASE-p4 but I don't think that has included any of the potential USB fixes, such as the patch here: http://www.freebsd.org/cgi/query-pr.cgi?pr=178771 <http://www.freebsd.org/cgi/query-pr.cgi?pr=178771>; 

> 

> Any tests I can run to try to get this one figured out?

> 

> I can't work out a reasonable backup plan when every third drive (all of which have the same model number) doesn't function properly with FreeBSD.

> 

> 




From owner-freebsd-usb@FreeBSD.ORG  Tue Jul 16 10:14:40 2013
Return-Path: <owner-freebsd-usb@FreeBSD.ORG>
Delivered-To: freebsd-usb@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 89666E54;
 Tue, 16 Jul 2013 10:14:40 +0000 (UTC)
 (envelope-from adrian.chadd@gmail.com)
Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com
 [IPv6:2a00:1450:400c:c00::229])
 by mx1.freebsd.org (Postfix) with ESMTP id CF051BF0;
 Tue, 16 Jul 2013 10:14:39 +0000 (UTC)
Received: by mail-wg0-f41.google.com with SMTP id y10so3474611wgg.4
 for <multiple recipients>; Tue, 16 Jul 2013 03:14:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s 120113;
 h=mime-version:sender:in-reply-to:references:date
 :x-google-sender-auth:message-id:subject:from:to:cc:content-type
 :content-transfer-encoding;
 bh=jxMgEGD3jpjEh3dF5u3HQohdXIgP+2VpYW6izXmXgdY=;
 b=z2JJ2X9uYeq/6jgB7lKDbkAMIrjDtHWn1ZA/ln7DGRU9U8SBB3D3zquaqaK23325+j
 vnBZt1ZPf3PMXTPtx3CZUhCrjCZXwVnGk5lcpuLaMh84FSzLB7rVTqGzeOl9PrvdnyVc
 rdejkRCZ/4OVyeQ274UUMDRbU9WA3AgsvZerYDAfdru4w3UFNvJWHMYPD0O/xSbcFENY
 Xr4hb1/+Pl3BaWsPQ+wHY7HeMkVHYmUEeiGE4xb3pnhMhFok6W22dN4hhlc0xqZ0sRJ9
 Qx93dXGEZsMETRAZriUZZF+Kh+gb/HAP5EC3pzmrcmV/eJWHKIDA0p1T+HgkZq7jx+Ta
 ILcw=MIME-Version: 1.0
X-Received: by 10.180.39.212 with SMTP id r20mr587578wik.30.1373969679048;
 Tue, 16 Jul 2013 03:14:39 -0700 (PDT)
Sender: adrian.chadd@gmail.com
Received: by 10.217.94.132 with HTTP; Tue, 16 Jul 2013 03:14:38 -0700 (PDT)
In-Reply-To: <CAJ-Vmok73X33W4EtyAi-pKXCg4CGCPyNYdYOFzMsvRGSHLgW7A@mail.gmail.com>
References: <20130621220013.X55167@sola.nimnet.asn.au>
 <CAJ-Vmo=W3GW9FzLrTPePhJo_-KY_U--YWCCqA+8aWx8HbLkT+g@mail.gmail.com>
 <20130626152833.M78748@sola.nimnet.asn.au>
 <CAJ-Vmo=rhm-9mnRcnwWO1ANOZMNpiFXVkHNTVJ+aeJzpbGgF-g@mail.gmail.com>
 <20130626195154.GK88288@e-new.0x20.net>
 <CAJ-VmokEf2_EKKJMB=yqH1pimdNvdmaKvh+3-jJu_6vt5CUakA@mail.gmail.com>
 <20130627213331.W26984@sola.nimnet.asn.au>
 <CAJ-VmomUGm7CMpe5k=x4J8g5X9hzP-wV2OEhLf8ySbWx-THJLA@mail.gmail.com>
 <20130630233640.Y23789@sola.nimnet.asn.au>
 <CAJ-Vmokh=yAa_NsoE5ud2CdD0gMAiMCthwJ_DqW23_hnav7-Jw@mail.gmail.com>
 <20130707204957.GD88288@e-new.0x20.net>
 <CAJ-Vmo=zXxg5q9c3N1Eeqwh3HiedGpAmx2LfNUk4aBk+j=wEEA@mail.gmail.com>
 <20130708140804.R26496@sola.nimnet.asn.au>
 <CAJ-VmomUejy0w7ucqn3OTPHD3AaMTifJ0zh4N+yEOyjqkAndhw@mail.gmail.com>
 <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net>
 <CAJ-Vmok73X33W4EtyAi-pKXCg4CGCPyNYdYOFzMsvRGSHLgW7A@mail.gmail.com>
Date: Tue, 16 Jul 2013 03:14:38 -0700
X-Google-Sender-Auth: pPk_Q1s0OsWw-kuZe_31CIRx5wU
Message-ID: <CAJ-VmonE9mCHx+jJro+xTC9eDWcXW5s6wWUx7ou=5o6Aidfi7A@mail.gmail.com>
Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume
From: Adrian Chadd <adrian@freebsd.org>
To: Taku YAMAMOTO <taku@tackymt.homeip.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org,
 Ian Smith <smithi@nimnet.asn.au>, freebsd-usb@freebsd.org
X-BeenThere: freebsd-usb@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: FreeBSD support for USB <freebsd-usb.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-usb>;
List-Post: <mailto:freebsd-usb@freebsd.org>
List-Help: <mailto:freebsd-usb-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-usb>,
 <mailto:freebsd-usb-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jul 2013 10:14:40 -0000

Nope, no such joy.

What else can I try?


-adrian

On 16 July 2013 02:16, Adrian Chadd <adrian@freebsd.org> wrote:
> I'll try it out soon, thanks!
>
>
>
> -adrian
>
> On 15 July 2013 14:35, Taku YAMAMOTO <taku@tackymt.homeip.net> wrote:
>> This reminds me of my local patch which I wrote and forgot about deep in
>> the git :)
>>
>> This hack was required to have working USB ports on X61 after resume,
>> but I'm not sure whether it's still required because I don't have X61 handy
>> anymore...
>>
>>
>> On Mon, 8 Jul 2013 11:09:20 -0700
>> Adrian Chadd <adrian@freebsd.org> wrote:
>>
>>> On 7 July 2013 22:00, Ian Smith <smithi@nimnet.asn.au> wrote:
>>>
>>> > Checking one more point .. do the USB ports come up ok if you originally
>>> > boot with nothing plugged in?  If so (or if not), does that local APIC
>>>
>>> Yes.
>>>
>>> > error message appear the same then too?
>>>
>>> >
>>>
>>> No
>>>
>>>
>>> -adrian
>>> _______________________________________________
>>> freebsd-acpi@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
>>> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"
>>
>>
>> --
>> -|-__   山本 拓 / YAMAMOTO, Taku
>>  | __ <     <taku@tackymt.homeip.net>
>>
>>       - A chicken is an egg's way of producing more eggs. -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zarafa.51e51b23.11cf.064f927970ce1f0b>