f



mount: /dev/cdrom is not a valid block device

I have had this problem with the Fefora Core 2, kernel 2.6.5-1.358.
But with the kernel 2.4.22-1.2188.nptl there is no problem to play CD.
I have tried different ways after reading other threads on this and
other forums but still does not work.

Here are some files maybe helpful for you guys. Thanks!

# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 9 Jun 4 11:24 /dev/cdrom -> /dev/scd0
###########################################3

# cat /etc/fstab.rpmsave
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 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

##########################################3
# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.6.5-1.358.img
title Fedora Core (2.4.22-1.2188.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.22-1.2188.nptl.img
0
zwang5
6/8/2004 3:10:15 AM
comp.os.linux.redhat 3518 articles. 0 followers. Post Follow

2 Replies
195 Views

Similar Articles

[PageSpeed] 40

On Mon, 07 Jun 2004 20:10:15 -0700, anoy69 wrote:

> I have had this problem with the Fefora Core 2, kernel 2.6.5-1.358. But
> with the kernel 2.4.22-1.2188.nptl there is no problem to play CD. I have
> tried different ways after reading other threads on this and other forums
> but still does not work.
> 
> Here are some files maybe helpful for you guys. Thanks!
> 
> # ls -l /dev/cdrom
> lrwxrwxrwx 1 root root 9 Jun 4 11:24 /dev/cdrom -> /dev/scd0

> kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ hdc=ide-scsi initrd
> /initrd-2.6.5-1.358.img
> title Fedora Core (2.4.22-1.2188.nptl) root (hd0,0)
> kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/ hdc=ide-scsi initrd
> /initrd-2.4.22-1.2188.nptl.img

Well, if I recall correctly, kernel 2.6.x doesn't use scsi emulation for
anything. Based on the hdc=ide-scsi in your grub.conf it seems that you
are using an ATAPI hard drive (any chance it's a CD burner?). So all you
have to do is relink /dev/cdrom -> /dev/hdc. Then you can take out the
hdc=ide-scsi comment in grub.conf and you should be fine.

BTW if it is a burner, I should mention that using cdrecord from Fedora
you now us dev=/dev/hdc and not the old scsi emulation dev=0,x,x. Took me
a while to figure that out.
0
Matt
6/8/2004 3:43:48 AM
Matt Ng <bgc_fan@hotmail.com> wrote in message news:<pan.2004.06.08.03.48.08.132532@hotmail.com>...

> 
> Well, if I recall correctly, kernel 2.6.x doesn't use scsi emulation for
> anything. Based on the hdc=ide-scsi in your grub.conf it seems that you
> are using an ATAPI hard drive (any chance it's a CD burner?). So all you
> have to do is relink /dev/cdrom -> /dev/hdc. Then you can take out the
> hdc=ide-scsi comment in grub.conf and you should be fine.

It was resolved following the instruction. Thanks.

> BTW if it is a burner, I should mention that using cdrecord from Fedora
> you now us dev=/dev/hdc and not the old scsi emulation dev=0,x,x. Took me
> a while to figure that out.

It is a burner. I am not sure how to change consequently. I will try.
0
zwang5
6/9/2004 5:42:40 PM
Reply: