From nobody Mon Sep 27 17:00:22 2021 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 685C817D1587 for ; Mon, 27 Sep 2021 17:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HJ85f2Sc7z3v01 for ; Mon, 27 Sep 2021 17:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 35AD314C1F for ; Mon, 27 Sep 2021 17:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 18RH0MmR087485 for ; Mon, 27 Sep 2021 17:00:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18RH0MK1087484 for usb@FreeBSD.org; Mon, 27 Sep 2021 17:00:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 258057] muge(4) crashes with large tx batches Date: Mon, 27 Sep 2021 17:00:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dan.kotowski@a9development.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258057 --- Comment #20 from Dan Kotowski --- On a whim I attached it to another system I had and it came up at full spee= d! https://gist.github.com/7b3f21bbd71236ebd4aaafb500e7790f Notice that on the Honeycomb (aka hc and the system I'm focused on) we see muge0 come up with `bcdUSB =3D 0x0210` but on a SuperMicro Xeon system we s= ee `bcdUSB =3D 0x0310`. And you can even see it come up here with spd=3DSUPER: # devinfo -p muge0 muge0 uhub2 usbus0 xhci0 pci1 pcib1 acpi0 nexus0 # usbconfig -u 0 show_ifdrv ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5= .0Gbps) pwr=3DSAVE (0mA) ugen0.1.0: uhub2: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> ... ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.0G= bps) pwr=3DON (224mA) ugen0.5.0: muge0: What's odd is that the only difference between `dump_all_desc` on the Honey= comb and the known-working SuperMicro server is the root hub Manufacturer ID: 1c1 < ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER= (5.0Gbps) pwr=3DSAVE (0mA) --- > ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER = (5.0Gbps) pwr=3DSAVE (0mA) 13c13 < iManufacturer =3D 0x0001 --- > iManufacturer =3D 0x0001 <0x8086> However the actual device comes up with some extra stuff on the SuperMicro = (aka sm): $ diff hc/ugen0.2.dump_all_desc sm/ugen0.5.dump_all_desc 1c1 < ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480= Mbps) pwr=3DON (500mA) --- > ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.= 0Gbps) pwr=3DON (224mA) 5c5 < bcdUSB =3D 0x0210 --- > bcdUSB =3D 0x0310 9c9 < bMaxPacketSize0 =3D 0x0040 --- > bMaxPacketSize0 =3D 0x0009 22c22 < wTotalLength =3D 0x0027 --- > wTotalLength =3D 0x0039 27c27 < bMaxPower =3D 0x00fa --- > bMaxPower =3D 0x0070 45c45 < wMaxPacketSize =3D 0x0200 --- > wMaxPacketSize =3D 0x0400 49a50,58 > Additional Descriptor > > bLength =3D 0x06 > bDescriptorType =3D 0x30 > bDescriptorSubType =3D 0x07 > RAW dump: > 0x00 | 0x06, 0x30, 0x07, 0x00, 0x00, 0x00 > > 55c64 < wMaxPacketSize =3D 0x0200 --- > wMaxPacketSize =3D 0x0400 59a69,77 > Additional Descriptor > > bLength =3D 0x06 > bDescriptorType =3D 0x30 > bDescriptorSubType =3D 0x06 > RAW dump: > 0x00 | 0x06, 0x30, 0x06, 0x00, 0x00, 0x00 > > 66c84 < bInterval =3D 0x0004 --- > bInterval =3D 0x0006 68a87,94 > > Additional Descriptor > > bLength =3D 0x06 > bDescriptorType =3D 0x30 > bDescriptorSubType =3D 0x00 > RAW dump: > 0x00 | 0x06, 0x30, 0x00, 0x00, 0x04, 0x00 --=20 You are receiving this mail because: You are the assignee for the bug.=