Red Hat Bugzilla – Bug 55250
Installer does not put "alias block-major-22 cdrom" in modules.conf
Last modified: 2007-04-18 12:37:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
After installing 7.2 from scratch, the "alias block-major-22 cdrom" was not
present in /etc/modules.conf. This renders it impossible to mount IDE CD-ROMS.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mount /mnt/cdrom
Actual Results: The mount command fails, producing this message: "mount:
/dev/cdrom is not a valid block device"
Expected Results: The device should have mounted cleanly, and mount should not
produce an error message.
Hmm. My /etc/modules.conf file does not have this entry, yet I can mount cd's
fine. What kind of cdrom drive is it?
The cdrom drive is a generic ATAPI IDE one.
Then there shouldn't be any problem. Can you attach the output of 'ls -l
Original reporter: try running 'depmod -ae'.
lrwxrwxrwx 1 root root 8 Oct 27 12:40 /dev/cdrom -> /dev/hdb
brw------- 1 tr disk 3, 64 Aug 31 06:00 /dev/hdb
('tr' is the username under which I normally work. I have not explicitly
changed the permissions for hdb).
depmod -ae returns no unresolved symbols (I do now, however, have that extra
line in modules.conf.
I know of another person with a standard ATAPI CD-ROM drive, and he had that
same problem as I did. It was solved by adding the "alias block-major-22 cdrom"
line to modules.conf.
I've got the same problem on a fresh 7.2 install. My solution was the same,
just done slightly differently.
[add to /etc/modules.conf]
add above ide-cd cdrom
Now that I try it, removing the above from modules.conf and just running depmod
-ae does fix it. Odd.
katzj, is this because we run depmod against the boot kernel, which is slightly
different from the full kernel? Does upgrading to the errata kernel solve this
Yes, and yes, upgrading to the errata kernel should fix it as well (for the
Ok, this issue should be resolved by applying the errat at
http://www.redhat.com/support/errata/RHSA-2001-129.html. Please reopen this bug
if it doesn't fix the problem.