From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 19 21:40:07 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0F3516A47A for ; Tue, 19 Feb 2008 21:40:07 +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 AD0AF13C4E8 for ; Tue, 19 Feb 2008 21:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1JLe764032470 for ; Tue, 19 Feb 2008 21:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1JLe72v032469; Tue, 19 Feb 2008 21:40:07 GMT (envelope-from gnats) Resent-Date: Tue, 19 Feb 2008 21:40:07 GMT Resent-Message-Id: <200802192140.m1JLe72v032469@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F341B16A469 for ; Tue, 19 Feb 2008 21:37:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E505A13C47E for ; Tue, 19 Feb 2008 21:37:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1JLZDVS030725 for ; Tue, 19 Feb 2008 21:35:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1JLZDLi030720; Tue, 19 Feb 2008 21:35:13 GMT (envelope-from nobody) Message-Id: <200802192135.m1JLZDLi030720@www.freebsd.org> Date: Tue, 19 Feb 2008 21:35:13 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/120857: snd_emu10k1 driver issues a warning on unload X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 21:40:07 -0000 >Number: 120857 >Category: misc >Synopsis: snd_emu10k1 driver issues a warning on unload >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 19 21:40:07 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #4: Tue Feb 19 08:18:11 PST 2008 >Organization: >Environment: >Description: When I just do kldload/kldunload of this driver (with the card present) I get the following message: Warning: memory type midi buffers leaked memory on destroy (1 allocations, 16 bytes leaked). When I have KDE loaded and I do 'kldunload snd_emu10k1' it says 'Device busy'. kinit and artsd have /dev/mixer0 and /dev/dsp0.0 open. But after this after I unload KDE 'kldunload snd_emu10k1' message becomes: pcm0: unregister: channel pcm0:play:dsp0.p1 busy (pid 39136) pcm0: unregister: mixer busy pcm0: unregister: mixer busy pcm0: unregister: mixer busy pcm0: unregister: mixer busy pcm0: unregister: mixer busy pcm0: unregister: mixer busy pcm0: unregister: channel pcm0:play:dsp0.p1 busy (pid 1578) pcm0: unregister: channel pcm0:play:dsp0.p1 busy (pid 1578) pcm0: unregister: mixer busy kldunload: attempt to unload file that was loaded by the kernel kldunload: attempt to unload file that was loaded by the kernel kldunload: attempt to unload file that was loaded by the kernel kldunload: attempt to unload file that was loaded by the kernel pcm0: detached Warning: memory type midi buffers leaked memory on destroy (1 allocations, 16 bytes leaked). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: