From owner-freebsd-questions@FreeBSD.ORG Mon Jun 11 17:31:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B85F91065704 for ; Mon, 11 Jun 2012 17:31:54 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3E76F8FC21 for ; Mon, 11 Jun 2012 17:31:54 +0000 (UTC) Received: by werg1 with SMTP id g1so2848815wer.13 for ; Mon, 11 Jun 2012 10:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jEIhgiC9jWpRKUzlx5v3Mqmbk4L7fatDpH6M2GaDxkc=; b=HHUFPIi5RP5fQMv095eptRXQqkqHbZ/b1mIJ/UWKIYDEXLpHoxdvXU3pSxkutwz5I2 VbJFCpMnWhGZ5iBmo4QOPVme7rzYx6Y+JwxdNhdYumEgtNkDRpFtV3+Ss4MmvEuVAN1D zICLBd2QPI2Dg+a/sBfQMIaNqFCuDV6k5ApS1fZx+Q/cSP1ypPufyVmZEvrFs/yKCSmZ ozgibgNzB5DNU8MJlX/yVYUjWwTLV3soCT8SDok4r3XXEQBC+S3y2KB4d/ytTwLjrAM/ vDY64pumt2HpZebrqNBD44sXZ1ikST1XUiHCVDbwmEuS/W45NkbMepA1WWMoAIIy5ezo wBsQ== MIME-Version: 1.0 Received: by 10.180.83.196 with SMTP id s4mr22600249wiy.15.1339435912944; Mon, 11 Jun 2012 10:31:52 -0700 (PDT) Received: by 10.216.138.220 with HTTP; Mon, 11 Jun 2012 10:31:52 -0700 (PDT) In-Reply-To: <201206110836.q5B8afiG036817@fire.js.berklix.net> References: <201206110836.q5B8afiG036817@fire.js.berklix.net> Date: Mon, 11 Jun 2012 10:31:52 -0700 Message-ID: From: Waitman Gobble To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: USB 3.0 delay in 'detecting' attached drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 17:31:55 -0000 On Mon, Jun 11, 2012 at 1:36 AM, Julian H. Stacey wrote: > Waitman Gobble wrote: > > On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey > wrote: > > > > > Waitman Gobble wrote: > > > > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey > > > wrote: > > > > > > > > > Waitman Gobble wrote: > > > > > > Hi, > > > > > > > > > > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. > When I > > > > > plug > > > > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 > > > seconds > > > > > for > > > > > > the drive to show up, on the USB 2.0 port it's instantly. I > haven't > > > used > > > > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or > maybe I > > > need > > > > > to > > > > > > reconfigure something or look at a different kernel config. > > > > > > > > > > Might be a marginal power issue. > > > > > USB 3 devices are allowed to consume 1.0 Amps. > > > > > USB2 ports only need provide 0.5. > > > > > > > > > > I have a tower wont recognise my USB disc on its USB2 ports. > > > > > On my new PCI express card in same tower, it comes up quickly. > > > > > > > > > > Cheers, > > > > > Julian > > > > > > > Thanks. > > > > > > > > Not sure if there's anything I can do about that. It's a new HP dv6 > > > laptop > > > > which according to box was mfg in May 2012... I would assume hardware > > > would > > > > be designed and put together properly. :) > > > > > > Sounds new enough :-) > > > > > > My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come > > > up fast enough, not noticed problems, not specificaly timed it though. > > > > > > Try external power if you have a socket on disk box ? > > > > > > Try disk on another known good FreeBSD USB3 card on a tower (my card > cost > > > 30 Euro BTW) > > > > > > Or try a power doubler cable (connected via a female to female > > > adapter, which Ive never seen on sale, I made my own by cutting up > > > a dead mainboard), to the USB 3 male to male cable. (for any who > > > dont know, cant omit that cable as USB3 socket on lapop size drives > > > is a different shape, flater, wider. > > > > > > I wonder if it might be taking time dropping back to USB2 speed. > > > if eg you don't have xhci in kernel ? > > > > > > I have all of > > > config -x/boot/kernel/kernel | grep hci > > > device uhci > > > device ohci > > > device xhci > > > device ehci > > > I just havent taken some out yet. > > > > > > Cheers, > > > Julian > > > I believe it uses ohci for usb 2.0, > > I doubt that. > > > xhci for 3.0, > > Yes > > > ehci for 1.0 > > No > > > Reading manuals: > ehci : for a controller chip that Only does USB 2.0, not 1.0 > ohci : OHCI v1.0 USB1 > uhci : UHCI v1.1 USB1 > xhci : USB 1.0, 2.0 and 3.0 > > > (which I > > suppose might be connected to some device internally even if you do not > > have 1.0 port?) > > > > I originally built this system on a different machine, with different > > hardware, but it really shouldn't make a different AFAIK. > > .. But I did just csup and rebuild everything on the laptop... i needed > to > > build some devices into the kernel anyhow, and NOW the usb 3.0 connect > is > > instantly, there is now no 70 second delay. > > Good. BTW I'd not considered you might be seeing something on current, > as this questions@ was originaly created for people new to FreeBSD > Machine my end was 8.3-RELEASE. The current@ list would know if xhci > was problematic. > > > I'd have to check, maybe there > > was a change in xhci between June 2 and today which could have caused the > > issue. Or it was just a 'weird harold' event, for some reason it just > felt > > like sitting there a minute. > > > > Thanks for your help, > > :-) > > Cheers, > Julian > -- > Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich > http://berklix.com > Reply below not above, cumulative like a play script, & indent with "> ". > Format: Plain text. Not HTML, multipart/alternative, base64, > quoted-printable. > Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ > Hi, thanks - good point. maybe even freebsd-usb group would be better. i'll see if it happens again and post in there. Waitman