CD mount problems in kernel 2.6.9

fantoosh_at_hotmail.com
Date: 12/21/04


Date: 20 Dec 2004 16:55:24 -0800

Hello,

I am using redhat 9 and I updated my Kernel from 2.4.20-8 to 2.6.9.
I am not able to mount my cdrom from kernel 2.6.9.

mount gives me the following error:
mount /dev/cdrom
mount: /dev/cdrom is not a valid block device

My /etc/fstab looks as follows:

LABEL=/ / ext3 defaults
1 1
LABEL=/boot /boot ext3 defaults
1 2
none /dev/pts devpts gid=5,mode=620
0 0
none /proc proc defaults
0 0
none /dev/shm tmpfs defaults
0 0
/dev/hda3 swap swap defaults
0 0
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,owner,kudzu,ro 0 0

My grub.conf looks as follows:

default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
title New 2.6.9 kernel
root (hd0,1)
kernel /linux-2.6.9/bzImage root=/dev/hda4 ro
safedefualt

I tried with and without hdc=ide-scsi option at the end of the kernel
line for 2.6.9, but didn't work.

dmesg gives the following output:
dmesg | grep CD
hdc: UJDA755yDVD/CDRW, ATAPI CD/DVD-ROM drive

This confirms my cdrom is indeed hdc. I confirmed that /dev/cdrom is
linked to /dev/hdc

Finally depmod -ae returns nothing.

I read through previous articles regarding this topic, but none helped
(unless I did something wrong).

What am I doing wrong?
Any help will be greatly appreciated.
 
--Thanks



Relevant Pages

  • [BUG]: Crash with CONFIG_FAIR_CGROUP_SCHED=y
    ... If we skip the 'mount' command, there is no crash. ... mounting just the cpu or just the ns subsystem does not ... Kernel 2.6.24-rc1 on an x86_64 ...
    (Linux-Kernel)
  • cannot mount cdrom!
    ... This is a normal ATAPI IDE cdrom drive, ... This is what happens when I try to mount ... Uniform CD-ROM driver Revision: 3.20 ... hdc: command error: status=0x51 ...
    (Debian-User)
  • Re: usb-storage && iRIVER flash player problem
    ... > The device is seen, but there is no way to mount it, nor re-partition ... explain that the mountable vfat partition under linux is the ... > debugging enabled and not as modules, directly into the kernel. ... > nfs warning: ...
    (Linux-Kernel)
  • Re: Getting CDRW to work in Debian
    ... Note that these instructions match a tuned modular kernel such as ... method to install your network and sound drivers. ... Test your configuration using cdrecord -scanbus. ... Create mount points for these devices. ...
    (Debian-User)
  • Re: mount weirdness
    ... the first call to mount, just after boot ... the root partition, which contains /etc/fstab. ... grub and lilo load the kernel, but do no mounting of any kind (grub ... The kernel, once loaded, then mounts the root filesystem or loads code ...
    (uk.comp.os.linux)