Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 2002 14:27:33 -0700
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@free.fr>, freebsd-scsi@FreeBSD.ORG
Subject:   Re: SCSI driver problem: 'sym' fails, 'ahc' works. 
Message-ID:  <200203032127.g23LRXI03420@aslan.scsiguy.com>
In-Reply-To: Your message of "Sun, 03 Mar 2002 16:18:54 EST." <20020303161602.I95839-100000@sasami.jurai.net> 

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

>I've not yet tried the drives with a recent version of 'ahc'.  The
>hardware is kinda buried in a rack right now.
>
>If I had to guess at the difference I'd say that this bit of code from
>sym_hipd.c is the reason for the difference:
>
>static void sym_sir_bad_scsi_status(hcb_p np, int num, ccb_p cp)
>{
>...
>        /*
>         *  Now deal with the SCSI status.
>         */
>        switch(s_status) {
>...
>        case S_TERMINATED:
>        case S_CHECK_COND:
>                /*
>                 *  If we get an SCSI error when requesting sense, give up.
>                 */
>                if (h_flags & HF_SENSE) {
>			sym_complete_error (np, cp);
>			break;
>		}
>		...

Other than needing to complete the transaction with CAM_AUTOSENSE_FAIL,
the ahc driver does something very similar.

--
Justin

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




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