From owner-freebsd-usb@freebsd.org Sun Jul 8 21:00:23 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06B561030D9F for ; Sun, 8 Jul 2018 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 95FFB8AEAA for ; Sun, 8 Jul 2018 21:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 559181030D9D; Sun, 8 Jul 2018 21:00:22 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42A411030D9C for ; Sun, 8 Jul 2018 21:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D5D118AE9B for ; Sun, 8 Jul 2018 21:00:21 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2561019AB6 for ; Sun, 8 Jul 2018 21:00:21 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w68L0LtA032921 for ; Sun, 8 Jul 2018 21:00:21 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w68L0Lt6032917 for usb@FreeBSD.org; Sun, 8 Jul 2018 21:00:21 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201807082100.w68L0Lt6032917@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 8 Jul 2018 21:00:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2018 21:00:23 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F 1 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Thu Jul 12 07:27:27 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D649103BD24 for ; Thu, 12 Jul 2018 07:27:27 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC4CC8150E for ; Thu, 12 Jul 2018 07:27:26 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id E2BF71169E0 for ; Thu, 12 Jul 2018 07:27:25 +0000 (UTC) From: Stefan Bethke Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: USB problems on PC Engines APU2C4 Message-Id: Date: Thu, 12 Jul 2018 09:27:24 +0200 To: freebsd-usb@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 07:27:27 -0000 I=E2=80=99m having trouble using USB2 devices on the two USB3 ports on = the back of the APU2C4. I=E2=80=99m on 11.2-RELEASE. The APU2 also has two USB2 ports, but they=E2=80=99re only on a pin = header, and I=E2=80=99m waiting for a cable to try them to see if there = is a difference. First, I had trouble installing from: ugen0.2: at usbus0 umass0 on uhub1 umass0: on = usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x8100 umass0:2:0: Attached to scbus2 This is all that gets probed on most attempts to connect the stick. = Sometimes, it succeeds immediately, or after a couple of retries, like = this: ugen0.2: at usbus0 umass0 on uhub1 umass0: on = usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x8100 umass0:2:0: Attached to scbus2 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error (probe0:umass-sim0:0:0:0): Retrying command da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SCSI device da0: Serial Number 001CC0EC34F4BB6155F10168 da0: 40.000MB/s transfers da0: 15252MB (31236096 512 byte sectors) da0: quirks=3D0x2 On other machines, that stick works just fine. The other device I=E2=80=99m having trouble with is a Huawei E3272 LTE = stick. In it=E2=80=99s default mode, it shows up as a umass device; = using usb_modeswitch, it can be configured as a serial modem or an CDC = ethernet device. [root@apu2 ~]# lsusb Bus /dev/usb Device /dev/ugen0.2: ID 12d1:1f01 Huawei Technologies Co., = Ltd. E353/E3131 (Mass storage mode) Bus /dev/usb Device /dev/ugen1.2: ID 0438:7900 Advanced Micro Devices, = Inc.=20 Bus /dev/usb Device /dev/ugen0.1: ID 0000:0000 =20 Bus /dev/usb Device /dev/ugen1.1: ID 0000:0000 =20 It appears that communication issues stop usb_modeswitch from switching = to the desired mode: [root@apu2 ~]# /usr/local/sbin/usb_modeswitch -v 12d1 -p 1f01 -V 12d1 -P = 1001 -M 55534243000000000000000000000011060000000000000000000000000000 Look for target devices ... No devices in target mode or class found Look for default devices ... Found devices in default mode (1) Access device 002 on bus 000 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 8 Use endpoints 0x01 (out) and 0x81 (in) Looking for active drivers ... OK, driver detached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... Sending the message returned error -7. Try to continue Read the response to message 1 (CSW) ... Response reading failed (error -7) Device is gone, skip any further commands -> Run lsusb to note any changes. Bye! At the same time, the console shows a lot of errors and then: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 ff ff 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered = read err) (cd0:umass-sim0:0:0:0): Info: 0xffff (cd0:umass-sim0:0:0:0): Error 5, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x5 back umass0: at uhub1, port 3, addr 1 (disconnected) cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd0: detached (cd0:umass-sim0:0:0:0): Periph destroyed umass0: detached Here=E2=80=99s the PCI devices the APU has: [root@apu2 ~]# pciconf -lv hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x15661022 = chip=3D0x15661022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI hostb1@pci0:0:2:0: class=3D0x060000 card=3D0x00000000 = chip=3D0x156b1022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI pcib1@pci0:0:2:2: class=3D0x060400 card=3D0x12341022 = chip=3D0x14391022 rev=3D0x00 hdr=3D0x01 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Family 16h Processor Functions 5:1' class =3D bridge subclass =3D PCI-PCI pcib2@pci0:0:2:3: class=3D0x060400 card=3D0x12341022 = chip=3D0x14391022 rev=3D0x00 hdr=3D0x01 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Family 16h Processor Functions 5:1' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:2:4: class=3D0x060400 card=3D0x12341022 = chip=3D0x14391022 rev=3D0x00 hdr=3D0x01 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Family 16h Processor Functions 5:1' class =3D bridge subclass =3D PCI-PCI none0@pci0:0:8:0: class=3D0x108000 card=3D0x15371022 = chip=3D0x15371022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D encrypt/decrypt xhci0@pci0:0:16:0: class=3D0x0c0330 card=3D0x14101022 = chip=3D0x78141022 rev=3D0x11 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'FCH USB XHCI Controller' class =3D serial bus subclass =3D USB ahci0@pci0:0:17:0: class=3D0x010601 card=3D0x00000000 = chip=3D0x78001022 rev=3D0x39 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'FCH SATA Controller [IDE mode]' class =3D mass storage subclass =3D SATA ehci0@pci0:0:19:0: class=3D0x0c0320 card=3D0x78081022 = chip=3D0x78081022 rev=3D0x39 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'FCH USB EHCI Controller' class =3D serial bus subclass =3D USB none1@pci0:0:20:0: class=3D0x0c0500 card=3D0x780b1022 = chip=3D0x780b1022 rev=3D0x42 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'FCH SMBus Controller' class =3D serial bus subclass =3D SMBus isab0@pci0:0:20:3: class=3D0x060100 card=3D0x780e1022 = chip=3D0x780e1022 rev=3D0x11 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'FCH LPC Bridge' class =3D bridge subclass =3D PCI-ISA sdhci_pci0@pci0:0:20:7: class=3D0x080501 card=3D0x78061022 = chip=3D0x78131022 rev=3D0x01 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'FCH SD Flash Controller' class =3D base peripheral subclass =3D SD host controller hostb2@pci0:0:24:0: class=3D0x060000 card=3D0x00000000 = chip=3D0x15801022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI hostb3@pci0:0:24:1: class=3D0x060000 card=3D0x00000000 = chip=3D0x15811022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI hostb4@pci0:0:24:2: class=3D0x060000 card=3D0x00000000 = chip=3D0x15821022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI hostb5@pci0:0:24:3: class=3D0x060000 card=3D0x00000000 = chip=3D0x15831022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI hostb6@pci0:0:24:4: class=3D0x060000 card=3D0x00000000 = chip=3D0x15841022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI hostb7@pci0:0:24:5: class=3D0x060000 card=3D0x00000000 = chip=3D0x15851022 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' class =3D bridge subclass =3D HOST-PCI igb0@pci0:1:0:0: class=3D0x020000 card=3D0x00008086 = chip=3D0x157b8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'I210 Gigabit Network Connection' class =3D network subclass =3D ethernet igb1@pci0:2:0:0: class=3D0x020000 card=3D0x00008086 = chip=3D0x157b8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'I210 Gigabit Network Connection' class =3D network subclass =3D ethernet igb2@pci0:3:0:0: class=3D0x020000 card=3D0x00008086 = chip=3D0x157b8086 rev=3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'I210 Gigabit Network Connection' class =3D network subclass =3D ethernet Here=E2=80=99s the dmesg: Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on = LLVM 6.0.0) VT(vga): resolution 640x480 CPU: AMD GX-412TC SOC (998.15-MHz = K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x730f01 Family=3D0x16 Model=3D0x30 = Stepping=3D1 = Features=3D0x178bfbff = Features2=3D0x3ed8220b AMD Features=3D0x2e500800 AMD = Features2=3D0x1d4037ff Structured Extended Features=3D0x8 XSAVE Features=3D0x1 SVM: NP,NRIP,AFlush,DAssist,NAsids=3D8 TSC: P-state invariant, performance statistics real memory =3D 5083496448 (4848 MB) avail memory =3D 4072296448 (3883 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) ioapic1: Changing APIC ID to 5 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! Timecounter "TSC" frequency 998148477 Hz quality 1000 random: entropy device external interface kbd0 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80ff4550, 0) error 19 nexus0 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x818-0x81b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 25 at device 2.2 on pci0 pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff pci1: on pcib1 igb0: mem = 0xf7a00000-0xf7a1ffff,0xf7a20000-0xf7a23fff irq 28 at device 0.0 on pci1 igb0: Using MSIX interrupts with 5 vectors igb0: Ethernet address: 00:0d:b9:4b:e2:cc igb0: Bound queue 0 to cpu 0 igb0: Bound queue 1 to cpu 1 igb0: Bound queue 2 to cpu 2 igb0: Bound queue 3 to cpu 3 igb0: netmap queues/slots: TX 4/1024, RX 4/1024 pcib2: irq 26 at device 2.3 on pci0 pci2: on pcib2 igb1: port = 0x2000-0x201f mem 0xf7b00000-0xf7b1ffff,0xf7b20000-0xf7b23fff irq 32 at = device 0.0 on pci2 igb1: Using MSIX interrupts with 5 vectors igb1: Ethernet address: 00:0d:b9:4b:e2:cd igb1: Bound queue 0 to cpu 0 igb1: Bound queue 1 to cpu 1 igb1: Bound queue 2 to cpu 2 igb1: Bound queue 3 to cpu 3 igb1: netmap queues/slots: TX 4/1024, RX 4/1024 pcib3: at device 2.4 on pci0 pci3: on pcib3 igb2: port = 0x3000-0x301f mem 0xf7c00000-0xf7c1ffff,0xf7c20000-0xf7c23fff at device = 0.0 on pci3 igb2: Using MSIX interrupts with 5 vectors igb2: Ethernet address: 00:0d:b9:4b:e2:ce igb2: Bound queue 0 to cpu 0 igb2: Bound queue 1 to cpu 1 igb2: Bound queue 2 to cpu 2 igb2: Bound queue 3 to cpu 3 igb2: netmap queues/slots: TX 4/1024, RX 4/1024 pci0: at device 8.0 (no driver attached) xhci0: mem 0xf7f22000-0xf7f23fff irq 18 at = device 16.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Unable to map MSI-X table=20 usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 ahci0: port = 0x4010-0x4017,0x4020-0x4023,0x4018-0x401f,0x4024-0x4027,0x4000-0x400f = mem 0xf7f25000-0xf7f253ff at device 17.0 on pci0 ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported with FBS ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ehci0: mem 0xf7f26000-0xf7f260ff irq 18 at = device 19.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 isab0: at device 20.3 on pci0 isa0: on isab0 sdhci_pci0: mem 0xf7f27000-0xf7f270ff at device 20.7 on = pci0 sdhci_pci0: 1 slot(s) allocated orm0: at iomem 0xee800-0xeffff on isa0 ppc0: cannot reserve I/O port range uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0 hwpstate0: on cpu0 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is = present; to enable, add "vfs.zfs.prefetch_disable=3D0" to = /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ugen1.1: at usbus1 ugen0.1: <0x1022 XHCI root HUB> at usbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 uhub0: ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number A4620782148900312898 ada0: 600.000MB/s transfers on usbus1 (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 15272MB (31277232 512 byte sectors) Trying to mount root from zfs:zroot/ROOT/default []... uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on = usbus0 Root mount waiting for: usbus1 usbus0 uhub1: 4 ports with 4 removable, self powered Root mount waiting for: usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered ugen0.2: at usbus0 ugen1.2: at usbus1 uhub2 on uhub0 uhub2: = on usbus1 Root mount waiting for: usbus1 uhub2: 4 ports with 4 removable, self powered random: unblocking device. Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-usb@freebsd.org Thu Jul 12 15:28:57 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB92A10447DF for ; Thu, 12 Jul 2018 15:28:57 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6003296EF5 for ; Thu, 12 Jul 2018 15:28:57 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id D5E31188BD1 for ; Thu, 12 Jul 2018 15:28:55 +0000 (UTC) From: Stefan Bethke Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: USB problems on PC Engines APU2C4 Date: Thu, 12 Jul 2018 17:28:54 +0200 References: To: freebsd-usb@freebsd.org In-Reply-To: Message-Id: <8125973A-0F6E-4D52-882F-9FC1DA9F7A0F@lassitu.de> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 15:28:58 -0000 > Am 12.07.2018 um 09:27 schrieb Stefan Bethke : >=20 > The other device I=E2=80=99m having trouble with is a Huawei E3272 LTE = stick. In it=E2=80=99s default mode, it shows up as a umass device; = using usb_modeswitch, it can be configured as a serial modem or an CDC = ethernet device. > [root@apu2 ~]# lsusb > Bus /dev/usb Device /dev/ugen0.2: ID 12d1:1f01 Huawei Technologies = Co., Ltd. E353/E3131 (Mass storage mode) > Bus /dev/usb Device /dev/ugen1.2: ID 0438:7900 Advanced Micro Devices, = Inc.=20 > Bus /dev/usb Device /dev/ugen0.1: ID 0000:0000 =20 > Bus /dev/usb Device /dev/ugen1.1: ID 0000:0000 =20 >=20 Going through a bus-powered USB2 hub does not improve the situation: ugen0.2: at usbus0 uhub3 on uhub1 uhub3: on = usbus0 uhub3: 4 ports with 4 removable, self powered ugen0.3: at usbus0 umass0 on uhub3 umass0: on u umass0: SCSI over Bulk-Only; quirks =3D 0x0100 umass0:2:0: Attached to scbus2 (about 10 seconds delay here) (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error (probe0:umass-sim0:0:0:0): Retrying command cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 40.000MB/s transfers cd0: 128MB (65536 2048 byte sectors) cd0: quirks=3D0x10<10_BYTE_ONLY> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 ff ff 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered = read erro (cd0:umass-sim0:0:0:0): Info: 0xffff (cd0:umass-sim0:0:0:0): Error 5, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x5 back =E2=80=A6 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered = read erro (cd0:umass-sim0:0:0:0): Info: 0xffff (cd0:umass-sim0:0:0:0): Error 5, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x5 back /usr/local/sbin/usb_modeswitch -v 12d1 -p 1f01 -V 12d1 -P 1001 -M = 55534243000000000000000000000011060000000000000000000000000000 umass0: at uhub3, port 4, addr 2 (disconnected) cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0 cd0: detached (cd0:umass-sim0:0:0:0): Periph destroyed umass0: detached usb_modeswitch continues to be not happy: Look for target devices ... No devices in target mode or class found Look for default devices ... Found devices in default mode (1) Access device 002 on bus 000 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 8 Use endpoints 0x01 (out) and 0x81 (in) Looking for active drivers ... OK, driver detached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... Sending the message returned error -7. Try to continue Read the response to message 1 (CSW) ... Response reading failed (error -7) Device is gone, skip any further commands -> Run lsusb to note any changes. Bye! Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-usb@freebsd.org Fri Jul 13 07:21:57 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CE3C102C8E8 for ; Fri, 13 Jul 2018 07:21:57 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A554778E6A for ; Fri, 13 Jul 2018 07:21:56 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id EEF7918EBA1; Fri, 13 Jul 2018 07:21:48 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: PC Engines APU2B4 betatest: usb install fails From: Stefan Bethke In-Reply-To: <563E1EED.9090105@citycable.ch> Date: Fri, 13 Jul 2018 09:21:47 +0200 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0B3BCF9F-81F3-4375-B890-9E33FF1261A0@lassitu.de> References: <563E1EED.9090105@citycable.ch> To: Noth X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 07:21:57 -0000 Did you ever get this resolved? I continue having problems with the two = USB3 ports after install. > Am 07.11.2015 um 16:55 schrieb Noth : >=20 > Hi all, >=20 > I've been directed here by the good folk of #freebsd on Freenode. I'm = betatesting the upcoming PC Engines APU2B4 ( = http://pcengines.ch/apu2b4.htm ) on various OSes. I tried the memstick = installers of both 10.2-RELEASE and the 2nd of November snapshot of = 11-CURRENT, and neither work, because the kernel can't mount the = miniroot: >=20 > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > Root mount waiting for: usbus1 usbus0 > uhub0: 4 ports with 4 removable, self powered > uhub1: 2 ports with 2 removable, self powered > Root mount waiting for: usbus1 usbus0 > ugen1.2: at usbus1 > uhub2: on usbus1 > uhub2: 4 ports with 4 removable, self powered > ugen0.2: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks =3D 0x8100 > umass0:2:0: Attached to scbus2 > mountroot: waiting for device /dev/ufs/FreeBSD_Install... > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error > (probe0:umass-sim0:0:0:0): Retrying command > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error > (probe0:umass-sim0:0:0:0): Retrying command > Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19. >=20 > I've been told this may be due to quirks with the xhci driver, since = the external USB ports are both 3.0. >=20 > However I can succesfully install booting USB and having an SD Card = with the same memstick installer image on it inserted into the APU2B4. = The installer runs normally and provides a fully functional OS. >=20 > The dmesg for FreeBSD 10.2 is here: http://pastebin.ca/3238744 and the = one for 11-CURRENT is here : http://pastebin.ca/3238637 . Things that = aren't working are the cpu thermal sensor (now supported by OpenBSD = -CURRENT with a 1 line patch to sys/dev/pci/km.c ) and the AMD CCP = crypto chip. Everything else seems functional. >=20 > I'm ready to provide ssh access to the device to an interested dev to = troubleshoot the USB issue. >=20 > Cheers, >=20 > Noth >=20 > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-usb@freebsd.org Fri Jul 13 10:55:57 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 351E11033C1F for ; Fri, 13 Jul 2018 10:55:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB5E180187 for ; Fri, 13 Jul 2018 10:55:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22d.google.com with SMTP id p4-v6so10966508itf.2 for ; Fri, 13 Jul 2018 03:55:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hqEeep8Ha1PSCksKca5kIGQApL/L3fxGZmZjpOijiL0=; b=JEE9qvjvBMgH3Px6vbScDdF+Fa/NC+ZqwGjzzPYjtg4rEoxHM02UHNELXwkNemxgKZ gGCHYBaqu7RpGlyS9jIVTn4zQMMaiR7fYGH0QaW5HiqodzK5wn3fsv4Yshevwej2LMNr 482/DQDrzV+jLiFWXutEFotx1VmeO9NHMHpY/jd2jsPzAvno8/Fhcp1jvA7wQsES3khj Ar6MZd/9cVybCb4u/EhsJa+cVzWadVg1dhRNVQTvDwh/Eq3LuFTD4LmXmpUrf8GVBXGX GPFBekDFws9gTsg7RmMUkjR4hmVoL4HdF76yaaCKNk+aD7u7LLvpj05CylL/T2jomEGN 1uoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hqEeep8Ha1PSCksKca5kIGQApL/L3fxGZmZjpOijiL0=; b=ZtFhbuNV9rYmI5P1cdON27hrkORX7TGd/S8HuNT680c7P+C+MqfB907x6Kq4Cbzny0 tzke9FFDUdea1uaMkxWjB+mwSoaOAKbOLzKr4DUM+Pca5ihi9sbpgLwFlOk+6pRPq3f5 71DYnFzyuPQEcUf33jLU4p9YeUpRa9xOPY03cYUOQC/wd5ZOuGQO5msLNFc1VZGzH8Po 2gpNW/P4Sw0epzk7vyD2TJWaJG+6VnmvLs5TReL76cmk/KEVIwMezCHbG4ClPHEhpfmv vallaz1iPe9eiW810hBiJMHHx9Wold5clr5W6FCY6a7NG0jghcrf3UBkL4fJwi7CxQ8K WocQ== X-Gm-Message-State: AOUpUlGafFeqMMYFDF5NsWiKZguiNUSVbGy1tar5kjorx+qz2LgfDywA 43eGVFCEJLerb3Fseft6X21fToaEvcPrmdHMEWBSKw== X-Google-Smtp-Source: AAOMgpd+U1FZ3ahxtseZipR+hbt33bUWyiP9dtQEjhDn5uA53aDXte36GXX/lnQIVsjTja8jO86cxj0dydI4hqmuYpM= X-Received: by 2002:a24:d50a:: with SMTP id a10-v6mr4303164itg.73.1531479355743; Fri, 13 Jul 2018 03:55:55 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:1183:0:0:0:0:0 with HTTP; Fri, 13 Jul 2018 03:55:55 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <0B3BCF9F-81F3-4375-B890-9E33FF1261A0@lassitu.de> References: <563E1EED.9090105@citycable.ch> <0B3BCF9F-81F3-4375-B890-9E33FF1261A0@lassitu.de> From: Warner Losh Date: Fri, 13 Jul 2018 04:55:55 -0600 X-Google-Sender-Auth: O9sknHoQtX8iXzLbyHBXfYZhhHk Message-ID: Subject: Re: PC Engines APU2B4 betatest: usb install fails To: Stefan Bethke Cc: Noth , "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 10:55:57 -0000 On Fri, Jul 13, 2018 at 1:21 AM, Stefan Bethke wrote: > Did you ever get this resolved? I continue having problems with the two > USB3 ports after install. > > > Am 07.11.2015 um 16:55 schrieb Noth : > > > > Hi all, > > > > I've been directed here by the good folk of #freebsd on Freenode. I'm > betatesting the upcoming PC Engines APU2B4 ( > http://pcengines.ch/apu2b4.htm ) on various OSes. I tried the memstick > installers of both 10.2-RELEASE and the 2nd of November snapshot of > 11-CURRENT, and neither work, because the kernel can't mount the miniroot: > > > > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > > Root mount waiting for: usbus1 usbus0 > > uhub0: 4 ports with 4 removable, self powered > > uhub1: 2 ports with 2 removable, self powered > > Root mount waiting for: usbus1 usbus0 > > ugen1.2: at usbus1 > > uhub2: > on usbus1 > > uhub2: 4 ports with 4 removable, self powered > > ugen0.2: at usbus0 > > umass0: > on usbus0 > > umass0: SCSI over Bulk-Only; quirks = 0x8100 > > umass0:2:0: Attached to scbus2 > > mountroot: waiting for device /dev/ufs/FreeBSD_Install... > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > error > > (probe0:umass-sim0:0:0:0): Retrying command > This is an INQUIRY command that's requesting 36 bytes. This is the standard inquiry that's done first thing when probing the device. Without the inquiry data, we can do nothing... It's unclear why that might be the case. Warner > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an > error > > (probe0:umass-sim0:0:0:0): Retrying command > > Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19. > > > > I've been told this may be due to quirks with the xhci driver, since the > external USB ports are both 3.0. > > > > However I can succesfully install booting USB and having an SD Card with > the same memstick installer image on it inserted into the APU2B4. The > installer runs normally and provides a fully functional OS. > > > > The dmesg for FreeBSD 10.2 is here: http://pastebin.ca/3238744 and the > one for 11-CURRENT is here : http://pastebin.ca/3238637 . Things that > aren't working are the cpu thermal sensor (now supported by OpenBSD > -CURRENT with a 1 line patch to sys/dev/pci/km.c ) and the AMD CCP crypto > chip. Everything else seems functional. > > > > I'm ready to provide ssh access to the device to an interested dev to > troubleshoot the USB issue. > > > > Cheers, > > > > Noth > > > > _______________________________________________ > > freebsd-usb@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > -- > Stefan Bethke Fon +49 151 14070811 > > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@freebsd.org Fri Jul 13 20:58:01 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F02F5104CA4D for ; Fri, 13 Jul 2018 20:58:00 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83D7378514 for ; Fri, 13 Jul 2018 20:58:00 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id B994A1D9C2A for ; Fri, 13 Jul 2018 20:57:58 +0000 (UTC) From: Stefan Bethke Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: USB problems on PC Engines APU2C4 Date: Fri, 13 Jul 2018 22:57:57 +0200 References: To: freebsd-usb@freebsd.org In-Reply-To: Message-Id: <43997AE2-089D-48AE-9285-9B3C6864DC9D@lassitu.de> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 20:58:01 -0000 Am 12.07.2018 um 09:27 schrieb Stefan Bethke : >=20 > First, I had trouble installing from: > ugen0.2: at usbus0 > umass0 on uhub1 > umass0: = on usbus0 > umass0: SCSI over Bulk-Only; quirks =3D 0x8100 > umass0:2:0: Attached to scbus2 >=20 > This is all that gets probed on most attempts to connect the stick. = Sometimes, it succeeds immediately, or after a couple of retries, like = this: > ugen0.2: at usbus0 > umass0 on uhub1 > umass0: = on usbus0 > umass0: SCSI over Bulk-Only; quirks =3D 0x8100 > umass0:2:0: Attached to scbus2 > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error > (probe0:umass-sim0:0:0:0): Retrying command > da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 > da0: Removable Direct Access SCSI = device > da0: Serial Number 001CC0EC34F4BB6155F10168 > da0: 40.000MB/s transfers > da0: 15252MB (31236096 512 byte sectors) > da0: quirks=3D0x2 >=20 > On other machines, that stick works just fine. Here=E2=80=99s the console output interspersed with the output from = usbdump. In this instance, the stick did attach after some time; other = times, kernel messages stop after "umass0:2:0: Attached to scbus2=E2=80=9C= , or I see a large number of inquiry errors. [root@apu2 ~]# usbdump -i usbus0 22:51:25.704227 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.705750 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D20,IVAL=3D0,ERR=3D0 22:51:25.708174 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.709762 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 22:51:25.709778 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.710754 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 22:51:25.710770 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.712893 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 22:51:25.712910 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.715125 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D52,IVAL=3D0,ERR=3D0 22:51:25.715168 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.717134 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 22:51:25.717149 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.719249 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D20,IVAL=3D0,ERR=3D0 22:51:25.719265 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.721372 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 22:51:25.721414 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.723498 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D32,IVAL=3D0,ERR=3D0 22:51:25.723573 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.724495 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D12,IVAL=3D0,ERR=3D0 22:51:25.724511 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:25.725497 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D32,IVAL=3D0,ERR=3D0 22:51:25.725694 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D0 22:51:25.726245 usbus0.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.745113 usbus0.2 = SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D8,IVAL=3D0 22:51:26.746140 usbus0.2 = DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 22:51:26.746168 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.746928 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.746938 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.777984 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D36,IVAL=3D0,ERR=3D0 22:51:26.777994 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.778122 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEugen0.2: at usbus0 umass0 on uhub1 umass0: on = usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x8100 umass0:2:0: Attached to scbus2 N=3D16,IVAL=3D0,ERR=3D0 22:51:26.778142 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.778237 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.778243 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.778378 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:26.778391 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.778492 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.778497 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.778620 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:26.778632 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.778748 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.778753 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.778876 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:26.778888 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.779004 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.779010 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.780288 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3DSTALLED= 22:51:26.780298 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D0 22:51:26.780883 usbus0.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.780889 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.781886 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:26.781900 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.782027 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.782033 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.783036 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3DSTALLED= 22:51:26.783045 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D0 22:51:26.783640 usbus0.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.783646 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.784781 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:26.784794 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.784889 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.784894 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.785624 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D36,IVAL=3D0,ERR=3D0 22:51:26.785630 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:26.785743 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:26.785754 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 22:51:26.785870 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 22:51:26.785875 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:27.441870 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D20,IVAL=3D0,ERR=3D0 22:51:27.441894 usbus0.2 = SUBM-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0 22:51:27.441929 usbus0.2 = DONE-BULK-EP=3D00000081,SPD=3DHIGH,NFR=3D1,SLEN=3D16,IVAL=3D0,ERR=3D0 22:51:27.466359 usbus0.2 = SUBM-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D1,SLEN=3D32,IVAL=3D0 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error (probe0:umass-sim0:0:0:0): Retrying command 22:51:32.351126 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT= 22:51:32.858070 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D500 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00=20 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an = error (probe0:umass-sim0:0:0:0): Retrying command da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SCSI device da0: Serial Number 001CC0EC34F4BB6155F10168 da0: 40.000MB/s transfers da0: 15252MB (31236096 512 byte sectors) da0: quirks=3D0x2 22:51:37.742852 usbus0.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D0,SLEN=3D0,IVAL=3D500,ERR=3DTIMEO= UT 22:51:38.250072 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D500 22:51:38.250800 usbus0.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D500,ERR=3D0 22:51:38.300066 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D50 22:51:38.300692 usbus0.2 = DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-usb@freebsd.org Sat Jul 14 08:59:38 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0931E10472F2 for ; Sat, 14 Jul 2018 08:59:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DC0F710FC for ; Sat, 14 Jul 2018 08:59:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C7B652600C1; Sat, 14 Jul 2018 10:59:28 +0200 (CEST) Subject: Re: PC Engines APU2B4 betatest: usb install fails To: Warner Losh , Stefan Bethke Cc: Noth , "freebsd-usb@FreeBSD.org" References: <563E1EED.9090105@citycable.ch> <0B3BCF9F-81F3-4375-B890-9E33FF1261A0@lassitu.de> From: Hans Petter Selasky Message-ID: <64d7feee-c3cb-190b-81d0-ca4b3c9f20f8@selasky.org> Date: Sat, 14 Jul 2018 10:59:09 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2018 08:59:38 -0000 On 07/13/18 12:55, Warner Losh wrote: > This is an INQUIRY command that's requesting 36 bytes. This is the standard > inquiry that's done first thing when probing the device. Without the > inquiry data, we can do nothing... It's unclear why that might be the case. > > Warner Hi, Try to capture the traffic using: usbdump -i usbusX -f Y -s 65536 Where X and Y are the numbers after ugenX.Y. Do this before connecting the USB device. Remove the timestamps and compare the output. --HPS From owner-freebsd-usb@freebsd.org Sat Jul 14 09:01:53 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 486B3104771C for ; Sat, 14 Jul 2018 09:01:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCCA97141E for ; Sat, 14 Jul 2018 09:01:52 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 537972600C1; Sat, 14 Jul 2018 11:01:51 +0200 (CEST) Subject: Re: USB problems on PC Engines APU2C4 To: Stefan Bethke , freebsd-usb@freebsd.org References: <43997AE2-089D-48AE-9285-9B3C6864DC9D@lassitu.de> From: Hans Petter Selasky Message-ID: <4d1b92dc-d675-ac9b-63d9-7239b902b73d@selasky.org> Date: Sat, 14 Jul 2018 11:01:31 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <43997AE2-089D-48AE-9285-9B3C6864DC9D@lassitu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2018 09:01:53 -0000 On 07/13/18 22:57, Stefan Bethke wrote: > 22:51:32.351126 usbus0.2 DONE-BULK-EP=00000002,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT > 22:51:32.858070 usbus0.2 SUBM-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=8,IVAL=500 The timeout might indicate an interrupt problem at the host controller. There are some EHCI quirks you can try: hw.usb.ehci.lostintrbug: 0 hw.usb.ehci.iaadbug: 0 --HPS