Bug 120857 - [sound] [snd_emu10k1] snd_emu10k1 driver issues a warning on unload
Summary: [sound] [snd_emu10k1] snd_emu10k1 driver issues a warning on unload
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 7.0-PRERELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-19 21:40 UTC by yuri
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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