Bug 120857

Summary: [sound] [snd_emu10k1] snd_emu10k1 driver issues a warning on unload
Product: Base System Reporter: yuri
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-PRERELEASE   
Hardware: Any   
OS: Any   

Description yuri 2008-02-19 21:40:07 UTC
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).
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-02-19 22:28:22 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-multimedia

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:53 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped