Trouble mounting CDROM using 2.6 Kernel

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Wed May 5 00:55:55 UTC 2004


On Tuesday 04 May 2004 16:53, Jim Ruxton wrote:

> This is using the following fstab line:
>
> /dev/hdc              /mnt/cdrom              iso9660 noauto,user,ro 0 0
>
> If I try to mount directly:
>
> mount -t iso9660 /dev/hdc /mnt/cdrom
>
> I get this error message:
>
> mount: block device /dev/hdc is write-protected, mounting read-only
> mount: wrong fs type, bad option, bad superblock on /dev/hdc,
>        or too many mounted file systems

Are you sure that your kernel has iso9660 support?  cat /proc/filesystems to 
see if iso9660 is listed.  "modprobe isofs" if it isn't listed and then 
verify that it is listed.

> My grub.conf file sets hdc=ide-cd
> ie.
>
> kernel /bzImage-2.6.4 ro root=/dev/hda6 hdc=ide-cd

You should not need to do this ... at least I don't do it and my cdrom works 
fine.

> Anyone have any thoughts what I'm doing wrong? I would use /dev/cdrom
> but it is sym linked to scd0 and I understand that ide-scsi isn't used
> in the 2.6 kernel for cdroms. This was all working fine in the 2.4 kernel.

ide-scsi should only be needed for cd burning and it isn't needed even for 
that in 2.6.  Is this a kernel that you compiled yourself or a standard 
distribution kernel?

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list