Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with CD ROM drive 1

Status
Not open for further replies.

rushtosri

Programmer
Feb 25, 2001
80
US
Hello friends,

I'm new to Linux. I'm using RedHat 7.2 along with Windows ME and Windows 2000 pro. All these days everything was working fine. Just recently a new problem corped up. It was with my CD ROM drive. I'm not able to mount my cdrom drive and access it from kde or from the command prompt. Can anyone tell me how to solve this problem??

Thankx in advance..

Shri.
 
just describe some more.what cdrom, how connected. (intern, prim, secondary cable, ....)
in /dev/ you should have a device called cdrom
do a
ls -l /dev/cdrom
and you will see, where youre system tries to find the cdrom (hda,hdb,hdc,etc.)

bubak
 
Hi,



Normally binaries refer to /dev/cdrom and this is in fact a symbolic link (shortcut in windows terminology) to a real device. Presumably, you have got it pointing to the wrong device.



If its ide (atapi), you can see which of hdb, hdc, or hdd it is by doing :



$ cat /var/log/dmesg | grep hd


or

$ cat /proc/ide/hd*/media
(gives four lines - hda/hdb/hdc/hdd)


Unless you are using scsi emulation (cd-writer), then you'd probably just need to recreate the symbolic link :



# cd /dev

# ln -sf /dev/hdc cdrom



(where /dev/hdc is your actual cdrom device)



If you are mounting by reference to the mount point (vs device) then that must be missing from /etc/fstab. For example, if you had a line like :



/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0



then you could do either :



mount /dev/cdrom ((device)



or



mount /mnt/cdrom (mount point)



So, if you are referring to the mount point there must be problem in /etc/fstab.







Regards





 
Hello friends,

Thankx for ur interests in my problem. As bubak said, i found that my system tries to find cdrom at hdb. My cdrom details are as follows:

Its 52x Samsung CDROM drive atapi type(i think). Its connected as secondary.

Actually i am facing this problem from the time when i upgraded my system from RedHat 7.1 to RedHat 7.2 recently. Before it was working fine.

Any inputs appreciated..
Thankx once again
Awaiting for ur replies.....
Shri.
 
its a samsung 52X cdrom drive,
ls -l /dev/cdrom gives hdb
the error message given on mount /mnt/cdrom is
/dev/cdrom not a valid block device
the entry in /etc/fstab is alright!

reply awaited!!
shri
 
Hi,

What do you get for :

ls -l /dev/hdb
ls -l /dev/cdrom

(You need to post the complete output for /dev/hdb - the values before the date field point to the major / minor device numbers - these indicate the real device)

For /dev/hdb you should get 3 and 64 plus a 'b' at the start of the permissions indicating a block device. Something like this :

brw-rw---- 1 root disk 3, 64 May 5 1998 hdb

Hope this helps

 
Hi,



Actually I just remembered - there was a 'gotcha' with 7.2 on this issue due to failed module dependencies. You should just need to do as root :



# /sbin/depmod -ae



Regards
 
Hi,

As suggested by ifincham, depmod -ae worked out well. Now my cd rom is working fine. Thankx for ur interest in my problem, ifincham.

bye!
 
So much science to get CDRom on desktop?
I am puzzled. I just installed Red Hat 7.3 and have no cdrom shoving in mnt directory, I created it myself. Then I added
/dev/hd* /mnt/cdrom auto noauto,owner,kudzu 0 0

with * standing for all sorts of letters (b, c, d, ...) I tried but nothing comes up. My CDROm is secondary master (hdb?).
I see why Linux will never catch up MS, how many people have time to mess so long and read books to get CDRom on the desktop?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top