4.10 USB problems

Gregor Mosheh stigmata_blackangel at yahoo.com
Wed Jan 5 18:17:07 PST 2005

I've been using 4.10 and the EHCI driver, for an
external hard drive, for several months and just
recently a USB-related problem has started.

When the drive is plugged in it is properly recognized
by umass, etc. However, attempting to mount the drive
results in "/kernel: umass0: BBB reset failed,
TIMEOUT" being logged to dmesg, and "mount:
/dev/da0s1e: Device not configured"

Someone suggested that perhaps the problem is having
both ehci and uhci in the kernel. This seemed
unlikely, since they've both been there all along and
it worked. But I was wondering about the need for both
the UHCI driver and the EHCI driver.

(see dmesg output below) On my system, the startup
shows usb0 through usb3 as being uhci, and usb4 as
uhci. I think it also shows usb0-3 being grabbed be
EHCI, am I reading that right? Still, I have had to
run usbd with "-f /dev/usb4" for it to notice the hard
drives when they're attached.

FWIW, The usbd.conf is the standard-issue one.

Is it possible that some USB ports are being grabbed
by UHCI and some are being grabbed by EHCI? Would
rebuilding the kernel without UHCI cause all of the
ports to be EHCI? The ports and harddrives are all
USB2 anyway, so USB1 compatibility is not necessary.

uhci0: <Intel 82801EB (ICH5) USB controller USB-A>
port 0xff80-0xff9f irq 11 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B>
port 0xff60-0xff7f irq 10 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C>
port 0xff40-0xff5f irq 9 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D>
port 0xff20-0xff3f irq 11 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem
0xffa80800-0xffa80bff irq 5 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1
usb2 usb3
usb4: <EHCI (generic) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev
2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered

Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 

More information about the freebsd-questions mailing list