08-17-2012
I assume you had the good sense not to touch it.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi. I am newbie in Unix. I wanted to install Free BSD 5.2.1 to my computer which winXp was already installed. But i couldn't.
I chose Standard. Then it said you are going to use dos style fdisk partitioning. Then a window displayed begining like this.
WARNING: A geometry of 155127/16/63 for... (0 Replies)
Discussion started by: sualcavab
0 Replies
2. Shell Programming and Scripting
Hi,
I have variables like mentioned below and want to separate as mentioned in output.
var1="4 x fibre cards"
var2="2 fibre cards"
var3="6 - fibre cards"
var4="4 x dual-port"
I have variables like this.I want to separate numbers from this and fibre cards from this.
output has to be... (4 Replies)
Discussion started by: ajilesh
4 Replies
3. AIX
Hello,
I have two systems that are being prepared to be SAN attached ..
can anyone tell me any specific checks I should perform prior to the cards being installed...
I am aware of firmware / OS level and relevant drivers, is there anything else?
thanks
Chris. (8 Replies)
Discussion started by: chlawren
8 Replies
4. Solaris
When loooking at files in a directory using ls, how can I tell if I have a hard link or soft link? (11 Replies)
Discussion started by: Harleyrci
11 Replies
5. AIX
Hi
I'm logged in as root in an aix box
Which command will list all the soft links and hard links present in the server ? (2 Replies)
Discussion started by: newtoaixos
2 Replies
6. Hardware
We will be buying new Xeon E5-based servers for our datacenter and were wondering which Fibre Channel host bus adapters we should select for these. The choices are Emulex or QLogic (8Gb FC HBAs). Anybody have any recommendations on which is the better choice?
Thanks in advance. (1 Reply)
Discussion started by: atahmass
1 Replies
7. AIX
Hi guys,
I've been trying to tackle this issue for days and I'm stumped. Hopefully someone can give more light on what else I can do.
I have a p7 series box, with dual VIOS and 10 lpars and everything was working fine until I had to move the box to another location in the data centre. Ensured... (16 Replies)
Discussion started by: aixkidbee
16 Replies
LEARN ABOUT OPENSOLARIS
scsi_sense_asc
scsi_sense_key(9F) Kernel Functions for Drivers scsi_sense_key(9F)
NAME
scsi_sense_key, scsi_sense_asc, scsi_sense_ascq - retrieve fields from SCSI sense data
SYNOPSIS
#include <sys/scsi/scsi.h>
uint8_t scsi_sense_key(uint8_t *sense_buffer);
uint8_t scsi_sense_asc(uint8_t *sense_buffer);
uint8_t scsi_sense_ascq(uint8_t *sense_buffer);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
sense_buffer Pointer to a buffer containing SCSI sense data. The sense data is expected in wire format starting at the response code. It
can be in either fixed or descriptor format.
DESCRIPTION
The scsi_sense_key() function returns the sense key value from the sense data contained in the sense_buffer.
The scsi_sense_asc() function returns the additional sense code (ASC) value from the sense data contained in the sense_buffer.
The scsi_sense_ascq() function returns the additional sense code qualifier (ASCQ) value from the sense data contained in the sense_buffer.
The scsi_sense_key(), scsi_sense_asc(), and scsi_sense_ascq() functions are used to retrieve values from SCSI sense data, regardles of
whether the sense data is in fixed format or descriptor format.
Drivers should use scsi_validate_sense(9F) to ensure that valid sense key, asc, and ascq values are present in the sense data.
RETURN VALUES
The scsi_sense_key() function returns the sense key value from the sense buffer. The scsi_sense_asc() function returns the additional sense
code (ASC) from the sense buffer and the scsi_sense_ascq() function returns the additional sense code qualifier (ASCQ) from the sense buf-
fer.
CONTEXT
The scsi_sense_key(), scsi_sense_asc(), and scsi_sense_ascq() functions can be called from user or interrupt context.
SEE ALSO
scsi_ext_sense_fields(9F), scsi_find_sense_descr(9F), scsi_sense_cmdspecific_uint64(9F), scsi_sense_info_uint64(9F), scsi_vali-
date_sense(9F)
SunOS 5.11 28 Jun 2006 scsi_sense_key(9F)