CD Rom problem

CD Rom problem

Post by Kevin Scot » Thu, 27 May 1999 04:00:00



I am having a problem mounting the CD-ROM drive, but for a reason I have
never seen before.  Has anyone seen this problem before?

/etc/fstab

/dev/hdc1               /                       ext2    defaults
1 1
/dev/hdc5               swap                    swap    defaults
0 0
/dev/fd0                /mnt/floppy             ext2    noauto
0 0
/dev/cdrom      /mnt/cdrom      iso9660  exec,dev,suid,ro 0 0
none                    /proc                   proc    defaults
0 0

Things look fine here....

Upon running dmesg however, get the following, repeated errors:

hda: Maxtor 90845D4, 8063MB w/256kB Cache, CHS=1024/255/63
hdc: Maxtor 83201A6, 3060MB w/256kB Cache, CHS=6218/16/63
hdd: FX320M, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
Partition check:
 hda: hda1
 hdc: [PTBL] [777/128/63] hdc1 hdc2 < hdc5 >
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 128988k swap-space (priority -1)
hdd: media changed
hdd : tray open or drive not ready
hdd : tray open or drive not ready
hdd : tray open or drive not ready
VFS: Disk change detected on device 16:40
hdd : tray open or drive not ready
hdd : tray open

I know that the hardware is working fine (it does in Windows), and I had
successfully intsalled Redhat 5.2 (kernel 2.0.36) from the cd-rom, but
no luck now.  I have gone through the CD-ROM howto and the man on fstab,
but I can not figure what is wrong.

Thanks in advance.

Kevin

 
 
 

CD Rom problem

Post by CZ » Wed, 02 Jun 1999 04:00:00


I don't know if this is the problem but I get a bunch of the same error
messages when I mount the CD and it hasn't got anything in it (it's
empty).

Hope it helps.
CZ


> I am having a problem mounting the CD-ROM drive, but for a reason I have
> never seen before.  Has anyone seen this problem before?

> /etc/fstab

> /dev/hdc1               /                       ext2    defaults
> 1 1
> /dev/hdc5               swap                    swap    defaults
> 0 0
> /dev/fd0                /mnt/floppy             ext2    noauto
> 0 0
> /dev/cdrom      /mnt/cdrom      iso9660  exec,dev,suid,ro 0 0
> none                    /proc                   proc    defaults
> 0 0

> Things look fine here....

> Upon running dmesg however, get the following, repeated errors:

> hda: Maxtor 90845D4, 8063MB w/256kB Cache, CHS=1024/255/63
> hdc: Maxtor 83201A6, 3060MB w/256kB Cache, CHS=6218/16/63
> hdd: FX320M, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
> scsi : 0 hosts.
> scsi : detected total.
> Partition check:
>  hda: hda1
>  hdc: [PTBL] [777/128/63] hdc1 hdc2 < hdc5 >
> VFS: Mounted root (ext2 filesystem) readonly.
> Adding Swap: 128988k swap-space (priority -1)
> hdd: media changed
> hdd : tray open or drive not ready
> hdd : tray open or drive not ready
> hdd : tray open or drive not ready
> VFS: Disk change detected on device 16:40
> hdd : tray open or drive not ready
> hdd : tray open

> I know that the hardware is working fine (it does in Windows), and I had
> successfully intsalled Redhat 5.2 (kernel 2.0.36) from the cd-rom, but
> no luck now.  I have gone through the CD-ROM howto and the man on fstab,
> but I can not figure what is wrong.

> Thanks in advance.

> Kevin


 
 
 

CD Rom problem

Post by Gordon Weas » Wed, 02 Jun 1999 04:00:00


When you mount a CD rom, you are mounting the disk in the drive, not the
drive itself.  If there is no disk in the drive, the mount attempt will fail.

The same thing will happen if you try to mount a floppy drive with no
disk in it.

The series of errors comes from one of the rc scripts that gets executed
at boot time.  It is trying to mount the CD rom during start up.  If you
don't have a disk in the drive, then you can safely ignore the messages
and wait until you insert a disk to mount it.

Since your fstab entry doesn't have the 'noauto' entry, the normal boot time
pass through fstab will also try to mount the CD.

I am running Slackware with /etc/rc.d/rc.cdrom containing a pass through all
possible ide ports looking for a cd rom to mount.  I finally removed this
since the error messages got annoying.

Also remember that after you insert a disk into the cdrom drive, you need to
issue a mount command.  You won't be able to eject the disk until you
issue a umount command.  The drive door is locked while the disk is mounted.

I usually mount my cdrom to /cdrom (others prefer /mnt/cdrom, your choice)
so my mount command is:

mount /dev/cdrom /cdrom

Then to unmount, issue:

