Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2008 21:35:13 GMT
From:      Yuri <yuri@tsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/120857: snd_emu10k1 driver issues a warning on unload
Message-ID:  <200802192135.m1JLZDLi030720@www.freebsd.org>
Resent-Message-ID: <200802192140.m1JLe72v032469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802192135.m1JLZDLi030720>