Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tran_bus_reset(9e) [opensolaris 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 | +-----------------------------+-----------------------------+ |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)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NOTICE:Cha

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)
Discussion started by: kayode
2 Replies

2. UNIX for Dummies Questions & Answers

SCSI bus is hung

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)
Discussion started by: saucierm
2 Replies

3. SCO

PCI Express 1x HBA for parallel SCSI in Openserver 6

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)
Discussion started by: s_mal
1 Replies

4. Red Hat

HBA Driver reset

Does anyone know how to rest the drivers on a HBA card? Tried the qlogic_lun_scan script but my system isn't seeing the sda and sdc scsi's. (1 Reply)
Discussion started by: soupbone38
1 Replies

5. Solaris

SCSI Bus Reset

hey guys i got this in my logs what does this mean: (4 Replies)
Discussion started by: sbn
4 Replies

6. BSD

How to rescan scsi bus without reboot on OpenBSD

Hello, My question as title, I don't know the exact command, anyone could tell me about it? Kevin (0 Replies)
Discussion started by: guixingyi
0 Replies

7. Ubuntu

Ending SCSI request in block level driver

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)
Discussion started by: coeteam
0 Replies

8. Solaris

Which FC HBA card support Solaris9

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)
Discussion started by: anysystem
3 Replies

9. UNIX for Advanced & Expert Users

SCSI Command Sample Driver

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)
Discussion started by: rupeshkp728
1 Replies

10. Red Hat

Scsi bus scan

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)
Discussion started by: Duffs22
3 Replies

11. Shell Programming and Scripting

How to add a line in every file with perl commandline?

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)
Discussion started by: twistedpair
3 Replies