public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: R.Oehler@GDImbH.com
Cc: Scsi <linux-scsi@vger.kernel.org>,
	linux-kernel@vger.kernel.org, Marcelo <marcelo@conectiva.com.br>
Subject: Re: kernel 2.4.17 crashes on SCSI-errors
Date: Thu, 3 Jan 2002 13:34:34 +0100	[thread overview]
Message-ID: <20020103133434.B6267@suse.de> (raw)
In-Reply-To: <XFMail.20020103130541.R.Oehler@GDImbH.com> <20020103130941.B1027@suse.de>
In-Reply-To: <20020103130941.B1027@suse.de>


seeing an older post on linux-scsi, you might want to retry your test
with the aic7xxx nseg bug fixed. this is against 2.4.17, haven't checked
if it's applied in 2.4.18-pre1 -- if not, Marcelo please apply.

--- drivers/scsi/aic7xxx/aic7xxx_linux.c~	Thu Jan  3 13:32:33 2002
+++ drivers/scsi/aic7xxx/aic7xxx_linux.c	Thu Jan  3 13:33:00 2002
@@ -1703,6 +1703,7 @@
 			       cmd->request_buffer,
 			       cmd->request_bufflen,
 			       scsi_to_pci_dma_dir(cmd->sc_data_direction));
+			scb->sg_count = 0;
 			scb->sg_count = ahc_linux_map_seg(ahc, scb,
 							  sg, addr,
 							  cmd->request_bufflen);


-- 
Jens Axboe


  reply	other threads:[~2002-01-03 12:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-03 12:05 kernel 2.4.17 crashes on SCSI-errors R.Oehler
2002-01-03 12:09 ` Jens Axboe
2002-01-03 12:34   ` Jens Axboe [this message]
2002-01-03 12:43 ` Alan Cox
2002-01-03 21:28   ` Andrew Morton
2002-01-04  9:43     ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2002-01-03 13:39 R.Oehler
2002-01-03 19:33 ` Keith Owens
2002-01-04  8:31   ` R.Oehler
2002-01-04  8:45     ` Jens Axboe
2002-01-04  9:48       ` R.Oehler

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=20020103133434.B6267@suse.de \
    --to=axboe@suse.de \
    --cc=R.Oehler@GDImbH.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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