umount /cdrom
or
umount /dev/cdrom

either umount works.

Gordon Weast


> I don't know if this is the problem but I get a bunch of the same error
> messages when I mount the CD and it hasn't got anything in it (it's
> empty).

> Hope it helps.
> CZ


> > I am having a problem mounting the CD-ROM drive, but for a reason I have
> > never seen before.  Has anyone seen this problem before?

> > /etc/fstab

> > /dev/hdc1               /                       ext2    defaults
> > 1 1
> > /dev/hdc5               swap                    swap    defaults
> > 0 0
> > /dev/fd0                /mnt/floppy             ext2    noauto
> > 0 0
> > /dev/cdrom      /mnt/cdrom      iso9660  exec,dev,suid,ro 0 0
> > none                    /proc                   proc    defaults
> > 0 0

> > Things look fine here....

> > Upon running dmesg however, get the following, repeated errors:

> > hda: Maxtor 90845D4, 8063MB w/256kB Cache, CHS=1024/255/63
> > hdc: Maxtor 83201A6, 3060MB w/256kB Cache, CHS=6218/16/63
> > hdd: FX320M, ATAPI CDROM drive
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > ide1 at 0x170-0x177,0x376 on irq 15
> > Floppy drive(s): fd0 is 1.44M
> > FDC 0 is a post-1991 82077
> > md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
> > scsi : 0 hosts.
> > scsi : detected total.
> > Partition check:
> >  hda: hda1
> >  hdc: [PTBL] [777/128/63] hdc1 hdc2 < hdc5 >
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Adding Swap: 128988k swap-space (priority -1)
> > hdd: media changed
> > hdd : tray open or drive not ready
> > hdd : tray open or drive not ready
> > hdd : tray open or drive not ready
> > VFS: Disk change detected on device 16:40
> > hdd : tray open or drive not ready
> > hdd : tray open

> > I know that the hardware is working fine (it does in Windows), and I had
> > successfully intsalled Redhat 5.2 (kernel 2.0.36) from the cd-rom, but
> > no luck now.  I have gone through the CD-ROM howto and the man on fstab,
> > but I can not figure what is wrong.

> > Thanks in advance.

> > Kevin

 
 
 

1. Strange CD-ROM Issue (aka CD-ROM Problem)

Ok...this is a fairly strange problem that I don't even know how to
begin fixing.  I have Linux Mandrake 8.0 installed on my Thinkpad
i1400 laptop.  I initially had problem installing off of a CD that a
friend burned for me, but I attributed this to a bad downloaded iso
image and I downloaded the install straight to my hard drive and
installed from the hard drive.  Now, I think that the cd is really not
corrupted and is related to a problem with my cd-rom operating in
Linux.
Now, after working out most of the kinks in my system, I have really
started to use it.  My first problem relating to the CD drive has to
do with a CD that I had filled with my favorite mp3 songs.  In
windows, this cd always played fine in Winamp and the songs worked
great.  However, I noticed that, in Linux, the majority of the songs
get cut off anywhere from 30% to 90% of the way through.  XMMS just
stops playing.  KDE Media player also stops in the same spot.  I
thought that the songs must have been corrupted when they were burned
onto the cd, but, like I said, they work fine in windows off of the
cd. To try to see if it was a corruption problem, I did a diff on one
of the songs that I had on the cd with an identical song on my hard
drive.  The diff encountered an I/O error when it tried to do the
compare.  I then tried copying the song to the hard drive from the cd,
but the copy stalled at about the same % as the song would stop
playing in XMMS and I got a copy error.  If I copy the song in windows
to the hard drive, then go back into linux and do a diff, the two
songs are identical. What could be causing this problem???  I'm
absolutely clueless as to how to proceed.  Any help is much
appreciated.

Note: I have heard that this may be related to supermount.  I have
heard a lot of people complain about it.  The only thing that makes me
believe it's not supermount related is that most people who say
supermount sucks also can't get their cd-rom drives to work.  However,
mine is detected and works.  The songs and some files just get cut off
or encounter read errors.  Could this be a supermount problem or is it
something else?

2. Advice needed on install (with Win95 filesystem question)

3. Panasonic CD-532 CD-ROM: Problem Child?

4. RH 6.2: Seg Fault in Chunk-Free Malloc in control-panel

5. Setup with TEAC CD-40E CD-ROM problem

6. ATI XPERT@PLAY PCTV PROBLEM

7. CD-ROM problem with Linux CD

8. Terminal is not fully functional ???

9. CD-A24X Pioneer CD-ROM Problem

10. Compaq 580 CDS Matsushita CD-ROM Problem?

11. HELP: XFree86 Problems and CD-ROM Problems!

12. CD-ROM problems with Solaris 2.6

13. CD-ROM Problem...