From nobody Sat Jul 09 22:34:34 2022 X-Original-To: bugs@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 CC37117D35F2 for ; Sat, 9 Jul 2022 22:34:34 +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 4LgQ1k4bdWz3QCZ for ; Sat, 9 Jul 2022 22:34:34 +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 4LgQ1k3YVvz12mD for ; Sat, 9 Jul 2022 22:34:34 +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 269MYYYZ030842 for ; Sat, 9 Jul 2022 22:34:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 269MYYh2030841 for bugs@FreeBSD.org; Sat, 9 Jul 2022 22:34:34 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: bugs@FreeBSD.org Subject: [Bug 265121] system will get stuck when dragonfly DAC plugged in and being used Date: Sat, 09 Jul 2022 22:34:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jon@xyinn.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657406074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WU6fb8N+480kKwtioMqWTKY9aOOYA9dsPwv87hlthVM=; b=RgeIXRR3tedfrwxqf9ES32RLkKtsEUDbLD8gZeI20vZ3ZqQ4qKak0RCtJyc8BVX5zDJ8N8 3hrrWTVbybwmMLMij65gzYhLMX1AgEkPAZrNYcXbvh5AGwfvhB73tVI2J6z56aY1k4T0qQ /coazLsxjXlFFHnt23mxnnnzLlreBaSFSwGcv9ptxOtwYuRtRy28fj+ewSGbRfgJHtn+5i 1O3pWLj/oOfsxNCwSYjRiwznixNt3BT4hmrnJGEMUA5hqo+0/VDQzNY5MGd+MuS1qOoIO3 Q8eWxbHavsLXDqpLzpMvfi6KofhxUdLwS2Fx7e7xnm3K7U189s3SC3aF1vThjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657406074; a=rsa-sha256; cv=none; b=bV712RmTpXxMTcDrwgipRC4qlzp+gvNm0uG3ejjjN+P5DstkRuj0Jljt6yYnDEVXHfoy83 qLbLIvb5qz8ZVAlggSinE384SullGb6a8d0DCpbnLsGEZ/SS7ON4NEhTb4DsWMH58BHa93 R6QQ8N9gKKGGlDnipGb0hECaw253qzG1/Wy4AGyavSVN6iHZhfEarbWVNn3VLrkon4Q60c vCwpwWiCLFA1mLgtXclUEj7ZHwBGEDDHY8idBRGl7fXHFqWY3FhptYq8AkB8GNscataODF JpDfxIOsOl2Qr5SXJpqvgV1P3KJjP3U6Fe18S3FhT+iHFl01ClPabKRBB8G6/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265121 Bug ID: 265121 Summary: system will get stuck when dragonfly DAC plugged in and being used Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jon@xyinn.org Hey all, I'm running 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac22= 12 GENERIC amd64 on a Thinkpad X260. When using a Dragonfly DAC (USB), the aud= io plays fine and all, but if the device happens to be plugged in and being us= ed in any capacity by any process (Even if the music is paused), doing a suspe= nd (zzz) will cause the system to wait for the process using the audio device = to stop. However, this never happens to essentially you end up with a stuck system. I can switch ttys but since the system is in the middle of a suspen= d, no keyboard input is accepted. The only way out if to hard power off. Device:=20 ugen0.3: at usbus0 (disconnec= ted) uaudio0: at uhub0, port 2, addr 2 (disconnected) This is the message I get (loops forever): pcm3: unregister: channel pcm3:virtual:dsp3.vp0 busy (pid 23287) pcm3: Waiting for sound application to exit! I think for these situations, it may be fine to have a timeout where the process gets killed. I could see how some people may think that's a dangero= us operation however so I'm open to other workarounds, but I don't think it ju= st waiting forever it acceptable. - Jonathan --=20 You are receiving this mail because: You are the assignee for the bug.=