From owner-aic7xxx Fri Aug 29 11:01:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA18056 for aic7xxx-outgoing; Fri, 29 Aug 1997 11:01:53 -0700 (PDT) Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.110.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA18050 for ; Fri, 29 Aug 1997 11:01:49 -0700 (PDT) Received: from fndapc ("port 4704"@fndapc.fnal.gov) by FNAL.FNAL.GOV (PMDF V5.0-8 #3998) id <01IN0H11R3WQ002BHD@FNAL.FNAL.GOV>; Fri, 29 Aug 1997 13:01:48 -0600 Date: Fri, 29 Aug 1997 13:01:02 -0006 From: slimmer@FNAL.GOV Subject: AHA-2940, CHECK_CONDITION To: aic7xxx@freebsd.org Cc: slimmer@FNAL.GOV Reply-to: slimmer@FNAL.GOV Message-id: <01IN0H11RI18002BHD@FNAL.FNAL.GOV> MIME-version: 1.0 X-Mailer: Pegasus Mail for Windows (v2.32) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal Comments: Authenticated sender is Sender: owner-aic7xxx@freebsd.org X-Loop: FreeBSD.org Precedence: bulk hi, I'm developing a user level interface with the generic scsi driver sg.c under linux-2.0.29. The target scsi device attached to my aha-2940 returns CHECK_CONDITION (0x02) to indicate an abnormal, but not fatal event. When I check the result from the scsi transaction, this status is set to 0, and there is no sense information (there should be). Has anyone got insight into how I can reliably get the CHECK_ CONDITION status? thanks, Dave Slimmer Fermilab