Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 12:49:32 -0800 (PST)
From:      ath@niksun.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/10641: Default sync rate in ncr SCSI driver is slower than Ultra2 allows
Message-ID:  <19990317204932.9753615376@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10641
>Category:       kern
>Synopsis:       Default sync rate in ncr SCSI driver is slower than Ultra2 allows
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 17 12:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Heybey
>Release:        3.1-RELEASE
>Organization:
Niksun, Inc.
>Environment:
FreeBSD alpha.niksun.com 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Wed Mar 17 15:06:52 EST 1999     ath@alpha.niksun.com:/usr/src/sys/compile/ALPHA  i386

>Description:
If it is not otherwise defined (eg via the kernel config file),
sys/pci/ncr.c sets NCR_SCSI_DFLT_SYNC to 12 (which is 20 MHz).  This
means that by default ultra2 controllers will only run at half their
maximum rate.

>How-To-Repeat:
Boot system with LVD Ultra2 disks on an NCR895/896 controller.  See
the BIOS print out "80MB/s". See FreeBSD print out
"da0: 40.0MB/s transfers (20.0MHz, offset 15, 16bit)".

>Fix:
[The patch is again -current, not 3.1-RELEASE]
--- ncr.c       1999/01/27 23:45:43     1.142
+++ ncr.c       1999/03/17 20:46:22
@@ -79,7 +79,7 @@
 #ifndef        SCSI_NCR_MAX_SYNC
 
 #ifndef SCSI_NCR_DFLT_SYNC
-#define SCSI_NCR_DFLT_SYNC	(12)
+#define SCSI_NCR_DFLT_SYNC	(6)
 #endif /* SCSI_NCR_DFLT_SYNC */
 
 #else


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990317204932.9753615376>