Bug 215709 - Some modules have incorrect ref count after first use
Summary: Some modules have incorrect ref count after first use
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 6
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-15 10:55 UTC by vvs
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2007-01-22 13:24:10 UTC


Attachments (Terms of Use)

Description vvs 2006-11-15 10:55:02 UTC
Description of problem:

Some kernel modules (e.g. loop, floppy, ide-cd) have incorrect ref count after
their first use, which prevent them from unloading.

Version-Release number of selected component (if applicable):

kernel-2.6.18-1.2849.fc6

How reproducible:

Always

Steps to Reproduce:
1. modprobe loop
2. lsmod
3. take note of ref count ("Used by"), should be zero
4. losetup /dev/loopx somefile (where loopx is free loop device)
5. losetup -d /dev/loopx
6. lsmod
  
Actual results:

The ref count is NOT zero

Expected results:

It should be zero

Additional info:

It's important that you do the above steps right after loading kernel module. It
may be necessary to modify modprobe.conf to make this module unavailable during
system boot and enable it later.

The same thing happens with floppy and ide-cd modules.


Note You need to log in before you can comment on or make changes to this bug.