From: James Bottomley <James.Bottomley@SteelEye.com>
To: "K.R. Foley" <kr@cybsft.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: 2.6.12-rc3 won't boot from aic7899
Date: Thu, 28 Apr 2005 12:30:11 -0700 [thread overview]
Message-ID: <1114716611.5022.6.camel@mulgrave> (raw)
In-Reply-To: <4269C60C.3070700@cybsft.com>
On Fri, 2005-04-22 at 22:50 -0500, K.R. Foley wrote:
> scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> <Adaptec aic7899 Ultra160 SCSI adapter>
> aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
>
> Vendor: SEAGATE Model: SX118273LC Rev: 6679
> Type: Direct-Access ANSI SCSI revision: 02
> scsi1:A:0:0: Tagged Queuing enabled. Depth 32
> target1:0:0: Beginning Domain Validation
> (scsi1:A:0): 6.600MB/s transfers (16bit)
> (scsi1:A:0:0): parity error detected in Data-in phase. SEQADDR(0x6b)
> SCSIRATE(0x80)
I assume it just locks up after this?
It looks like the parity error isn't propagating upwards like it should.
What did a 2.6.11 boot sequence show for this (i.e. did the internal
aic7xxx DV configure the device narrow)?
I suspect the attached patch might fix this in the core driver, if you
could try it out.
Thanks,
James
--- k/drivers/scsi/aic7xxx/aic7xxx_core.c (mode:100644)
+++ l/drivers/scsi/aic7xxx/aic7xxx_core.c (mode:100644)
@@ -1125,16 +1125,9 @@ ahc_handle_scsiint(struct ahc_softc *ahc
else
ahc_outb(ahc, MSG_OUT, mesg_out);
}
- /*
- * Force a renegotiation with this target just in
- * case we are out of sync for some external reason
- * unknown (or unreported) by the target.
- */
- ahc_fetch_devinfo(ahc, &devinfo);
- ahc_force_renegotiation(ahc, &devinfo);
-
- ahc_outb(ahc, CLRINT, CLRSCSIINT);
- ahc_unpause(ahc);
+ if (scb != NULL)
+ ahc_set_transaction_status(scb, CAM_UNCOR_PARITY);
+ ahc_reset_channel(ahc, devinfo.channel, TRUE);
} else if ((status & SELTO) != 0) {
u_int scbptr;
next prev parent reply other threads:[~2005-04-28 19:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 3:50 2.6.12-rc3 won't boot from aic7899 K.R. Foley
2005-04-28 19:30 ` James Bottomley [this message]
2005-04-28 20:02 ` K.R. Foley
2005-04-28 20:20 ` James Bottomley
2005-04-28 20:26 ` K.R. Foley
2005-05-01 23:35 ` Mogens Valentin
2005-04-29 10:54 ` K.R. Foley
2005-05-01 20:29 ` James Bottomley
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=1114716611.5022.6.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=kr@cybsft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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