tran_bus_reset(9E) Driver Entry Points tran_bus_reset(9E)NAME
tran_bus_reset - reset a SCSI bus
SYNOPSIS
#include <sys/scsi/scsi.h> int prefix
tran_bus_reset(dev_info_t *hba_dip, int level);
INTERFACE LEVEL
Solaris DDI
PARAMETERS
hba_dip The dev_info_t pointer associated with the SCSI HBA.
level The level of reset required.
DESCRIPTION
The tran_bus_reset() vector in the scsi_hba_tran(9S) structure should be initialized during the HBA driver's attach(9E). It is an HBA
entry point to be called when a user initiates a bus reset through device control interfaces.
tran_bus_reset() must reset the SCSI bus without resetting targets.
level will be one of the following:
RESET_BUS Reset the SCSI bus only, not the targets.
Implementation is hardware specific. If it is not possible to reset the SCSI bus without changing the state and operating mode of the tar-
gets, the HBA driver should not initialize this vector or return failure.
RETURN VALUES
tran_bus_reset() should return:
1 on success.
0 on failure.
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5), tran_quiesce(9E), scsi_hba_tran(9S)SunOS 5.11 17 Mar 1999 tran_bus_reset(9E)
Check Out this Related Man Page
tran_bus_reset(9e) Driver Entry Points tran_bus_reset(9e)NAME
tran_bus_reset - reset a SCSI bus
SYNOPSIS
#include <sys/scsi/scsi.h> int prefix
tran_bus_reset(dev_info_t *hba_dip, int level);
INTERFACE LEVEL
Solaris DDI
PARAMETERS
hba_dip The dev_info_t pointer associated with the SCSI HBA.
level The level of reset required.
DESCRIPTION
The tran_bus_reset() vector in the scsi_hba_tran(9S) structure should be initialized during the HBA driver's attach(9E). It is an HBA
entry point to be called when a user initiates a bus reset through device control interfaces.
tran_bus_reset() must reset the SCSI bus without resetting targets.
level will be one of the following:
RESET_BUS Reset the SCSI bus only, not the targets.
Implementation is hardware specific. If it is not possible to reset the SCSI bus without changing the state and operating mode of the tar-
gets, the HBA driver should not initialize this vector or return failure.
RETURN VALUES
tran_bus_reset() should return:
1 on success.
0 on failure.
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Stability Level |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5), tran_quiesce(9E), scsi_hba_tran(9S)SunOS 5.10 17 Mar 1999 tran_bus_reset(9e)
Pls can u help me diagnosed this Notice l receive during booting of my openserver 5.0.4 unix from the kernel.
NOTICE:cha:SCSI bus has been reset ha=0
Attached SCSI peripherals will retunr to power up
state (ChaN04)
NOTICE:cha:SCSI command timed out ha=0... (2 Replies)
Anyone have any ideas what could be causing me to get the error "The SCSI bus is hung. Perhaps an external device is turned off"? This is occuring when I try to boot off of my external CDROM. I have tried this CDROM on 3 different systems, tried different SCSI cables, and different terminators... (2 Replies)
I'm floundering here trying to locate a PCI-E 1x HBA that will support an external tape drive in SCO Openserver 6. I was unable to find anything that would work in the compatible hardware list and a call to Adaptec confirmed that PCI-X would've been a better option for the risers in the Dell 2950... (1 Reply)
hi,
We are currently working on block level driver in linux ubuntu .we are having a storage controller and we are trying to capture and filling the scsi requests to a particular LUN.
We are trying to mask a request for that LUN. We were able to get LUN id of hard drive. Our objective is... (0 Replies)
I have JNI FCE-6460-N fc card , it is detected in OK prompt.....I connected Sun StorEDGE A5000 FC storage.
in OK prompt, PROBE-SCSI-ALL
showing A5000 fc hdds details in ok prompt.....
but in OS level.....not showing the hdd, i tried in DEVFSADM command and FORMAT command not showing A5000... (3 Replies)
Can anybody get me some sample driver code of linux block drivers to send request to scsi disks?
Basically I need a sample code of linux scsi block driver.
I tried googling for sample code but did not find it. (1 Reply)
Hi,
I have presented a LUN to a VM (RHEL 5.8) and need to scan the scsi bus in order for the OS to pick it up.
On FC attached hosts I can:
echo "1" > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan
....but this does not work on my vm.
... (3 Replies)
Hi, i want to add a line at the beginning of every file in a directory.
perl -i.bkp -p -e 'print "#include /verif/pdd1/exu/sxs/6sTest/reset/dfu/top_level.reset\n" if $. == 1' *.reset
But this command is updating only the first file in the directory. I think this is because $. is not resetting... (3 Replies)