public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: "Dr. David Alan Gilbert" <gilbertd@treblig.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: logs full of chatty IDE cdrom
Date: Wed, 14 May 2003 10:16:56 +0200	[thread overview]
Message-ID: <20030514081656.GC17033@suse.de> (raw)
In-Reply-To: <20030510201744.GD662@gallifrey>

On Sat, May 10 2003, Dr. David Alan Gilbert wrote:
> Hi,
>   I'm not sure but this seems to be a lot worse in 2.5.x for some
> reason; my logs are full of I/O errors, not ready's and other errors from
> my CDROM drive that is playing audio CDs; I suspect at least some of it
> is due to kscd trying to figure out if there is a CD in an empty drive.

This should fix it.

===== drivers/ide/ide-cd.c 1.44 vs edited =====
--- 1.44/drivers/ide/ide-cd.c	Wed May  7 19:34:30 2003
+++ edited/drivers/ide/ide-cd.c	Wed May 14 10:16:09 2003
@@ -2070,6 +2070,7 @@
 
 	req.sense = sense;
 	req.cmd[0] = GPCMD_TEST_UNIT_READY;
+	req.flags |= REQ_QUIET;
 
 #if ! STANDARD_ATAPI
         /* the Sanyo 3 CD changer uses byte 7 of TEST_UNIT_READY to 

-- 
Jens Axboe


      parent reply	other threads:[~2003-05-14  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10 20:17 logs full of chatty IDE cdrom Dr. David Alan Gilbert
2003-05-10 20:41 ` Alan Cox
2003-05-10 22:47   ` Dr. David Alan Gilbert
2003-05-10 22:18     ` Alan Cox
2003-05-10 23:58       ` Dr. David Alan Gilbert
2003-05-12 10:43   ` Martin Schlemmer
2003-05-14  8:16 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030514081656.GC17033@suse.de \
    --to=axboe@suse.de \
    --cc=gilbertd@treblig.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox