[8079] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Kernel v2.2.15pre5 SCSI 2940U2W with AIC7895 boot still

daemon@ATHENA.MIT.EDU (Doug Ledford)
Thu Feb 10 12:41:37 2000

Message-ID: <38A2A93A.808EDF84@redhat.com>
Date:   Thu, 10 Feb 2000 07:04:10 -0500
From: Doug Ledford <dledford@redhat.com>
MIME-Version: 1.0
To: M Sweger <mikesw@whiterose.net>
Cc: Benjamin Herrenschmidt <bh40@calva.net>, alan@redhat.com,
	linux-scsi@vger.rutgers.edu, linux-kernel@vger.rutgers.edu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

M Sweger wrote:

> > > scsi : 3 hosts.
> > > (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.
> > > (scsi0:0:0:0) Data overrun detected in Data-In phase, tag 1;
> > >   Have seen Data Phase. Length=255, NumSGs=1.
> > >      sg[0] - Addr 0x7fec380 : Length 255
> > >   Vendor: WDIGTL    Model: WDE9100-1807A4    Rev: 1.30
> > >   Type:   Direct-Access                      ANSI SCSI revision: 02
> > > Detected scsi disk sda at scsi0, channel 0, id 0, lun 0

[ snip ]

> Although 2.2.13 gives the same data overrun message, 2.2.1 didn't.

> scsi : 3 hosts.
>   Vendor: WDIGTL    Model: WDE9100-1807A4    Rev: 1.30
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> (scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 8.

This is to be expected.  You aren't getting the error in the old drive not
because the sequencer doesn't have the bug, but because the INQUIRY is
happening before we negotiate WIDE transfer mode.  The actual overrun is
because we have an odd INQUIRY buffer length and WIDE transfer which means we
get an extra byte from the drive and the current version of the driver is
seeing that extra byte as an overrun instead of a wide residue.  This only
happens on your drive type because most drives don't bother to send in enough
data to fill in the entire 255 byte buffer.

-- 

 Doug Ledford <dledford@redhat.com>  http://people.redhat.com/dledford
      Please check my web site for aic7xxx updates/answers before
                      e-mailing me about problems

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post