From: Stephan von Krawczynski <skraw@ithnet.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Linux 2.4.21-pre6
Date: Thu, 27 Mar 2003 17:25:54 +0100 [thread overview]
Message-ID: <20030327172554.4f4399ac.skraw@ithnet.com> (raw)
In-Reply-To: <Pine.LNX.4.53L.0303262107480.2544@freak.distro.conectiva>
On Wed, 26 Mar 2003 21:08:42 -0300 (BRT)
Marcelo Tosatti <marcelo@conectiva.com.br> wrote:
>
> Here goes -pre6.
> [...]
> o fix ide-scsi hang on SMP boxes
Sorry, no bonus.
Whatever this patch was, it did not work on my box (SMP, ide-scsi). The only
patch that I know of solving complete freeze is attached, diffed to -pre6.
Regards,
Stephan
--- linux1/drivers/scsi/ide-scsi.c 2003-03-27 15:45:55.000000000 +0100
+++ linux2/drivers/scsi/ide-scsi.c 2003-03-27 15:46:49.000000000 +0100
@@ -321,7 +321,7 @@
{
idescsi_scsi_t *scsi = drive->driver_data;
struct request *rq = HWGROUP(drive)->rq;
- idescsi_pc_t *pc = (idescsi_pc_t *) rq->buffer;
+ idescsi_pc_t *pc = rq->special;
int log = test_bit(IDESCSI_LOG_CMD, &scsi->log);
u8 *scsi_buf;
unsigned long flags;
@@ -587,7 +587,7 @@
#endif /* IDESCSI_DEBUG_LOG */
if (rq->cmd == IDESCSI_PC_RQ) {
- return idescsi_issue_pc(drive, (idescsi_pc_t *) rq->buffer);
+ return idescsi_issue_pc (drive, rq->special);
}
printk(KERN_ERR "ide-scsi: %s: unsupported command in request "
"queue (%x)\n", drive->name, rq->cmd);
@@ -1083,7 +1083,7 @@
}
ide_init_drive_cmd(rq);
- rq->buffer = (char *) pc;
+ rq->special = pc;
rq->bh = idescsi_dma_bh(drive, pc);
rq->cmd = IDESCSI_PC_RQ;
spin_unlock_irq(&io_request_lock);
next prev parent reply other threads:[~2003-03-27 16:14 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-27 0:08 Linux 2.4.21-pre6 Marcelo Tosatti
2003-03-27 1:50 ` [BK] Bluetooth updates for 2.4.21-pre6 Max Krasnyansky
2003-03-27 1:53 ` Johannes Erdfelt
2003-03-27 17:32 ` Max Krasnyansky
2003-03-27 7:53 ` Linux 2.4.21-pre6 Roger Luethi
2003-03-27 13:49 ` Jeff Garzik
2003-03-27 8:48 ` Christoph Hellwig
2003-03-27 10:10 ` mdew
2003-03-27 19:18 ` Linus Torvalds
2003-03-27 10:42 ` Geert Uytterhoeven
2003-03-27 11:56 ` Alan Cox
2003-03-27 12:01 ` Jan Knutar
2003-03-27 12:50 ` Jens Axboe
2003-03-27 13:56 ` DervishD
2003-03-27 11:47 ` Meelis Roos
2003-03-27 10:45 ` Bas Vermeulen
2003-03-27 14:12 ` Jörn Engel
2003-03-27 16:25 ` Stephan von Krawczynski [this message]
2003-03-27 16:51 ` [PATCH] d_alloc_anon for 2.4.21-pre6 Christoph Hellwig
2003-03-27 22:25 ` J.A. Magallon
2003-03-27 22:30 ` Christoph Hellwig
2003-03-27 20:41 ` [2.4 patch] fix multiple definitions of ipv6_ext_hdr Adrian Bunk
2003-03-27 20:42 ` David S. Miller
2003-03-28 1:59 ` [PATCH] alpha ptrace fix Re: Linux 2.4.21-pre6 Tom Vier
2003-03-31 18:16 ` Alvaro Figueroa
2003-03-31 18:35 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2003-03-27 7:44 Margit Schubert-While
2003-03-27 9:38 ` Benjamin Herrenschmidt
2003-03-27 16:58 Kevin Curtis
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=20030327172554.4f4399ac.skraw@ithnet.com \
--to=skraw@ithnet.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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