From: Borislav Petkov <petkovbb@googlemail.com>
To: Santiago Vila <sanvila@unex.es>
Cc: bzolnier@gmail.com, axboe@kernel.dk, linux-ide@vger.kernel.org
Subject: Bug 11581
Date: Sat, 4 Oct 2008 11:12:32 +0200 [thread overview]
Message-ID: <20081004091232.GB4160@gollum.tnic> (raw)
Hi,
can you please apply the following revised inquiry patch and send me your dmesg
so that we get more info on what exactly triggers that begavior with your drive?
Thanks.
---
drivers/ide/ide-cd.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 1f2df24..d5106d0 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1329,6 +1329,15 @@ static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq,
if (!rq->timeout)
rq->timeout = ATAPI_WAIT_PC;
+ if (blk_pc_request(rq)) {
+ printk(KERN_ERR "Sending BLOCK_PC to drive! Fixed.\n");
+ blk_dump_rq_flags(rq, "Original rq: ");
+ printk(KERN_ERR "rq->cmd_len: %d\n", rq->cmd_len);
+ rq->cmd_type = REQ_TYPE_ATA_PC;
+
+ dump_stack();
+ }
+
cdrom_do_block_pc(drive, rq);
} else if (blk_special_request(rq)) {
/* right now this can only be a reset... */
--
1.5.5.4
--
Regards/Gruss,
Boris.
next reply other threads:[~2008-10-04 9:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-04 9:12 Borislav Petkov [this message]
[not found] ` <Pine.LNX.4.64.0810051147470.2543@cantor.unex.es>
2008-10-10 6:16 ` Bug 11581 Borislav Petkov
2008-10-10 10:23 ` Santiago Vila
2008-10-12 7:15 ` Borislav Petkov
2008-10-14 11:18 ` Santiago Vila
2008-10-14 11:53 ` Boris Petkov
2008-10-14 15:11 ` Santiago Vila
2008-10-26 15:46 ` Borislav Petkov
2008-10-27 11:58 ` Santiago Vila
2008-10-27 13:02 ` Boris Petkov
2008-10-28 11:04 ` Santiago Vila
2008-11-10 6:34 ` Borislav Petkov
2008-11-10 12:02 ` Santiago Vila
2008-11-11 7:11 ` Borislav Petkov
2008-11-11 10:17 ` Santiago Vila
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=20081004091232.GB4160@gollum.tnic \
--to=petkovbb@googlemail.com \
--cc=axboe@kernel.dk \
--cc=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=petkovbb@gmail.com \
--cc=sanvila@unex.es \
/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