Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 789639

Summary: dm_mod aka dm-mod.ko is loaded by default but i not use RAID or LVM
Product: Red Hat Enterprise Linux 6 Reporter: xset1980
Component: device-mapperAssignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1CC: agk, dwysocha, harald, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, xset1980, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-12 00:28:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description xset1980 2012-02-11 23:27:54 UTC
Description of problem:

rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM is specified in cmdline, and no have any RAID or LVM, but, rc.sysinit, check the /proc/devices, and see device-mapper and load dm_mod module.
I no have any device-mapper, no use any RAID, LVM or encription for / or /home.
So, dm_mod is loaded for a error in device mapper or kernel, that report an no present device in /proc/devices.

I mofidy the /etc/dracut.conf uncommented the line hostonly, and adding the module for not load, and recreated the initrd image, but, the module is loaded anyway.

Fedora 13, rd_NO_DM rd_NO_MD work, and prevent the load of modules at start
dracut.conf

cat /etc/dracut.conf
# Sample dracut config file

# Specific list of dracut modules to use
#dracutmodules+=""

# Dracut modules to omit
omit_dracutmodules+="dm-mod dm_mod dm-mod.ko"

# Dracut modules to add to the default
#add_dracutmodules+=""

# additional kernel modules to the default
#add_drivers+=""

# list of kernel filesystem modules to be included in the generic initramfs
#filesystems+="ext4 ext2 ext3 ntfs fuse reiserfs"

# build initrd only to boot current hardware
hostonly="yes"
#

# install local /etc/mdadm.conf
mdadmconf="no"

# install local /etc/lvm/lvm.conf
lvmconf="no"



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

vmlinuz-2.6.32-220.4.1.el6.i686

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
dm_mod is loaded

Expected results:
dm_mod loaded only if LVM, RAID or encription partition is present

Additional info:

Scientific Linux 6.1 x86

Comment 2 Alasdair Kergon 2012-02-12 00:28:49 UTC

*** This bug has been marked as a duplicate of bug 789630 ***