LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-28-2004, 10:20 AM   #1
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Rep: Reputation: 0
CDROM Mount Problem


Hello to all. I have a problem that I hope someone can help me with. I'm a total virgin when it comes to Linux. I purchased a Teach Yourself Linux book about two weeks ago and here I am. The book is great for getting you from a to b, but it assumes everything is working fine. I've been unable to get my CD-ROM to mount. When I put a CD in the drive, it starts reading it immediately, which I assume means it's trying to mount it, but it starts scrolling error messages down the screen in text mode or just sits there in graphics mode. It takes a good 5 minutes for it to complete it's scan of the CD before it will unlock the tray. If I attempt to manually mount it either from the command line or through X window it immediately starts the scan again and the system is locked. This is only a small portion of the error message:

hdc: command error: Status=0X51 {DriveReady SeekComplete Error}
command error: error=0X50
end request: I/O error, dev 16:00 (hdc), sector 1024
UDF-fs: No partition found(1)

The sector number changes as it goes through the scan. I may have some of the spacing wrong. I was writing it down as it scrolled down the screen. Can someone tell me how to mount my CD-ROM? I'm running Red Hat 9.0 2.4.20-6 on a small P2 machine. I've found some other people on the net with exactly the same problem but no solution. Some feel it could be a problem with the kernel. Could it be something as simple as my CD-ROM not being compatible? I loaded the program from the CD just fine. Any ideas??????
 
Old 06-28-2004, 10:51 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
What type of CD are you trying to mount? Music, CDRW, data, blank etc....
 
Old 06-28-2004, 10:55 AM   #3
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
Data CD with drivers that I downloaded. But I tried others as well. Haven't tried a music CD yet.
 
Old 06-28-2004, 11:11 AM   #4
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
It looks like the disc you're trying to mount is formatted UDF. You said it contains drivers you downloaded. I'm guessing you burned these in Windows with something like DirectCD, am I right?

You should be able to read a UDF disc (I know I can).

to help us help you can you post the contents of you /etc/fstab file? This file tells you system how to mount all the various filesystems on you computer. It's the first place to look if you're having mounting troubles.
 
Old 06-28-2004, 11:23 AM   #5
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
You are correct. I did burn the CD. I'll get the information you requested tonight. Thanks for the quick response.
 
Old 06-28-2004, 11:30 AM   #6
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
something to try, when you put in the disc, open a console and:
(I'm making some assumptions on your specific configurations but this is fairly common)

mount -t udf /dev/cdrom /mnt/cdrom
(you'll need to be root for this)

again, this command will vary slightly depending on what is in /etc/fstab.

Or, if you want go back to Direct CD and close the session, then try it again, it should mount automatically.
 
Old 06-29-2004, 07:05 AM   #7
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
Here's my fstab file. I also tried a commercial CD with same results.

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda1 /mnt/win vfat defaults 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

Hope this makes sense to someone.
 
Old 06-29-2004, 08:24 AM   #8
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
when you've tried mounting the CD, are you logged in as root? Currently your fstab is set up to only allow the owner of the device (/dev/cdrom) to mount it. Most likely this is root. Unless you specifically want to limit access to your cdrom drive, you can change the fstab to allow any user on the machine to mount that device. To do this, go to the line related to the cdrom and change the word "owner" to "users" like this:

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,kudzu,ro 0 0

Now, on your mounting problems. You said you tried a regular "commercial" CD. Was this a data CD?
Try the Linux CD that you installed from, as we know there is nothing wrong with that one. This should be a standard (not UDF) filesystem, which should mount automatically, or simply with the command
mount /mnt/cdrom.

Post any errors you get.

If all goes well, then try your UDF disc that you tried earlier.
 
Old 06-29-2004, 08:28 AM   #9
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
The commercial CD I tried was the Linux CD.
 
Old 06-29-2004, 10:04 AM   #10
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
And it gave you the same error you mentioned in your first post?

Try removing the udf entry from the fstab, so it reads:

/dev/cdrom /mnt/cdrom iso9660 noauto,users,kudzu,ro 0 0

then try mounting the Linux CD.
This is how I typically configure my systems, then when I want to mount a UDF disc I mount in manually like this:

mount -t udf /dev/cdrom /mnt/cdrom
(as root)

Or, you could try changing the entry to "auto" like this:

/dev/cdrom /mnt/cdrom auto noauto,users,kudzu,ro 0 0

hope that helps
 
Old 06-29-2004, 10:11 AM   #11
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks. I'll give it a try tonight. I'll post the results tomorrow.
 
Old 06-30-2004, 09:18 AM   #12
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
I made the changes your suggested. I removed udf from fstab and changed owner to users. I then rebooted. Didn't know if I needed to but what the hell. After it came back up, I put the Linux boot CD in and the drive light came on for about 5 seconds and then went off. This was a big improvement over my previous situation. But when I tried to mount the CD in graphics mode, it would come back and say 'Not a directory'. When I tried from the console, I would get the same messages again. Not as many as before. It didn't seem to try as many sectors as before. I also got some new ones. The following section is a portion of my message log. The log was much larger, but this section contained the new errors. Even though I changed fstab to users, I still logged in as root, just in case.

Jun 29 20:26:55 localhost kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 29 20:26:55 localhost kernel: hdc: command error: error=0x50
Jun 29 20:26:55 localhost kernel: end_request: I/O error, dev 16:00 (hdc), sector 76
Jun 29 20:26:55 localhost kernel: FAT: bogus logical sector size 0
Jun 29 20:26:55 localhost kernel: VFS: Can't find a valid FAT filesystem on dev 16:00.
Jun 29 20:29:50 localhost kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 29 20:29:50 localhost kernel: hdc: command error: error=0x50
Jun 29 20:29:50 localhost kernel: end_request: I/O error, dev 16:00 (hdc), sector 116
Jun 29 20:29:50 localhost kernel: ISOFS: unable to read i-node block

Could this be a DMA problem?
 
Old 07-01-2004, 12:12 PM   #13
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
I've been searching around quite a bit and have found a number of similar problems, but nothing as to the solution yet.

Still searching........

Just out of curiosity, have you tried any other distributions? If you can get hold of a Knoppix CD (or another distro if you want), I'd be curious if you would have the same problem.

Like you said in your first post, might be the kernel version you're running. That's about all I have left to go on at this point.
 
Old 07-01-2004, 12:35 PM   #14
grover77
LQ Newbie
 
Registered: Jun 2004
Location: Tennessee
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your help. This is the first flavor of Linux I've tried. I'll let you know if I get it solved.
 
  


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
NOOB needs help with cdrom mount problem moore757 Linux - Hardware 6 04-03-2005 11:30 AM
cdrom mount problem suguname Mandriva 4 01-28-2005 01:34 AM
CDROM mount? problem ruse Mandriva 3 09-20-2004 04:10 PM
Mount CDROM problem KMcD Slackware 4 02-17-2004 07:03 PM
floppy/cdrom mount problem thar Linux - General 6 10-15-2003 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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