Bug 11144

Summary: GNOME causes slow SCSI CD-ROM reads
Product: [Retired] Red Hat Linux Reporter: jhubbs
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-19 17:45:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jhubbs 2000-05-01 14:12:52 UTC
This system is based on a 700-MHz Athlon, K7V motherboard.  There is an
SIIG AP-10 SCSI controller on which I have connected a Ricoh CD-RW drive.

The OS version is RH 6.2.

When in GNOME, if I insert a CD and type a command like this from a shell:

cp -av /mnt/cdrom /home/test

The first dozen-odd files shoot over and the remainder just sort of "leaks"
over - maybe a file every 1-2 seconds, even if the files are only 20-50K.
I strongly suspected a CD-RW or SCSI controller problem until I noticed
that outside of X, the problem went away.  I started KDE and the problem
was gone.  It seems to only occur when in GNOME.  I suspect it may have
something to do with the automount feature, which doesn't seem to be
enabled or present in your 6.2 distribution's KDE setup.

Comment 1 Preston Brown 2000-05-08 14:52:59 UTC
make sure you have magicdev turned off in the control panel.

Comment 2 jhubbs 2000-05-24 19:54:59 UTC
<snip>
------- Additional Comments From pbrown  05/08/00 10:52 -------
 make sure you have magicdev turned off in the control panel.
<snip>

I'm sorry, but I don't find your response very helpful.  Are you saying that
magicdev is SUPPOSED to screw up CD-ROM reads??  If so, why is it even in your
distribution??  Is there another way, in KDE or GNOME, to obtain automounting of
CDs and floppies?

- Jeff

- Jeff

Comment 3 Elliot Lee 2000-07-17 22:16:55 UTC
> Are you saying that
> magicdev is SUPPOSED to screw up CD-ROM reads??  If so, why is it even in your
> distribution??  Is there another way, in KDE or GNOME, to obtain
> automounting of CDs and floppies?

It is not "supposed to" - it is inevitable. To check for the presence or
abscence of a disk requires reading from the drive, which will interfere with
other pending operations.

I agree that it is not desirable for this to happen, but there is no other way
to do it.

Comment 4 jhubbs 2000-07-18 13:37:37 UTC
In that case, I question the logic on which the whole scheme is based.  I would think that the act of reading from a CD is evidence enough that a CD is in 
fact in the drive; why is it necessary or "inevitable" to have to interrupt that process to the extent that the CD-ROM drive runs at a tiny fraction of its rated 
speed to test a fact that the OS already knows?  This is more than simply "undesirable;" it's downright shoddy and does not illustrate Red Hat's to be a 
"quality" distribution.



Comment 5 Martijn 2000-09-20 15:28:32 UTC
Have you read the docs? /usr/src/linux/Documentation/cdrom/cdrom-standard.tex
explains why this isn't inevitable at all.


Comment 6 Elliot Lee 2000-09-20 21:59:12 UTC
I'm always willing to accept patches that show my stupidity up. Until then, I
remain unconvinced - for example, just reading from a CD is not going to work
with audio CD's.

Comment 7 Owen Taylor 2001-02-08 00:09:09 UTC
Magicdev does not read from the device - it opens it in
non-reading mode (O_NONBLOCK) and does some ioctls.

This is a kernel bug.

Comment 8 Elliot Lee 2001-02-19 17:45:24 UTC
Perhaps assigning this to a kernel person would be in order, then...

Comment 9 Michael K. Johnson 2001-02-21 16:42:08 UTC
Different CDROM device deal differently with being queried.  For this
hardware, the workaround is to simply disable magicdev.  For other
hardware, this bug doesn't happen.  But I do believe it to be related
to the particular CDROM device you have.

Comment 10 openshift-github-bot 2018-08-02 12:36:49 UTC
Commit pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/119d63da55bbbc11e8f148d91dffb4e60ed2217f
Merge pull request #11153 from kalexand-rh/issue11144

removing a note about tokens and GitLab