From owner-freebsd-current@FreeBSD.ORG Sat Nov 8 22:42:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86A721065674; Sat, 8 Nov 2008 22:42:08 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id 15D038FC1B; Sat, 8 Nov 2008 22:42:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1322553rne.12 for ; Sat, 08 Nov 2008 14:42:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RkmcBCyk7gdC4J3Jro27fPKnYHII/9OwDXFDVRXU374=; b=BZG0ua4+lZN3p7arKTed5zaz0ZEoQQ41x51kMBUfRa75zlNSZV67d+jnFc+jUIkZVb m6QCcX/91zrcNHXV7jGbsL8pQUinHRBUpFRQzqGT6hFG0FDqqdOOwPBpMsMBlGyWQmkk xfeJJAPivnbvqibtSMOIw9bZMv3zlE6jhCCWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dXJkIOvhKijUVFrTZv4pzXG+cqvWHwvvGjnuPNEEf0m1HMGKQL2cJBUi0fkdu3kGLR c96PqxPQlMLJ7YQqo31wohm7yeQhtPPwhAF9+siVeBN02+lJESdRhv2ZobXZwAHrMnwc jcmL3GJXgN1UK9UibzLIR60L247j3stlSySnQ= Received: by 10.64.251.17 with SMTP id y17mr5383015qbh.9.1226184126890; Sat, 08 Nov 2008 14:42:06 -0800 (PST) Received: by 10.65.216.9 with HTTP; Sat, 8 Nov 2008 14:42:06 -0800 (PST) Message-ID: <3a142e750811081442kc746a41j41d3d46e6688033f@mail.gmail.com> Date: Sat, 8 Nov 2008 23:42:06 +0100 From: "Paul B. Mahol" To: "Hans Petter Selasky" In-Reply-To: <200811072236.38267.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> <200811072236.38267.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 22:42:08 -0000 On 11/7/08, Hans Petter Selasky wrote: > On Friday 07 November 2008, Paul B. Mahol wrote: >> On 11/7/08, M. Warner Losh wrote: > >> > : > After some time it will appear but will start attaching and >> > : > dettaching all the time: > > How quick is this happening? There has been some changes to the > sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding > to events. ~3 seconds. I got also this messages: uhci1: LegSup = 0x2f00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=0000, sts=0020, intr=0000, frnum=0000, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x00000001 e_next=0x05a7dd00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=0000, sts=0020, intr=0000, frnum=0000, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x00000001 e_next=0x05a7dd00 Doesnt looks like hub is source of fault, one from perforce with 152460 comitt is not available in CURRENT and with latest version of usb2_hub.c from perforce problem is still there. > Maybe you can get the date of that file from the build where it works and > the > build where it doesn't work, and I will check the differences. Last time I tested usb2 from svn was before huge modularization.