From: Jens Axboe <axboe@suse.de>
To: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IDE CDROM problems -- No medium found -- 2.4.12-ac3
Date: Thu, 18 Oct 2001 08:16:09 +0200 [thread overview]
Message-ID: <20011018081609.D4048@suse.de> (raw)
In-Reply-To: <20011017161506.C930@wirex.com> <87k7xt7r1d.fsf@kosh.ultra.csn.tu-chemnitz.de>
In-Reply-To: <87k7xt7r1d.fsf@kosh.ultra.csn.tu-chemnitz.de>
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
On Thu, Oct 18 2001, Enrico Scholz wrote:
> sarnold@wirex.com (Seth Arnold) writes:
>
> > [...]
> > mount will sometimes give:
> > [...]
> > $ mount /mnt/cdrom
> > mount: No medium found
>
> ide-cd.c is broken since 2.4.1 and gives bad status reports on most
> ATAPI drives. Perhaps the attached patch helps...
I just sent the right diff to Linus and Alan some days ago, it should
look like this.
--
Jens Axboe
[-- Attachment #2: ide-cd-tray-1 --]
[-- Type: text/plain, Size: 405 bytes --]
--- /opt/kernel/linux-2.4.10-pre11/drivers/ide/ide-cd.c Thu Aug 16 18:30:45 2001
+++ drivers/ide/ide-cd.c Mon Oct 15 18:54:52 2001
@@ -2409,7 +2409,7 @@
* any other way to detect this...
*/
if (sense.sense_key == NOT_READY) {
- if (sense.asc == 0x3a && (!sense.ascq||sense.ascq == 1))
+ if (sense.asc == 0x3a && sense.ascq == 1)
return CDS_NO_DISC;
else
return CDS_TRAY_OPEN;
prev parent reply other threads:[~2001-10-18 6:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 23:15 IDE CDROM problems -- No medium found -- 2.4.12-ac3 Seth Arnold
2001-10-18 0:03 ` Enrico Scholz
2001-10-18 6: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=20011018081609.D4048@suse.de \
--to=axboe@suse.de \
--cc=enrico.scholz@informatik.tu-chemnitz.de \
--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