Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey all,
I am having issues with my cd-rom setup on RH Linux 7.2 After installing RH onto my box, I have been unable to mount any cdrom into it. I have looked into different forums, all suggesting different things, none working. The error I get from dmesg is as follows when I mount the drive using
mount -t iso9660 /dev/scd0 /mnt/cdrom
The command completes but an error message of "No medium found" appears
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: No medium found
I tried using /mnt/cdrom but that maps to /dev/hdc which gives me the error
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
I then made the symlink to /dev/scd0 on /dev/cdrom and still no luck. I get the same message of No medium found
I've also ran depmod -ae resulting in no change when I run the mount commands.
Also I've checked to make sure that scsi support is installed and it is.
The specs on the system are:
1 DAC960 RAID controller ( 5 drives, 1 of which is a spare ) total HD size ~ 100GB
1 50x cdrom
1 floppy
512 MB RAM ( ECC registered)
the cdrom is connected to the mainboard which looks like it's an EIDE controller but I am probably wrong.
Why do you need scsi emulation on your IDE cd-rom? If the emulation is turned on on /dev/hdc then system is no longer aware that there is /dev/hdc exists on the system that's why you get
mount: wrong fs type, bad option, bad superblock on /dev/hdc
It seems that your cdrom isn't handling being an emulated scsi device. Turning off SCSI emulation is the easiest. If its not a burner, you really don't need it. Open up lilo.conf or grub.conf and edit out the line: "append hdc=ide-scsi". Then re-run lilo or grub. This will make the cdrom device turn back into a regular IDE device that is moutable as /dev/hdc.
# 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/rd/c0d0p2
# initrd /initrd-version.img
#boot=/dev/rd/c0d0
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$NapÒ.iTÀ$jWKTQIqkXJrodR6rnoTUj.
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/rd/c0d0p2
initrd /initrd-2.4.7-10.img
what does this mod do? I did a modinfo on sr_mod and nothing useful to me was returned. I don't want to remove this mod if it will affect the other scsi devices on the system. ( ie the RAID-5 drives)
I'm trying to get the cdrom to work. I can eject it, but I can't mount any CD. I have a RAID Array connected to a DAC960 SCSI card and a tape drive attached to a SCSI card as well. The cdrom and floppy are attached to the main board's ide connectors.
Hope that helps...
ok removed the module sr_mod and the cdrom still won't mount. I still receive the No medium found message.
mount /dev/hdc /mnt/cdrom/
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
[root@opus root]# mount /dev/hdc /mnt/cdrom/
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
[root@opus root]# mount /dev/hdc /mnt/cdrom/
mount: block device /dev/hdc is write-protected, mounting read-only
mount: No medium found
[root@opus root]# mount /mnt/cdrom
mount: No medium found
[root@opus root]# mount /dev/cdrom /mnt/cdrom/
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: No medium found
[root@opus root]#
if anyone knows a solution i am having the exact same problem. i'm not using ide-scsi at all and can mount one drive but not the other....VERY VERY strange. please help!!
I had the same problem and here is how I fixed it. I went in to /etc/fstab and chaged to look like this
/dev/scd0 /mnt/cdrom iso9660 noauto,user,ro 0 0
then I used this to link every thing: ln -sf /dev/scd0 /mnt/cdrom
and then like magic every thing worked let me know if that helped.??
I also chmoded /dev/scd0 to 777 cause it was only rw rw try that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.