Bug 126389 - CDROM won't mount after FC1-->FC2 upgrade
Summary: CDROM won't mount after FC1-->FC2 upgrade
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-21 02:32 UTC by Sergio
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-26 02:34:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sergio 2004-06-21 02:32:45 UTC
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.


How reproducible:


Steps to Reproduce:
1. Upgrade from FC1 to FC2
2. As root issue mount /dev/cdrom /mnt/cdrom
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Sergio 2004-06-21 02:45:11 UTC
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
drive

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   
      Rev: 1.0b
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
drive

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?

Comment 2 Arjan van de Ven 2004-06-21 06:49:00 UTC
/dev/cdrom is a symlink, I suspect it didn't get updated to point to
/dev/hdc during the upgrade...

Comment 3 Sergio 2004-06-21 12:22:35 UTC
I checked that, the symlink points to /dev/hdc...

Comment 4 Sergio 2004-06-22 00:01:35 UTC
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.


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