LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2009, 02:10 AM   #1
macubex
Member
 
Registered: Apr 2009
Posts: 43

Rep: Reputation: Disabled
Unhappy CD drive not working


I inserted a dvd in my cd drive. After that , I guess, it's not working. When I insert a cd, it makes some sounds and nothing shows up. And /media/cdrom0 directory is empty too. Please help.....
 
Old 05-19-2009, 02:13 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
What is the distribution? It might not necessarily be the problem with your linux. It could be hardware issue as well if you can check with some other drive.
 
Old 05-19-2009, 11:09 AM   #3
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Thank you for your reply.
I'm using debian. My usb ports are working. And I think my floppy drive is also working too. Do you think the reason is I inserted a dvd in my cd drive?

Unfortunately I don't have any other drives to check with.

Last edited by macubex; 05-19-2009 at 11:11 AM.
 
Old 05-19-2009, 12:08 PM   #4
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
No, I don't think that by putting a DVD in a CD drive it will break. I've done it once, and after looping like for a lot, it just kept working fine.
Maybe you need to edit your /etc/fstab, or mount it manually. You know how there are some configs to make it all automatic(like when you put a USB flash drive and then a window pops up and your /media/device dir is automatically created), I just couldn't stand that and shut that off.
Well, you should check if the device for your CD drive still exists (otherwise your kernel got screwed, or your drive is broken-> more likely). And after that put a disk, and try to mount it manually.
 
Old 05-20-2009, 12:05 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by macubex View Post
Thank you for your reply.
I'm using debian. My usb ports are working. And I think my floppy drive is also working too. Do you think the reason is I inserted a dvd in my cd drive?

Unfortunately I don't have any other drives to check with.
Ok you did not say that the drive is a usb one. So if it does not get mounted automatically, the best way is to try and mount it manually.
But I seriously doubt that a cd drive will read a dvd.
 
Old 05-20-2009, 01:26 AM   #6
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
No, my CD drive is not usb connected, that's not what I said. I just said that my usb ports are ok. When I put in a cd in my drive and try to mount it using 'KDE control module', the tray goes in, cd rotates, but then it says 'mount: No medium found'.

Quote:
No, I don't think that by putting a DVD in a CD drive it will break. I've done it once, and after looping like for a lot, it just kept working fine.
Maybe you need to edit your /etc/fstab, or mount it manually. You know how there are some configs to make it all automatic(like when you put a USB flash drive and then a window pops up and your /media/device dir is automatically created), I just couldn't stand that and shut that off.
Well, you should check if the device for your CD drive still exists (otherwise your kernel got screwed, or your drive is broken-> more likely). And after that put a disk, and try to mount it manually.

How do I know if it's the problem of my drive or kernel? And how do I rectify that?
 
Old 05-20-2009, 01:30 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Ok your mention of usb made me think it is a usb drive. Can you try and mount it manually using mount command and see if it gets mounted. The other issue could be faulty cd media and not the drive.
 
Old 05-20-2009, 08:21 AM   #8
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
Ok, I have no idea of how that 'KDE control module' thing works, so I can't tell you much about that.
You can check whether your device still exists by looking at your /dev/ directory. Your cd device is usually /dev/scd0, /dev/sr0 or /dev/hdc I think... check if there is one of those. Also, check your /proc/sys/dev/cdrom/info , if you can see numbers like after drive speed, see some letters after drive name(this will be on /dev/), then your device exists, and you probably have problems mounting the disk.
try:
Code:
less /proc/sys/dev/cdrom/info
If you succed in finding the device name, put a cd, and try
Code:
sudo mount -t iso9660 /dev/DEVICE_NAME_HERE /media/cdrom

I don't think your kernel is the problem... modules just don't get "removed" if you don't do anything for it to happen. But if you want to check, stfw for modules and how to add and remove them (and of course they keyword CD somewhere).
 
Old 05-20-2009, 08:59 AM   #9
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
less /proc/sys/dev/cdrom/info
I got this in the file

Quote:
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name: hdd
drive speed: 52
drive # of slots: 1
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 1
Can write CD-RW: 1
Can read DVD: 0
Can write DVD-R: 0
Can write DVD-RAM: 0
Can read MRW: 1
Can write MRW: 1
Can write RAM: 1


I put a cd in and then tried to mount as root. This is what I got

Quote:
root@r-1de4224f24df4:/# mount -t iso9660 /dev/hdd /media/cdrom
mount: No medium found
The cd is good.

Last edited by macubex; 05-20-2009 at 09:01 AM.
 
Old 05-20-2009, 09:14 AM   #10
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
beats me

... maybe try this?
https://lists.linux-foundation.org/p...ne/018981.html
 
Old 05-20-2009, 09:47 AM   #11
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali, Ubuntu, OpenSuse
Posts: 618

Rep: Reputation: 40
Have you tried #reboot?? I had the a similar problem with my DVD/CDRW drive. just wondering...
 
Old 05-21-2009, 01:36 AM   #12
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
I waited for some time as it said. But it still shows 'no medium found'.

Quote:
Have you tried #reboot?? I .........
Still the same.
 
Old 05-21-2009, 03:01 AM   #13
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
Well, at this point you should try booting from a live CD like knoppix or something to see whether you drive really works.
If it works you may want to install another/reinstall your kernel. Did you do any kernel update/new compilation lately?
 
Old 05-22-2009, 12:39 AM   #14
macubex
Member
 
Registered: Apr 2009
Posts: 43

Original Poster
Rep: Reputation: Disabled
It's not booting from CD. The CD rotates for a while and it boots from hard disk. And yeah, I've done an update of kernel, through the update manager of Debian.
 
Old 05-22-2009, 01:57 AM   #15
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If its not booting from the cd then you should check with the drive rather than your os and cd media.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CD Drive Not Working FredGSanford MEPIS 5 01-23-2006 08:16 AM
cd drive not working rfarmer768 Linux - Hardware 4 11-10-2004 10:04 PM
After Online update: Hard drive working and working dacosta SUSE / openSUSE 6 11-06-2004 12:14 AM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 10:58 AM
WORKING ON A FAT32 DRIVE Stephanie Linux - General 5 05-07-2001 03:03 AM


All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration