From owner-freebsd-usb@FreeBSD.ORG Sun May 22 15:30:18 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98FD016A41C for ; Sun, 22 May 2005 15:30:18 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58EF343D1D for ; Sun, 22 May 2005 15:30:17 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR010.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IGW00GHFDQGEV@VL-MO-MR010.ip.videotron.ca> for freebsd-usb@freebsd.org; Sun, 22 May 2005 11:30:17 -0400 (EDT) Date: Sun, 22 May 2005 11:30:16 -0400 From: Nicolas Blais To: freebsd-usb@freebsd.org Message-id: <200505221130.16392.nb_root@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-disposition: inline User-Agent: KMail/1.8 Subject: ehci cause my umass0 to hang at boot, no ehci kills my mouse... X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 15:30:18 -0000 I have a Mitsumi 7/1 multi-card reader with integrated floppy which works=20 great in XP. In FreeBSD 6-CURRENT, the floppy part works fine (it's a=20 seperate cable) but the memory card part causes a 5 minute delay at boot=20 (during probe) and ends up not working at all. With ehci enabled in my kern= el,=20 I get this at boot: Here's the =A0snipped dmesg -v (with ehci enabled in kernel): uhci0: port 0x9800-0x981f irq 21 at device 16.0= on=20 p uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x9800 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 ehci0: mem 0xfb600000-0xfb6000ff irq 21 at= =20 devic ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfb600000 ehci0: [GIANT-LOCKED] umass0: VIA Technologies Inc. Mitsumi multi cardreader, rev 2.00/0.03, addr= 2 umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exausted At that probe part, there is about a minute between each tries which is qui= te=20 long downtime. When I remove ehci from my kernel, boot is very fast, no longer hangs at pr= obe=20 and umass0 is still detected: uhci0: port 0xa000-0xa01f irq 11 at device 16.0= on=20 pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xa400-0xa41f irq 11 at device 16.1= on=20 pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xa800-0xa81f irq 10 at device 16.2= on=20 pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xb000-0xb01f irq 10 at device 16.3= on=20 pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 16.4 (no driver attached) umass0: VIA Technologies Inc. Mitsumi multi cardreader, rev 2.00/0.03, addr= 2 umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): Retrying Command (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR (probe0:umass-sim0:0:0:0): error 5 (probe0:umass-sim0:0:0:0): Retries Exausted And yet no 5 minute delay during the probe. Unfortunatly, my mouse is not detected at boot and doesn't work unless I=20 unplug it and replug it, then it will work (bug in uhci?).=20 Also, although my cardreader is still detected, I can't seem to make /dev/d= a0=20 whether I : camcontrol rescan 0 camcontrol rescan 0:0:1 (to 4) and camcontrol devlist shows my dvdr: at scbus2 target 0 lun 0 (pass0,cd0) Please help, Nicolas. =2D-=20 =46reeBSD 6.0-CURRENT #0: Sun May 22 10:51:41 EDT 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20