Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 11:30:16 -0400
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-usb@freebsd.org
Subject:   ehci cause my umass0 to hang at boot, no ehci kills my mouse...
Message-ID:  <200505221130.16392.nb_root@videotron.ca>

next in thread | raw e-mail | index | archive | help
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: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
<snip>
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfb600000-0xfb6000ff irq 21 at=
=20
devic
ehci0: Reserved 0x100 bytes for rid 0x10 type 3 at 0xfb600000
ehci0: [GIANT-LOCKED]
<snip>
umass0: VIA Technologies Inc. Mitsumi multi cardreader, rev 2.00/0.03, addr=
 2
umass0:0:0:-1: Attached to scbus0
<snip>
(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: <VIA 83C572 USB controller> port 0xa000-0xa01f irq 11 at device 16.0=
 on=20
pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 11 at device 16.1=
 on=20
pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 10 at device 16.2=
 on=20
pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 10 at device 16.3=
 on=20
pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> 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: <serial bus, USB> at device 16.4 (no driver attached)
<snip>
umass0: VIA Technologies Inc. Mitsumi multi cardreader, rev 2.00/0.03, addr=
 2
umass0:0:0:-1: Attached to scbus0
<snip>
(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:
<HL-DT-ST DVDRAM GSA-4163B A104>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505221130.16392.nb_root>