Trouble mounting CDROM using 2.6 Kernel

Sergio Salvi lists3-8OOxOvJoDXDLSf97qRSy8VAUjnlXr6A1 at public.gmane.org
Tue May 4 21:04:56 UTC 2004


Jim, does any of the commands below return anything?

cat /proc/ide/ide1/hdc/driver
cat /proc/ide/ide1/hdc/model
dmesg | grep hdc

Do you have the ide-cdrom module loaded or compiled in the kernel? Check /proc/ide/drivers.

And, the last thing, "grep iso9660 /proc/filesystems" shows anything?

As a reference, here's my output:

# cat /proc/ide/ide1/hdc/driver
ide-cdrom version 4.60

# cat /proc/ide/ide1/hdc/model
_NEC DVD+RW ND-5100A

# dmesg | grep hdc
    ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
hdc: _NEC DVD+RW ND-5100A, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

# cat /proc/ide/drivers
ide-cdrom version 4.60
ide-disk version 1.18

[]s,
Sergio Salvi.


Jim Ruxton wrote:
> Hi I was wondering if anyone has any thoughts on why I'm having trouble 
> mounting CDROM under the 2.6 Kernel. I get this message when I try to 
> mount. ie.
> 
> mount /dev/hdc
> 
> I get this error message:
> 
> mount: wrong fs type, bad option, bad superblock on /dev/hdc,
>       or too many mounted file systems
> 
> 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
> 
> My grub.conf file sets hdc=ide-cd
> ie.
> 
> kernel /bzImage-2.6.4 ro root=/dev/hda6 hdc=ide-cd
> 
> 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.
> 
> Thanks,
> Jim
> 
> 
> 
> 
> 
> -- 
> 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
> 
--
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