Red Hat Bugzilla – Bug 126389
CDROM won't mount after FC1-->FC2 upgrade
Last modified: 2007-11-30 17:10:45 EST
Description of problem:
After upgrading from FC1-->FC2 attempts to mount /dev/cdrom
will produce the error mount: /dev/cdrom is not a valid block device.
This was working fine in FC1
Version-Release number of selected component (if applicable):
Kernel version 2.6.6-1.435.
Steps to Reproduce:
1. Upgrade from FC1 to FC2
2. As root issue mount /dev/cdrom /mnt/cdrom
After some more investigation I've found:
Prior to upgrade the /var/log/messages file contained the following
information during a boot sequence:
Jun 15 21:57:53 master kernel: hdc: YAMAHA CRW3200E, ATAPI CD/DVD-ROM
Followed by (a little later):
Jun 15 21:57:55 master kernel: SCSI subsystem driver Revision: 1.00
Jun 15 21:57:55 master kernel: hdc: attached ide-scsi driver.
Jun 15 21:57:55 master kernel: scsi0 : SCSI host adapter emulation for
IDE ATAPI devices
Jun 15 21:57:55 master kernel: Vendor: YAMAHA Model: CRW3200E
Jun 15 21:57:55 master kernel: Type: CD-ROM
ANSI SCSI revision: 02:
After the upgrade, the second section is missing that is the only line
that appears during the boot sequence is:
Jun 18 22:56:42 master kernel: hdc: YAMAHA CRW3200E, ATAPI CD/DVD-ROM
I also noticed that in the kernel-2.6.6-i686.config file, which I
assume is used to build the distribution kernel, that
# CONFIG_BLK_DEV_IDESCSI is not set
I would assume this is the cause but are there other related options
that need to be set?
/dev/cdrom is a symlink, I suspect it didn't get updated to point to
/dev/hdc during the upgrade...
I checked that, the symlink points to /dev/hdc...
I've solved my own problem. The issue is in grub.conf. During the
FC1-->FC2 upgrade the module ide-scsi was not compiled in as part of
the kernel distribution (along with destroying my X config, my pppd
config, breaking my sound, etc etc etc). I understand why the module
wasn't compiled in since it crashes when "modprobed". The solution is
to remove the hdc=ide-scsi from the kernel line in the grub.conf file.