ehci cause my umass0 to hang at boot, no ehci kills my mouse...
Nicolas Blais
nb_root at videotron.ca
Sun May 22 15:30:18 GMT 2005
I have a Mitsumi 7/1 multi-card reader with integrated floppy which works
great in XP. In FreeBSD 6-CURRENT, the floppy part works fine (it's a
seperate cable) but the memory card part causes a 5 minute delay at boot
(during probe) and ends up not working at all. With ehci enabled in my kernel,
I get this at boot:
Here's the snipped dmesg -v (with ehci enabled in kernel):
uhci0: <VIA 83C572 USB controller> port 0x9800-0x981f irq 21 at device 16.0 on
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
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 quite
long downtime.
When I remove ehci from my kernel, boot is very fast, no longer hangs at probe
and umass0 is still detected:
uhci0: <VIA 83C572 USB controller> port 0xa000-0xa01f irq 11 at device 16.0 on
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
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
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
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
unplug it and replug it, then it will work (bug in uhci?).
Also, although my cardreader is still detected, I can't seem to make /dev/da0
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.
--
FreeBSD 6.0-CURRENT #0: Sun May 22 10:51:41 EDT 2005
root at clk01a:/usr/obj/usr/src/sys/CLK01A
More information about the freebsd-usb
mailing list