From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 13:14:53 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5209437B401 for ; Mon, 11 Aug 2003 13:14:53 -0700 (PDT) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9243F43F75 for ; Mon, 11 Aug 2003 13:14:52 -0700 (PDT) (envelope-from craig@xfoil.gank.org) Received: from localhost (ion.gank.org [198.78.66.164]) by ion.gank.org (GankMail) with ESMTP id F119A2D17D; Mon, 11 Aug 2003 15:14:51 -0500 (CDT) Received: from ion.gank.org ([198.78.66.164]) by localhost (ion.gank.org [198.78.66.164]) (amavisd-new, port 10024) with LMTP id 40550-05; Mon, 11 Aug 2003 15:14:51 -0500 (CDT) Received: from owen1492.uf.corelab.com (pix.corelab.com [12.45.169.2]) by ion.gank.org (GankMail) with ESMTP id 192FC2C764; Mon, 11 Aug 2003 15:14:51 -0500 (CDT) From: Craig Boston To: Joe Marcus Clarke , current@freebsd.org Date: Mon, 11 Aug 2003 15:14:47 -0500 User-Agent: KMail/1.5.3 References: <1060617873.788.18.camel@gyros> <200308111126.38921.craig@xfoil.gank.org> In-Reply-To: <200308111126.38921.craig@xfoil.gank.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308111514.47459.craig@xfoil.gank.org> Subject: Re: Problem using USB 2.0 device under -CURRENT (long) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 11 Aug 2003 20:14:53 -0000 As a data point, here's what happens with mine (this is on current cvsupped this morning). Lots of output that probably isn't very useful. I'm pretty baffled as to why the controller suddenly decides that it doesn't want to work. Guess it's time to try to find the EHCI spec... usb_event_thread: woke up usb_discover ehci_root_ctrl_control type=0xa3 request=00 ehci_root_ctrl_control type=0xa3 request=00 ehci_root_ctrl_control type=0xa3 request=00 ehci_root_ctrl_control type=0xa3 request=00 ehci_root_ctrl_control type=0x23 request=01 ehci_root_ctrl_control type=0x23 request=03 ehci_root_ctrl_transfer: reset port 4 ehci after reset, status=0x00001005 ehci port 4 reset, status = 0x00001005 usbd_reset_port: port 4 reset done, error=NORMAL_COMPLETION ehci_root_ctrl_control type=0xa3 request=00 ehci_root_ctrl_control type=0x23 request=01 ehci_root_ctrl_control type=0xa3 request=00 usbd_new_device bus=0xc2da4800 port=4 depth=1 speed=3 usbd_setup_pipe: dev=0xc301e680 iface=0 ep=0xc301e6a4 pipe=0xc301e684 ehci_open: pipe=0xc301e600, addr=0, endpt=0 (1) ehci_add_qh: QH(0xc2d9af80) at 0x0028ef80: link=0x0028efc2 endp=0x80082000 addr=0x00 inact=0 endpt=0 eps=2 dtc=0 hrecl=0 mpl=0x8 ctl=0 nrl=8 endphub=0x40000000 smask=0x00 cmask=0x00 huba=0x00 port=0 mult=1 curqtd=0x00000001 Overlay qTD: next=0x00000001 altnext=0x00000001 status=0x00000000: toggle=0 bytes=0x0 ioc=0 c_page=0x0 cerr=0 pid=0 stat=0x0 buffer[0]=0x00000000 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 ehci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0 ehci_alloc_sqtd: allocating chunk usb_allocmem: large alloc 4096 ehci_alloc_sqtd_chain: start len=8 ehci_alloc_sqtd_chain: dataphys=0x002c0e80 dataphyslastpage=0x002c0000 len=8 cur len=8 ehci_device_request: QH(0xc2d9af80) at 0x0028ef80: link=0x0028efc2 endp=0x80082000 addr=0x00 inact=0 endpt=0 eps=2 dtc=0 hrecl=0 mpl=0x8 ctl=0 nrl=8 endphub=0x40000000 smask=0x00 cmask=0x00 huba=0x00 port=0 mult=1 curqtd=0x00000001 Overlay qTD: next=0x00000001 altnext=0x00000001 status=0x00000000: toggle=0 bytes=0x0 ioc=0 c_page=0x0 cerr=0 pid=0 stat=0x0 buffer[0]=0x00000000 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 QTD(0xc2fd7fc0) at 0x0b86bfc0: next=0x0b86bf40<> altnext=0x0b86bf40<> status=0x00080e80: toggle=0 bytes=0x8 ioc=0 c_page=0x0 cerr=3 pid=2 stat=0x80 buffer[0]=0x002c0ec0 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 QTD(0xc2fd7f40) at 0x0b86bf40: next=0x0b86bf80<> altnext=0x0b86bf80<> status=0x00088d80: toggle=0 bytes=0x8 ioc=1 c_page=0x0 cerr=3 pid=1 stat=0x80 buffer[0]=0x002c0e80 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 QTD(0xc2fd7f80) at 0x0b86bf80: next=0x00000001 altnext=0x00000001 status=0x00008c80: toggle=0 bytes=0x0 ioc=1 c_page=0x0 cerr=3 pid=0 stat=0x80 buffer[0]=0x00000000 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 usb3: unrecoverable error, controller halted usb3: blocking intrs 0x10 ehci_pcd_able: on=1 ehci_timeout: exfer=0xc2d49600 usbd_dump_pipe: pipe=0xc301e600 usbd_dump_iface: iface=0 usbd_dump_device: dev=0xc301e680 bus=0xc2da4800 default_pipe=0xc301e600 address=0 config=0 depth=1 speed=3 self_powered=0 power=0 langid=-1 usbd_dump_endpoint: endp=0xc301e6a4 edesc=0xc301e6ac refcnt=1 bEndpointAddress=0x00 (usbd_dump_pipe:) refcnt=1 running=1 aborting=0 intrxfer=0, repeat=0, interval=-1 usb_add_task: task=0xc2d4966c usb_task_thread: woke up task=0xc2d4966c ehci_timeout_task: xfer=0xc2d49600 ehci_abort_xfer: xfer=0xc2d49600 pipe=0xc301e600 ehci_sync_hc: enter ehci_sync_hc: cmd=0x00080060 sts=0x0000b000 ehci_sync_hc: cmd=0x00080060 sts=0x0000b000 ehci_sync_hc: exit ehci_check_intr: ex=0xc2d49600 ehci_abort_xfer: no hit ehci_ctrl_done: length=0 ehci_device_control type=0x80, request=0x06, wValue=0x0100, wIndex=0x0000 len=8, addr=0, endpt=0 ehci_alloc_sqtd_chain: start len=8 ehci_alloc_sqtd_chain: dataphys=0x002c0e80 dataphyslastpage=0x002c0000 len=8 cur len=8 ehci_device_request: QH(0xc2d9af80) at 0x0028ef80: link=0x0028efc2 endp=0x80082000 addr=0x00 inact=0 endpt=0 eps=2 dtc=0 hrecl=0 mpl=0x8 ctl=0 nrl=8 endphub=0x40000000 smask=0x00 cmask=0x00 huba=0x00 port=0 mult=1 curqtd=0x00000000<> Overlay qTD: next=0x0b86bfc0<> altnext=0x00000001 status=0x00000040: toggle=0 bytes=0x0 ioc=0 c_page=0x0 cerr=0 pid=0 stat=0x40 buffer[0]=0x00000000 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 QTD(0xc2fd7f80) at 0x0b86bf80: next=0x0b86bfc0<> altnext=0x0b86bfc0<> status=0x00080e80: toggle=0 bytes=0x8 ioc=0 c_page=0x0 cerr=3 pid=2 stat=0x80 buffer[0]=0x002c0ec0 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 QTD(0xc2fd7fc0) at 0x0b86bfc0: next=0x0b86bf40<> altnext=0x0b86bf40<> status=0x00088d80: toggle=0 bytes=0x8 ioc=1 c_page=0x0 cerr=3 pid=1 stat=0x80 buffer[0]=0x002c0e80 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000 QTD(0xc2fd7f40) at 0x0b86bf40: next=0x00000001 altnext=0x00000001 status=0x00008c80: toggle=0 bytes=0x0 ioc=1 c_page=0x0 cerr=3 pid=0 stat=0x80 buffer[0]=0x00000000 buffer[1]=0x00000000 buffer[2]=0x00000000 buffer[3]=0x00000000 buffer[4]=0x00000000