From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 29 20:30:13 2011 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F8B31065676 for ; Fri, 29 Apr 2011 20:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C6C818FC13 for ; Fri, 29 Apr 2011 20:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3TKUC0i047864 for ; Fri, 29 Apr 2011 20:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3TKUCaw047863; Fri, 29 Apr 2011 20:30:12 GMT (envelope-from gnats) Resent-Date: Fri, 29 Apr 2011 20:30:12 GMT Resent-Message-Id: <201104292030.p3TKUCaw047863@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Arnaud Lacombe Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B591106566B for ; Fri, 29 Apr 2011 20:25:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2BBE78FC16 for ; Fri, 29 Apr 2011 20:25:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3TKPQh8013001 for ; Fri, 29 Apr 2011 20:25:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p3TKPQqu013000; Fri, 29 Apr 2011 20:25:26 GMT (envelope-from nobody) Message-Id: <201104292025.p3TKPQqu013000@red.freebsd.org> Date: Fri, 29 Apr 2011 20:25:26 GMT From: Arnaud Lacombe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sat, 30 Apr 2011 02:08:23 +0000 Cc: Subject: amd64/156726: snd_uaudio(4) fails to detach when mixer is open X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 20:30:13 -0000 >Number: 156726 >Category: amd64 >Synopsis: snd_uaudio(4) fails to detach when mixer is open >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 29 20:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Arnaud Lacombe >Release: 8.2-STABLE >Organization: n/a >Environment: FreeBSD shai 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Mar 9 15:22:10 EST 2011 >Description: When a userland application has an open file descriptor to /dev/pcmN, backed by an snd_uaudio(4) based device, trying to detach this device will hang the USB stack until the userland application is closed. Ultimately, this could lead to a complete stall of the USB stack. It would be expected that every child of snd_uaudio(4) just detach themselves, letting the userland die with EIO. >How-To-Repeat: plug a snd_uaudio adapter open aumix(1) unplug the adapter >Fix: >Release-Note: >Audit-Trail: >Unformatted: