Package: kmod
Version: 9-3
Severity: normal
Tags: upstream

Dear Maintainer,

Given the following situation:

% lsmod|grep oss           
snd_pcm_oss            36297  0 
snd_mixer_oss          17770  1 snd_pcm_oss

rmmod -w fails as follows:

% sudo rmmod -w snd_mixer_oss
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could 
not remove 'snd_mixer_oss': Resource temporarily unavailable
Error: could not remove module snd_mixer_oss: Resource temporarily unavailable
zsh: exit 1     sudo rmmod -w snd_mixer_oss

while rmmod on its own indicates correctly:

% sudo rmmod snd_mixer_oss 
Error: Module snd_mixer_oss is in use by: snd_pcm_oss
zsh: exit 1     sudo rmmod snd_mixer_oss

The -w option works fine when a module is in use only by processes, not other 
modules.

Regards,

Stephen


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.10-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kmod depends on:
ii  libc6     2.17-7
ii  libkmod2  9-3
ii  lsb-base  4.1+Debian12

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to