Skip to contentSkip to conversation

request sense and log sense in st driver

DISCUSSION [email protected] 2 participants 2 messages Sep 8, 2002 – Sep 10, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

If you want this type of information, you need to use the scsi generic (sg) driver. For examples of fetching mode sense and log sense, see sg_mods and sg_logs in the sg3_utils package found at www.torque.net/sg

Performing passive commands such as mode sense and log sense via the sg interface at the same time as accessing a tape via the st driver should be ok.

Doug Gilbert

---- Original Message ----
From: Avinash Gowda
Date: Sun 9/8/02 0:37
To: '[email protected]'
Subject: request sense and log sense in st driver

Hi: I had a question on request sense and log sense in the st driver. I am trying to obtain the sense data (request and log sense) data for a scsi tape driver. These two operations are __NOT__ part of the header file mtio.h. and neither is it a part of st (driver). I would greatly appreciate if I can get some pointers on this.

TIA.

avinash
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 3 lines

Performing passive commands such as mode sense and log sense via the sg interface at the same time as accessing a tape via the st driver should be ok.

Just be prepared to synchronize the results of these passive commands with the application that is accessing the tape. A "harmless" Mode Sense command may receive a deferred error, indicating the failure of a previous write.

Tom

Quoted 34 lines · On Sun, 2002-09-08 at 12:16, [email protected] wrote:

If you want this type of information, you need to use the scsi generic (sg) driver. For examples of fetching mode sense and log sense, see sg_mods and sg_logs in the sg3_utils package found at www.torque.net/sg

Performing passive commands such as mode sense and log sense via the sg interface at the same time as accessing a tape via the st driver should be ok.

Doug Gilbert

---- Original Message ----
From: Avinash Gowda
Date: Sun 9/8/02 0:37
To: '[email protected]'
Subject: request sense and log sense in st driver

Hi: I had a question on request sense and log sense in the st driver. I am trying to obtain the sense data (request and log sense) data for a scsi tape driver. These two operations are __NOT__ part of the header file mtio.h. and neither is it a part of st (driver). I would greatly appreciate if I can get some pointers on this.

TIA.

avinash
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html