From owner-freebsd-usb@freebsd.org Sun Jun 17 21:00:46 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 73FB61009E65 for ; Sun, 17 Jun 2018 21:00:46 +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 1B3387F159 for ; Sun, 17 Jun 2018 21:00:46 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id CFF411009E60; Sun, 17 Jun 2018 21:00:45 +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 BE97A1009E5D for ; Sun, 17 Jun 2018 21:00:45 +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 824B37F152 for ; Sun, 17 Jun 2018 21:00:45 +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 B5075195C7 for ; Sun, 17 Jun 2018 21:00:44 +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 w5HL0iUh034936 for ; Sun, 17 Jun 2018 21:00:44 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5HL0iWv034923 for usb@FreeBSD.org; Sun, 17 Jun 2018 21:00:44 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201806172100.w5HL0iWv034923@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, 17 Jun 2018 21:00:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2018 21:00:46 -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 Mon Jun 18 11:38:25 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 DEC11100079A for ; Mon, 18 Jun 2018 11:38:25 +0000 (UTC) (envelope-from v.dieckmann@gmx.com) Received: from mout-xforward.gmx.net (mout-xforward.gmx.net [82.165.159.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4817C7A8B6 for ; Mon, 18 Jun 2018 11:38:25 +0000 (UTC) (envelope-from v.dieckmann@gmx.com) Received: from mail.gmx.com ([186.101.245.45]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MgKoE-1fpI5E1IL0-00NiEu for ; Mon, 18 Jun 2018 12:02:27 +0200 From: "Melissa Doherty" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Message-Id: <608C0B4F-646F-4139-ED8F-08572238E10C@gmx.com> Date: Mon, 18 Jun 2018 10:02:44 +0000 To: "Freebsd Usb" Reply-To: "Melissa Doherty" X-Mailer: iPhone Mail (14E277) Sender: X-Provags-ID: V03:K1:8xbMaQhGS6yCYNQKubmLgefiLjtQxCLSqUxFECjZ86ZNxREQlD9 ARj/W9SFjkuSzckrIOSlZJEkToimnDzOYmlXqUtdDYxSiIrs6g2b5jv6ozwyZ8rCFlxCQu4 5WIsCt9f0aurpnGNTJXblo99Tu0ZU008XqkU3gCyKkDS1rx7tW/x8wbrv+Kp3pYGDxeBb2e cWNTlRc69W19Xg39r9ryQ== X-UI-Out-Filterresults: junk:10;V01:K0:0wTpTD5hdZs=:hFAGOd3GOylbSCGvxTinZW7x GgbgBzLEqN/KIEOENmeq7qfs7AK2eb6itolrJ3Lu1FB0w4Q8vNJt5IEc3pIfZkjxskE6PvSsW Pd9XnrN6nLxPXfE6qGxZtT2ADjNfr3MhOvVzOjn2bP76PdwRfRH29iBYV7yedJc9o+sVg3UFM GpfpExgLXoqUZ7Mqc8Rn88ce7MM5w20QPt5g4ETOWJNO02cSHXue/GCHLN4lyLJ8eG7RIosaa sDxcgZ81I9dOCepVVzXpYDN+ue0iNxYXRlKw+jf3yTZnBTUO1fWHfDWv37r8bCvhBE+fmC1yx YGqI4sJocEgullO3IbK3B/un/vAqReA8uEctJdWsHq+U5JY0Tx7aH4wQAjI/Kajr0IpJloFhu 5v3Q1NouWj6I7fSXDUNbbY0spGBg/ujSVvMaeoZOeNLzpBxWH99lVh6oP87diz6evVlGO3Hgh 7kY4LtBe29GdD7wNCblRtXO7SA/MWlDc2PdfAM4+nNZfyG3jT8AZu+iJ7QvCjQU306kL8YwO1 ZmmxwoS9kthcsrg+550voul4twzOe/dPdTlwHZlkhUGzCetMOtUlnWABRKcKFeI9fK78A3A74 /EkQ+VWQeF/IfTDHxvYqoU0+Q7QuVrYaNkvgcATjWYEYsjtpnBrmuYVj/mDd5+4Du2Ulfzni3 WuxYJvDXGkPk9UIizkaW10H2a8NGdfv1TrisSEGYHumnHVkas5QUdyShn/CHvfgMFk772lm2a wpZLGfW10HTwDPkZw7dgzpCqWif4hZ5S0Z5EMfI03mH8A1d1VploQ3pt0p5uODUQBeIZenDlF jWUDAabj0icx2g0Vex9g2nzL8SlpQMgHtePa5Q2nMhZqfTsYeALwDXpZN+rTCVHBJLVfQzQRT nGU6f9XBD2RIB8iEuGT1eHFOm83kDuIRArcYSaY= X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 11:38:26 -0000 Hey Freebsd https://goo.gl/pcg8mW Melissa Doherty From owner-freebsd-usb@freebsd.org Wed Jun 20 05:25:03 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 5168F1000D38 for ; Wed, 20 Jun 2018 05:25:03 +0000 (UTC) (envelope-from philnorm@gmail.com) 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 B902B87E0F for ; Wed, 20 Jun 2018 05:25:02 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 78FDF1000D37; Wed, 20 Jun 2018 05:25:02 +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 457CD1000D36 for ; Wed, 20 Jun 2018 05:25:02 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 BF8C987E0C for ; Wed, 20 Jun 2018 05:24:58 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id z6-v6so21303369wma.0 for ; Tue, 19 Jun 2018 22:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZRfesmAiWyLarhztmZreHo0t3iDtZ+XWoiWyf0/VZn4=; b=Da6ctl9PzoIdJq/E60+0jKMSkaZ+rwRCJy7LOChskFMfmngh1PmogdawzIhrpexDiy 0aGNi7+Pust50707HWjwGEb36+xVEPDaGEwwkavoNGMRwkCIDtzqWttVocSuKj4L9KXS ayLwihCyfffCwW4ppvyE1L3FYZiR+wqlGsr/m50XdiqyBTm3OeD1+CBzTOEqJKIRMmvh jPXRqw7R+HqLN3ant7G30VlTc69AsL84hscY053d4z7GrLI3pt45ZAwYyBAPVRKhWYJl YY5KyKEiArQQP17EVe4E6ui5r86g+iVyRn5qxab37w68hQRgmmrEFpvFtdIjmOunCnjc Xh4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZRfesmAiWyLarhztmZreHo0t3iDtZ+XWoiWyf0/VZn4=; b=VwgpdxEWs66gkAc+577Iq6CiRBqLwTcWa5XjGv7+mXmCBDOGOC+PScI0TquUw8A0Zv qbe/4zXVlVYFIBtiP6s8Iwe5SNUsz8yVFR8iHougcbiPNr3vZRv2OPj178SlzfAZjKVy Z8L17PU2Od0BixRON3pwCpXT0MxgYVLZTYi2Wz8R8uvyvPaZH5n6nOJziuAZD1HFZ40o 2g+O1KVXuz6msdVnKHnCSjKntZcQDXwm64ooyFgE8BorNmv2iYwHTPvKXn6HUTttJGk4 w/AHtQTOUZc12leJJG9ihRfG6XZtkTSTtSudNqGaWFfCdJTDw7/8JWAeJtC4ywvj+r6T i+TA== X-Gm-Message-State: APt69E3AHtigQeEnVID66sqmeqANIUWiNoluQuHnzBF9XmYVrbJ/pHWK p+jVcNBebiHZagxDg+zFmbO6e/HLrISsCyQ4aFk/HjcW X-Google-Smtp-Source: ADUXVKKeCenh2nfDAEcv7eWP8njTiz+E6APiF+NWLF/YwnwGAf5WBM8SEfgrasA5lY8Qye4rMKmEi7c0VX5rjkCDKB4= X-Received: by 2002:a1c:6d2:: with SMTP id 201-v6mr415098wmg.47.1529472296581; Tue, 19 Jun 2018 22:24:56 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:7e87:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 22:24:56 -0700 (PDT) From: Phil Norman Date: Wed, 20 Jun 2018 07:24:56 +0200 Message-ID: Subject: USB trouble on Ryzen 3/AsRock mobo. To: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 05:25:03 -0000 Hi. [originally sent to freebsd-stable@; I've been advised to try usb@] I've recently converted to FreeBSD, fleeing the Windowsification of Ubuntu. I've been having some trouble with the USB system, which seems strange as FreeBSD's USB stack is, according to a friend, rock solid. I'd like to narrow down if this is a hardware (CPU or mobo) or software issue. I'm running a Ryzen 3 1200, plugged into a "Fatal1ty X370 Gaming-ITX/ac" motherboard (chosen because it supports ECC RAM and fits in an ITX case). On a cold boot (ie starting by flipping the physical PSU power switch), BSD boots up nice and quickly, without errors, and then runs for days without a single USB-related error on dmesg. However, any other kind of reboot which doesn't interrupt the electricity supply yields a large number of USB errors (USB_ERR_TIMEOUTs every few seconds or so) and frequent resets of the xhci0 controller. On occasion, I also get problems with my keyboard randomly stopping working (but then, if the USB subsystem is continuously resetting, that's only to be expected). I also seem to get slow USB storage device read throughput (2MB/s from a USB3 SSD), although I can't rule out that being caused by the fuse ext4fs driver. Here's what I see in dmesg when the USB system's in spam mode: ---------------- xhci0: Resetting controller usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT igb0: link state changed to UP usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT uhid0 on uhub3 uhid0: on usbus1 uhid1 on uhub3 uhid1: on usbus1 ums0 on uhub2 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device uhub1: at usbus0, port 1, addr 1 (disconnected) uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub1: 22 ports with 22 removable, self powered xhci0: Resetting controller ----------------- Here's the start of 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-PRERELEASE #0 r335198: Fri Jun 15 20:55:02 CEST 2018 phil@bob:/usr/obj/usr/src/sys/BOB amd64 FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) VT(efifb): resolution 1024x768 CPU: AMD Ryzen 3 1200 Quad-Core Processor (3094.26-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x800f11 Family=0x17 Model=0x1 Stepping=1 Features=0x178bfbff Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x35c233ff Structured Extended Features=0x209c01a9 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x1007 SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16519221248 (15753 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) random: unblocking device. Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20171214/tbfadt-796) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1547130097 Hz quality 1000 random: entropy device external interface kbd0 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80a3bd40, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.59 Wed May 9 21:54:48 PDT 2018 nexus0 cryptosoft0: on motherboard aesni0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 450 Event timer "HPET2" frequency 14318180 Hz quality 450 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pcib0: _OSC returned error 0x10 pci0: on pcib0 amdsmn0: on hostb0 amdtemp0: on hostb0 pci0: at device 0.2 (no driver attached) pcib1: at device 1.3 on pci0 pci1: on pcib1 xhci0: mem 0xf77a0000-0xf77a7fff irq 32 at device 0.0 on pci1 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 ----------------- I don't remember if I had similar USB trouble on Linux, but I definitely did during my brief excursion into NetBSD. If anyone knows whether this is likely to be a CPU, mother board or software problem, or knows of something I can try to get more information or try to debug the thing, please let me know. Thanks, Phil From owner-freebsd-usb@freebsd.org Wed Jun 20 07:07:12 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 634671006708 for ; Wed, 20 Jun 2018 07:07:12 +0000 (UTC) (envelope-from hps@selasky.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 EFA9E6D724 for ; Wed, 20 Jun 2018 07:07:11 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id A57E01006707; Wed, 20 Jun 2018 07:07:11 +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 92A251006706 for ; Wed, 20 Jun 2018 07:07:11 +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 278A56D722 for ; Wed, 20 Jun 2018 07:07:10 +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 97C5426038C; Wed, 20 Jun 2018 09:07:07 +0200 (CEST) Subject: Re: USB trouble on Ryzen 3/AsRock mobo. To: Phil Norman , usb@freebsd.org References: From: Hans Petter Selasky Message-ID: Date: Wed, 20 Jun 2018 09:06:51 +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.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 07:07:12 -0000 On 06/20/18 07:24, Phil Norman wrote: > I don't remember if I had similar USB trouble on Linux, but I definitely > did during my brief excursion into NetBSD. If anyone knows whether this is > likely to be a CPU, mother board or software problem, or knows of something > I can try to get more information or try to debug the thing, please let me > know. Hi, USB timeouts might be an indication of an IRQ problem. Try setting: hw.usb.xhci.use_polling=1 In /boot/loader.conf If it helps the problem is outside USB - most likely ACPIA or PCI subsystem. --HPS From owner-freebsd-usb@freebsd.org Wed Jun 20 16:07:11 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 3DAFE10217A9 for ; Wed, 20 Jun 2018 16:07:11 +0000 (UTC) (envelope-from philnorm@gmail.com) 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 B217B82066 for ; Wed, 20 Jun 2018 16:07:10 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6F1F510217A8; Wed, 20 Jun 2018 16:07:10 +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 4B14E10217A7 for ; Wed, 20 Jun 2018 16:07:10 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (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 A5ECB82065 for ; Wed, 20 Jun 2018 16:07:09 +0000 (UTC) (envelope-from philnorm@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id x4-v6so73275wro.11 for ; Wed, 20 Jun 2018 09:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ShbsqlffWy1AjN0/6+a5seJR69OX2eKAIJbqhpsfsfc=; b=iPEIFmH4BjsxM1y/I+/leLT2iAxjsqFsKGKzAhSI7gcUmPb8ln2POW7xmun9JfNucG BSTVmA48F8HwB8Ky/M0PHBeR5P1hLmE99fmaiz1ZIRX8dKumxBYlhqpH5CcfV70Z2dCW vxcLaStMtaa2vpdRUNa0/LuQj1WUqJGO2Tt0b2BY9djtLc2QaP+7HIhM23EWBaZxZrJ2 hUgz/oumB9uMvRZUbq6Aur3vfSXbgE7g2nU9fw/a6vd3nGLsEIJs7GmbONnxCN3IgG3f 0qP/xbO5+HAhztqcFBiCmTFfrVYzqrAuBYQFvNIQmlw3Az6u65WNo7sEgN+Sz+D57Qe3 SehA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ShbsqlffWy1AjN0/6+a5seJR69OX2eKAIJbqhpsfsfc=; b=oQqmShOy+35YHH8yLRwIsuH0HX6rG+Vknp0r5TJRo24i1bqIO90Yc1vXIMcpRiNrRl DII9jIKkPQX4Dv7zfvoU0WlBfBsogcUknKevJefDiAL7tQZ+oOmoSCcbpHu68EK4EGJI 52EvRV9xG2qH3ZsmsMaonTOR/IzEcTenepgozU/pS7vuAY+/jVJmDQHsQMl60iL7Z5N2 H3ygjIw/vtVib09TbyEa+fK7tniRTzgzcUUk1C+utrfd9Gg7GRi8pDflJandZkZ/N85C c0nAw5bMmLDTrxx6K67BMoLPB0UikuHlX9d3tJhGP77q/1cbAEls3SmAke5KO0wHyMvY +p4g== X-Gm-Message-State: APt69E2ZU+uvBmqRxTyEB/WH82OCp7NXdWhZXJ72NuG8tldbMIpHpW87 LH4FUoUh58OWRnHpuVBFRL+2ywwS1Q8fPAkCh3nLAvuGcpo= X-Google-Smtp-Source: ADUXVKKijfIOPrCsb1SfrRuFNipDmK9sPlQEPj/BXOulhu4R+D8WaikcsKTEMCKt1W3gkuDHzh/5lugBe+I+Jhsx0s4= X-Received: by 2002:adf:ee0e:: with SMTP id y14-v6mr19470535wrn.63.1529510828552; Wed, 20 Jun 2018 09:07:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:7e87:0:0:0:0:0 with HTTP; Wed, 20 Jun 2018 09:07:07 -0700 (PDT) In-Reply-To: References: From: Phil Norman Date: Wed, 20 Jun 2018 18:07:07 +0200 Message-ID: Subject: Re: USB trouble on Ryzen 3/AsRock mobo. To: Hans Petter Selasky Cc: usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 16:07:11 -0000 On 20 June 2018 at 09:06, Hans Petter Selasky wrote: > On 06/20/18 07:24, Phil Norman wrote: > >> I don't remember if I had similar USB trouble on Linux, but I definitely >> did during my brief excursion into NetBSD. If anyone knows whether this is >> likely to be a CPU, mother board or software problem, or knows of >> something >> I can try to get more information or try to debug the thing, please let me >> know. >> > > Hi, > > USB timeouts might be an indication of an IRQ problem. > > Try setting: > > hw.usb.xhci.use_polling=1 > > In /boot/loader.conf > [snip] Hi. Thanks for the suggestion. I tried setting that, then 'sudo reboot now', but the system came up with the same USB errors as previously. Indeed, the BIOS (or UEFI or whatever) spent about 10s or so waiting for me to press a key, because it seemed to have trouble getting the USB system working. One power-off-power-on cycle later, and it booted up error-free, and much more quickly. In case it's pertinent, I also have this in my /boot/loader.conf file: hw.usb.xhci.xhci_port_route=0 Thanks, Phil From owner-freebsd-usb@freebsd.org Fri Jun 22 17:49:59 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 3136E102273F for ; Fri, 22 Jun 2018 17:49:59 +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 BC7E979598 for ; Fri, 22 Jun 2018 17:49:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 729CB102273E; Fri, 22 Jun 2018 17:49:58 +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 61293102273D for ; Fri, 22 Jun 2018 17:49:58 +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 0226979594 for ; Fri, 22 Jun 2018 17:49:58 +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 47211EAAC for ; Fri, 22 Jun 2018 17:49:57 +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 w5MHnvlA068124 for ; Fri, 22 Jun 2018 17:49:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5MHnvOs068123 for usb@FreeBSD.org; Fri, 22 Jun 2018 17:49:57 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 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed Date: Fri, 22 Jun 2018 17:49:57 +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: bsd@abinet.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 17:49:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727 Ivan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bsd@abinet.ru --- Comment #5 from Ivan --- This is illogical. USB supports hot plug, so kernel must handle it without stucking. I use audio with KVM b/w Linux. Windows and FreeBSD and I can't e= ven kill mixer as entire USB waits indefinitely. My observations with FF playing youtube video 1. Windows - active playback resumes after FF restart 2. Linux - active playback resumes after FF restart 3. FreeBSD needs reset button. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Jun 22 20:50:44 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 DF1FB1026FD8 for ; Fri, 22 Jun 2018 20:50:44 +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 77EDE814E4 for ; Fri, 22 Jun 2018 20:50:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3C8A51026FD5; Fri, 22 Jun 2018 20:50:44 +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 29C761026FD4 for ; Fri, 22 Jun 2018 20:50:44 +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 B7451814DD for ; Fri, 22 Jun 2018 20:50:43 +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 EA2CC104F9 for ; Fri, 22 Jun 2018 20:50:42 +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 w5MKogP8027259 for ; Fri, 22 Jun 2018 20:50:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5MKogY1027258 for usb@FreeBSD.org; Fri, 22 Jun 2018 20:50:42 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 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed Date: Fri, 22 Jun 2018 20:50:42 +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: hselasky@FreeBSD.org 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 20:50:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727 --- Comment #6 from Hans Petter Selasky --- Hi, Applications must close their handles upon detecting failures, like detach. Else device numbers will be used up pretty quickly. This is a known issue. One solution is perhaps to use audio/virtual_oss, which proxy access to /dev/dsp and possibly in the future /dev/mixer aswell, so that these FreeBSD specific artifacts are hidden. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sat Jun 23 18:41:52 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 4C5B7100207B for ; Sat, 23 Jun 2018 18:41:52 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) 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 DFF9B8DCF6 for ; Sat, 23 Jun 2018 18:41:51 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: by mailman.ysv.freebsd.org (Postfix) id 966771002076; Sat, 23 Jun 2018 18:41:51 +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 827611002075 for ; Sat, 23 Jun 2018 18:41:51 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from yo.waitman.net (yo.waitman.net [159.203.248.142]) by mx1.freebsd.org (Postfix) with ESMTP id 2332E8DCF2; Sat, 23 Jun 2018 18:41:50 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from yo.waitman.net (localhost [127.0.0.1]) by yo.waitman.net (Postfix) with ESMTP id 6DA7A5FA57; Sat, 23 Jun 2018 14:38:37 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 23 Jun 2018 11:38:37 -0700 From: Waitman Gobble To: bugzilla-noreply@freebsd.org Cc: usb@freebsd.org Subject: Re: [Bug 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed Organization: Waitman Gobble Reply-To: uzimac@da3m0n8t3r.com Mail-Reply-To: uzimac@da3m0n8t3r.com In-Reply-To: References: Message-ID: <303ad60a48b8e0055278e735628747bf@yo.waitman.net> X-Sender: uzimac@da3m0n8t3r.com User-Agent: Arduent/99 X-UA-Server: Arduent/99 X-UA-Local: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 18:41:52 -0000 On 2018-06-22 10:49, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727 > > Ivan changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |bsd@abinet.ru > > --- Comment #5 from Ivan --- > This is illogical. USB supports hot plug, so kernel must handle it > without > stucking. I use audio with KVM b/w Linux. Windows and FreeBSD and I > can't even > kill mixer as entire USB waits indefinitely. > > My observations with FF playing youtube video > 1. Windows - active playback resumes after FF restart > 2. Linux - active playback resumes after FF restart > 3. FreeBSD needs reset button. AFAIK It's been behaving that way for years. Basically if the device gets unplugged the easiest option is to reboot. would be nice if that worked differently. Question, snd_uaudio came out of GENERIC config in FreeBSD-11. If I use USB audio I add snd_uaudio into the kernel config and rebuild. I don't think USB audio works without it. I don't recall seeing it available to kldload manually. I think some people want it load/unload on demand or something, like in TrueOS(?) but it was not loading snd_uaudio for me until i put the line in the kernel config, back in 11. anymore i just do it. Is something else supposed to be handling usb audio? --- Waitman Gobble From owner-freebsd-usb@freebsd.org Sat Jun 23 20:30:28 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 A82711004EC6 for ; Sat, 23 Jun 2018 20:30:28 +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 3A81D91905 for ; Sat, 23 Jun 2018 20:30:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DD9521004EC5; Sat, 23 Jun 2018 20:30:27 +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 C896B1004EC2 for ; Sat, 23 Jun 2018 20:30:27 +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 5B04191901 for ; Sat, 23 Jun 2018 20:30:27 +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 7034B1CB5B for ; Sat, 23 Jun 2018 20:30:26 +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 w5NKUQIk044272 for ; Sat, 23 Jun 2018 20:30:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5NKUQpw044270 for usb@FreeBSD.org; Sat, 23 Jun 2018 20:30:26 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 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed Date: Sat, 23 Jun 2018 20:30:26 +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: bsd@abinet.ru 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 20:30:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727 --- Comment #7 from Ivan --- Interesting solution indeed! However, looks like I'm out of luck as several processes attached to mixer. abishai@darkstar:~ % fstat /dev/dsp* /dev/mixer*=20 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME abishai kmix 3325 13 /dev 198 crw-rw-rw- mixer1 rw=20 /dev/mixer1 abishai kmix 3325 14 /dev 198 crw-rw-rw- mixer1 rw=20 /dev/mixer1 abishai kdeinit5 3277 2188 /dev 198 crw-rw-rw- mixer1 rw=20 /dev/mixer1 abishai kdeinit5 3277 2189 /dev 198 crw-rw-rw- mixer1 rw=20 /dev/mixer1 --=20 You are receiving this mail because: You are the assignee for the bug.=