LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-27-2003, 09:13 PM   #1
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Rep: Reputation: 15
CDROM error


This one is really boggling me.

For the past couple of days I have sucessfully been using my two different CDROM drives. I have an ATAPI DVD drive & a LITE-ON 48x burner. I have been using both to copy files, etc.

After a reboot this morning I get this error from fstab.

'updatting fstab. /mnt/cdrom1 no such file or directory'

Now my burner-drive wont work. My fstab looks fine--like I never touched it--but the drive just isn't recognized. Does anyone have any suggestions? Could a program installation have messed with it? I don't think I did anything...
 
Old 09-27-2003, 09:34 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Suggestion...

If there's no.. /mnt/cdrom1 directory..


MAKE ONE!
 
Old 09-27-2003, 09:43 PM   #3
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Original Poster
Rep: Reputation: 15
Uhm... now I feel like a retard. I know I didn't erase it, but I just made a new one. Let me give this another shot.
 
Old 09-27-2003, 09:51 PM   #4
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Original Poster
Rep: Reputation: 15
Ok, that actually wasn't the problem. I mean, no, there wasn't a /mnt/cdrom1 directory but here is the exact error. (I made sure to copy it down correctly)

cannot stat /dev/cdrom1 no such file or directory [FAILED]
 
Old 09-28-2003, 10:51 AM   #5
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
There may not be such a device file. You can try
ln -l /dev/cdrom1
To see if it exists. If your cd is in the second IDE channel try
mount -t iso9660 /dev/hdc /dev/cdrom1
if you have a cd burner it may be /dev/scd0
When you find the correct device file you can set up a symlink to it eg
ln -s /dev/hdc /dev/cdrom
Hope this gives you some idears.
 
Old 09-28-2003, 11:39 AM   #6
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Original Poster
Rep: Reputation: 15
Yeah it turned out to be located at /dev/scd0. I've got it fixed.

That does seem really odd though because for the first two days of this installation it was /dev/cdrom1 and then somehow it switched on me. Does Linux do that often? It is a LITE-ON burner so I dont know if it should be at the other location afterall... should I be worried about my other /dev moving on me?
 
Old 09-28-2003, 03:27 PM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
/dev/cdrom1 is a soft link that points to a device in the /dev directory.

In order to know where Linux assigns each device, use the dmesg command.
For example:
Code:
dmesg | grep -i rom
 
Old 09-28-2003, 03:32 PM   #8
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Original Poster
Rep: Reputation: 15
Sweet thanks. I'll remember that command next time I 'lose' something. I am really wondering why it would change locations like that mid-day. Two days in a row it was found at /dev/cdrom1 and then it just seemed to move to /dev/scd0...
 
Old 09-28-2003, 04:15 PM   #9
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Did you add a new device or perform an upgrade ?

To find out where /dev/cdrom1 is pointing to, type:
Code:
ls -lsa /dev/cdrom*
 
Old 09-28-2003, 04:20 PM   #10
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Original Poster
Rep: Reputation: 15
I didn't do any kind of hardware upgrade or software upgrade (that I know of). It just seems to have moved. I got it working now by repointing the line in fstab to /dev/scd0.

I would like to recompile my kernel. Is that going to be considered an 'upgrade' and cause me to have to repoint things again?
 
Old 09-29-2003, 03:41 AM   #11
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
Compiling your kernel should not move things. Never has for me and I have done it many times. Adding or changeing your disk drives around could through. Anyway glad you are sorted now.
 
  


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
input/output error cdrom read error oobe Linux - Laptop and Netbook 1 04-01-2006 02:08 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
ManDrake 10.1 CDROM Access Error / WIreless Error aplustech2004 Linux - Laptop and Netbook 1 11-22-2004 08:35 AM
CDROM error noobtesting Linux - General 2 07-04-2004 09:53 AM
CDRom Error Mojojo Linux - Hardware 2 05-22-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:11 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
Open Source Consulting | Domain Registration