misc/120857: snd_emu10k1 driver issues a warning on unload

Yuri yuri at tsoft.com
Tue Feb 19 21:40:07 UTC 2008


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


More information about the freebsd-bugs mailing list