LinuxQuestions.org
Register a domain and help support LQ
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 07-04-2009, 07:16 AM   #1
len2887
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
cdrom wont run


I have damn small linux on the hdd of my ibm 600x thinkpad, it looks really nice BUT it does not see the built in cdrom drive also it wont run my usb external cdrom drive. is this because DSL is designed to run off a cdrom therefore 'what do you need a cdrom drive for' as its already in use?
 
Old 07-04-2009, 08:40 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
How do you know it does not "see" the cd rom drive?

Have you checked the logs?

dmesg | grep cdrom
 
Old 07-04-2009, 07:03 PM   #3
len2887
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Simon, using dmesg grep cdrom gave a report which said:-

<6> cdrom open failed
<3> sr0 CDROM (loctl) reports illegal request
<6> cdrom open failed
<4> unable to identify cd-rom format

Looks like i have a problem!
 
Old 07-05-2009, 01:31 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
sr0 CDROM (loctl) reports illegal request

... hmmm, it is seen all right.
Lets have a look at your /etc/fstab file please.

try

eject -v

That actual error usually means that you have attempted to search for a file on a CDROM without the cdrom in the drive. http://www.damnsmalllinux.org/wiki/i...&printable=yes

The dmesg really needs to be run close to the boot, so we can see the cdrom drive get assigned to /dev/sr0, and so on.
 
Old 07-06-2009, 10:56 AM   #5
len2887
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I have discovered the 'mount' command. If I have a cd in the drive which has any linux code on it then using 'mount' i can toggle from 'unmounted' to 'mounted' but so far have not been able to explore contents of cd. Using the 'mount' command with no disk in or a music cd in results in a error message:- (error:mount:relocation error:mount:undefined:symbol: blkid_known_fstype)

eject -v

gave following:- invalid option --v
usage: [t] [DEVICE]

so i tried:- eject -t

gave following:- eject: /dev/cdrom: input/output error
 
Old 07-07-2009, 03:44 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
If you used mount, then you'll probably have mounted the CD fs at /media/cdrom0

check
ls /media

cd /media/cdrom0
ls

(navigate the fs tree from cli)
you can also explicitly specify a mount location...

sudo mount -t iso9660 /dev/sr0 /media/cdrom
cd /media/cdrom
ls

you are correct to test with data cds.

Quote:
- invalid option --v
usage: [t] [DEVICE]
curious... -v is for verbose output. -t is for closing the drawer.

Code:
~$ eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/scd0'
eject: `/dev/scd0' is not mounted
eject: `/dev/scd0' is not a mount point
eject: `/dev/scd0' is not a multipartition device
eject: trying to eject `/dev/scd0' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/scd0' using SCSI commands
eject: SCSI eject succeeded
the eject failure is often a precursor to HW failure. Have you tried this drive in another OS recently?

I don't think DSL comes with many manual pages - see

man eject

jic.

your version is not behaving according to standard
http://eject.sourceforge.net/manpage.html

you can also try

wodim --eject

(you'll probably have to specify a device /dev/sr0 - read the wodim manpage to learn more than you'd ever care to about cd roms).

What I'm trying to do here is interact with the cdrom drive itself.
The approaches are suggested by the dmesg output -

"unable to open cdrom drive" --> try eject in verbose
"sr0 CDROM (loctl) reports illegal request" --> no disk in the drive, disk is blank, disk is corrupt, disk is not recognised format (see below).
"unable to identify cd-rom format" --> make sure it is an unencrypted, uncompressed data cd (not the DSL install/live cd.)

Looking at your machine:
http://www.thinkwiki.org/wiki/Category:600X
... this is remarkably full featured for it's time, that's actually quite a good find. I can see why you went the DSL route. You can rule out a faulty install by trying another small OS.

Lenovo report that your drive is automatically /dev/sr0
I don't think DSL automounts removable media.
You never did say what it was that gave you the impression the drive is not seen.
 
  


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
cdrom wont eject. Slackware 12.1 metalforever Slackware 2 07-19-2008 08:48 PM
Cdrom wont eject no matter what I do..........:( M$ISBS Linux - Hardware 9 05-24-2006 11:17 AM
Trying to run photoshop in wine. Install, but wont run. bruno buys Linux - Software 14 07-15-2004 05:30 PM
CDROM wont eject Frank_Drebin Fedora 11 04-24-2004 05:11 PM
...cdrom wont boot..... WannaLearnLinux Linux - Newbie 8 05-20-2003 05:53 PM


All times are GMT -5. The time now is 01:28 AM.

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