From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 23 06:59:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9399F106564A for ; Mon, 23 Apr 2012 06:59:34 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 61FCB8FC0C for ; Mon, 23 Apr 2012 06:59:34 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q3N6xMix075512; Sun, 22 Apr 2012 23:59:23 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4F94FDCA.6050003@rawbw.com> Date: Sun, 22 Apr 2012 23:59:22 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120316 Thunderbird/10.0.3 MIME-Version: 1.0 To: Hans Petter Selasky References: <4F94A7A4.5080203@rawbw.com> <201204230754.49422.hselasky@c2i.net> In-Reply-To: <201204230754.49422.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can't unload snd_uaudio: it hangs in D+ state X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 06:59:34 -0000 On 04/22/2012 22:54, Hans Petter Selasky wrote: > > If it says in dmesg that an application is using a device, that is a problem > with the PCM layer, that doesn't support detach of devices if they are in use. Other snd_xxx.ko can't be unloaded when in use, ex: # kldunload snd_es137x.ko kldunload: can't unload file: Device busy Something is different with snd_usound.ko Yuri