Two VIA xhci cards, only xhci0 works
Paul Guyot
paul at semiocast.com
Wed May 22 16:10:37 UTC 2013
Hello,
On this server :
FreeBSD megaptera.semiocast.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r250855M: Tue May 21 15:14:41 UTC 2013 root at megaptera.semiocast.net:/usr/obj/usr/src/sys/GENERIC amd64
I do have two USB 3 cards handled by xhci driver and with VIA chipset.
> xhci0 at pci0:5:0:0: class=0x0c0330 card=0x34321106 chip=0x34321106 rev=0x03 hdr=0x00
> vendor = 'VIA Technologies, Inc.'
> class = serial bus
> subclass = USB
> xhci1 at pci0:6:0:0: class=0x0c0330 card=0x34321106 chip=0x34321106 rev=0x03 hdr=0x00
> vendor = 'VIA Technologies, Inc.'
> class = serial bus
> subclass = USB
The cards are identical. Here is an excerpt from /var/log/messages :
> May 22 10:56:52 megaptera kernel: pcib5: <ACPI PCI-PCI bridge> at device 9.0 on pci0
> May 22 10:56:52 megaptera kernel: pci5: <ACPI PCI bus> on pcib5
> May 22 10:56:52 megaptera kernel: xhci0: <XHCI (generic) USB 3.0 controller> mem 0xdf4ff000-0xdf4fffff irq 40 at device 0.0 on pci5
> May 22 10:56:52 megaptera kernel: xhci0: 32 byte context size.
> May 22 10:56:52 megaptera kernel: usbus0 on xhci0
> May 22 10:56:52 megaptera kernel: pcib6: <ACPI PCI-PCI bridge> at device 10.0 on pci0
> May 22 10:56:52 megaptera kernel: pci6: <ACPI PCI bus> on pcib6
> May 22 10:56:52 megaptera kernel: xhci1: <XHCI (generic) USB 3.0 controller> mem 0xdf5ff000-0xdf5fffff irq 41 at device 0.0 on pci6
> May 22 10:56:52 megaptera kernel: xhci1: 32 byte context size.
> May 22 10:56:52 megaptera kernel: usbus1 on xhci1
Card in bottom slot (PCI 5, xhci0) works properly. The card has 4 external ports and all four ports are currently used.
When I plug a device in card in top slot (PCI 6, now card xhci1) in either of the 4 external ports, nothing happens.
Both cards are new and seem to work. Indeed, previously only the card in top slot (PCI 6) was inserted and it worked properly. But when both cards are inserted, only xhci0 seem to work, as if xhci1 was conflicting with xhci0. There are two other (physical) PCI slots in this machine with other non-USB cards and they work properly. The motherboard also has plenty of USB 1.0 and 2.0 buses and the external ports work properly.
Here is the output of usbconfig :
> ugen0.1: <XHCI root HUB 0x1106> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE
> ugen1.1: <XHCI root HUB 0x1106> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE
> ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
> ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
> ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
> ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
> ugen6.1: <UHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
> ugen7.1: <UHCI root HUB Intel> at usbus7, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
> ugen8.1: <UHCI root HUB Intel> at usbus8, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
> ugen9.1: <EHCI root HUB Intel> at usbus9, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
> ugen0.2: <USB2.0 Hub vendor 0x2109> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
> ugen4.2: <product 0x2514 vendor 0x0424> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
> ugen0.3: <Ext HDD 1021 Western Digital> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
> ugen0.4: <Ext HDD 1021 Western Digital> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
> ugen0.5: <Ext HDD 1021 Western Digital> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
> ugen0.6: <Ext HDD 1021 Western Digital> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
I am confused about the lack of ugen1.2 in this output. Could that be relevant?
What can I do to debug this issue?
Regards,
Paul
--
Semiocast http://semiocast.com/
+33.183627948 - 20 rue Lacaze, 75014 Paris
More information about the freebsd-usb
mailing list