From nobody  Tue Dec 15 06:02:35 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id GAA01022;
          Tue, 15 Dec 1998 06:02:35 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199812151402.GAA01022@hub.freebsd.org>
Date: Tue, 15 Dec 1998 06:02:35 -0800 (PST)
From: geoffb@demon.net
To: freebsd-gnats-submit@freebsd.org
Subject: DELF raid volumes cause panics under CAM
X-Send-Pr-Version: www-1.0

>Number:         9092
>Category:       kern
>Synopsis:       DELF raid volumes cause panics under CAM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 15 06:10:01 PST 1998
>Closed-Date:    Wed Mar 28 11:01:16 PST 2001
>Last-Modified:  Wed Mar 28 11:01:25 PST 2001
>Originator:     Geoff Buckingham
>Release:        3.0-RELEASE
>Organization:
Demon Internet
>Environment:
FreeBSD prometheus.noc.demon.net 3.0-RELEASE FreeBSD 3.0-RELEASE #3: Tue Dec 15 10:43:17 GMT 1998
>Description:
Compuer Associated DELFRaid Logical volumes do not interact correctly
with CAM, the proper level of TAG command queing is not reached. (The
volumes are nominally capable of queing 32, CAM only gets down to 64
many SCSI errors plus kernel panics result.

With maxtags set to 32 as detailed they tend to reduce to 26 or 24 still
:-(

>How-To-Repeat:
Buy a DELF raid unit and exercise it:

bonnie -s 1000 will allways panic my system.

>Fix:
Add the following  to cam_xpt.c

        {
                /* Delf maxtags needs to be 32, probably applies to earlier versions too */
                {
                  T_ANY, SIP_MEDIA_REMOVABLE|SIP_MEDIA_FIXED,
                  /*vendor*/"C_Design", /*product*/"DELFRaid", /*revision*/"0131
"
                          },
                /*quirks*/0, /*mintags*/2, /*maxtags*/32
        },      }, 

>Release-Note:
>Audit-Trail:

From: "Kenneth D. Merry" <ken@plutotech.com>
To: geoffb@demon.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/9092: DELF raid volumes cause panics under CAM
Date: Tue, 15 Dec 1998 09:22:44 -0700 (MST)

 geoffb@demon.net wrote...
 > 
 > >Number:         9092
 > >Category:       kern
 > >Synopsis:       DELF raid volumes cause panics under CAM
 > >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:   Tue Dec 15 06:10:01 PST 1998
 > >Last-Modified:
 > >Originator:     Geoff Buckingham
 > >Organization:
 > Demon Internet
 > >Release:        3.0-RELEASE
 > >Environment:
 > FreeBSD prometheus.noc.demon.net 3.0-RELEASE FreeBSD 3.0-RELEASE #3: Tue Dec 15 10:43:17 GMT 1998
 > >Description:
 > Compuer Associated DELFRaid Logical volumes do not interact correctly
 > with CAM, the proper level of TAG command queing is not reached. (The
 > volumes are nominally capable of queing 32, CAM only gets down to 64
 > many SCSI errors plus kernel panics result.
 > 
 > With maxtags set to 32 as detailed they tend to reduce to 26 or 24 still
 > :-(
 > 
 > >How-To-Repeat:
 > Buy a DELF raid unit and exercise it:
 > 
 > bonnie -s 1000 will allways panic my system.
 > 
 > >Fix:
 > Add the following  to cam_xpt.c
 
 [ ... ]
 
 I'm glad you were able to work around the problem, but if you're getting
 kernel panics, that indicates a problem that may still exist in -current.
 
 Can you provide a stack trace from the panic?
 
 What sort of SCSI errors did you see?
 
 Ken
 -- 
 Kenneth Merry
 ken@plutotech.com
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Mar 28 11:01:16 PST 2001 
State-Changed-Why:  
Antique PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=9092 
>Unformatted:
