From owner-freebsd-usb@FreeBSD.ORG Wed May 22 16:10:37 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C5EB2D2B for ; Wed, 22 May 2013 16:10:37 +0000 (UTC) (envelope-from paul@semiocast.com) Received: from pluto.semiocast.net (unknown [IPv6:2a01:e0b:20cf::]) by mx1.freebsd.org (Postfix) with ESMTP id 5E442123 for ; Wed, 22 May 2013 16:10:37 +0000 (UTC) Received: from [10.10.10.23] (87-231-1-249.rev.numericable.fr [87.231.1.249]) by pluto.semiocast.net (Postfix) with ESMTPSA id D338B24CE for ; Wed, 22 May 2013 16:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=semiocast.com; s=pluto; t=1369239005; bh=GX6Mn72B1jrqSECBaJWWr+EplkNKxJt6RDq/N3SuwR4=; h=From:Subject:Date:To; b=MmVD503k0/Kmq21DVnIknJHC0ijsJ+Qz9KWrPtaciOtnuDUtwJ/tyygdy36bj7rhw ngafiVp0t4CQ9x57Z97PZyeiJy98QZtUtdh/xyzmRdwnJc6Ude4Bb8Qlx5iyzAXskH uxcpaF5AFDrzzYKINm6e5CDfs0lUAiynHUcE38Jc= From: Paul Guyot Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Two VIA xhci cards, only xhci0 works Date: Wed, 22 May 2013 18:10:08 +0200 Message-Id: To: freebsd-usb@freebsd.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 16:10:37 -0000 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@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@pci0:5:0:0: class=3D0x0c0330 card=3D0x34321106 = chip=3D0x34321106 rev=3D0x03 hdr=3D0x00 > vendor =3D 'VIA Technologies, Inc.' > class =3D serial bus > subclass =3D USB > xhci1@pci0:6:0:0: class=3D0x0c0330 card=3D0x34321106 = chip=3D0x34321106 rev=3D0x03 hdr=3D0x00 > vendor =3D 'VIA Technologies, Inc.' > class =3D serial bus > subclass =3D USB The cards are identical. Here is an excerpt from /var/log/messages : > May 22 10:56:52 megaptera kernel: pcib5: at = device 9.0 on pci0 > May 22 10:56:52 megaptera kernel: pci5: on pcib5 > May 22 10:56:52 megaptera kernel: xhci0: 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: at = device 10.0 on pci0 > May 22 10:56:52 megaptera kernel: pci6: on pcib6 > May 22 10:56:52 megaptera kernel: xhci1: 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: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER= (5.0Gbps) pwr=3DSAVE > ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DSUPER= (5.0Gbps) pwr=3DSAVE > ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DSAVE > ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DSAVE > ugen4.1: at usbus4, cfg=3D0 md=3DHOST spd=3DHIGH = (480Mbps) pwr=3DSAVE > ugen5.1: at usbus5, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DSAVE > ugen6.1: at usbus6, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DSAVE > ugen7.1: at usbus7, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DSAVE > ugen8.1: at usbus8, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DSAVE > ugen9.1: at usbus9, cfg=3D0 md=3DHOST spd=3DHIGH = (480Mbps) pwr=3DSAVE > ugen0.2: at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DSAVE > ugen4.2: at usbus4, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DSAVE > ugen0.3: at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DON > ugen0.4: at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DON > ugen0.5: at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DON > ugen0.6: at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DON 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 --=20 Semiocast http://semiocast.com/ +33.183627948 - 20 rue Lacaze, 75014 Paris