10 More Discussions You Might Find Interesting
1. Proxy Server
Dear all experts here,
I would like to install a proxy server on Linux server to perform solely to control the access of Web server.
In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server.
I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
2. Shell Programming and Scripting
Does anyone know how to calculate total number of mapped reads for a certain region of a bam file using samtools flagstat?
I know to use flagstat for the whole bam file. but for a specific region of it... is there an option?
---------- Post updated at 12:27 PM ----------... (1 Reply)
Discussion started by: @man
im logged in to the vio servers now.
when i give
# lspv | wc -l
i get the count as 6246
how will i know if a lun has been already mapped to a vio client or it is left free without mapping to any of the vio client ? (1 Reply)
Discussion started by: newtoaixos
I'm facing a little trouble with my system. I have a SPARC M4000 server, which connected to a SAN with 2 Brocade 300 Switches and 1 STK 6140. The M4000 has 2 FC HBA cards, one port per card. Each card connect to one switch as follows...
___FC-HBA... (2 Replies)
Discussion started by: nam.nguyen
5. UNIX for Advanced & Expert Users
Before I forget, I'm running on a RedHat 5 box with the following uname -a output:
Linux gnc141c 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Now on to my question.
I'm using a tool that maps a Matlab .mat file using the Linux mmap functionality and then... (1 Reply)
Discussion started by: rusttree
We are running SCO OpenServer 5.0.7. Some of my users have drives mapped to the SCO box, some don't. The consultant, who setup the mapped drives, is long gone, and I need more users to have drive letter mapping.
When I try to map a drive via windows, I am repeatedly asked for a user/password,... (1 Reply)
Discussion started by: bnhcomputing
7. Shell Programming and Scripting
Hi to all. I've looked for this, and haven't found it, but please pardon me if I've overlooked something. I'm trying to come up with a relatively simple command line search and replace from and to which I can easily pipe. In particular, let's suppose there are 2 lists, A and B. If a string... (4 Replies)
Discussion started by: treesloth
8. Filesystems, Disks and Memory
I have a server running CentOS 5.1 on a virtual machine. Right now, there is one virtual disk on the system. Below are the result when I run the df commmand:
Filesystem.....1K-blocks.........Used.....Available....Use%.....Mounted on... (1 Reply)
Discussion started by: kennyw1000
9. UNIX for Advanced & Expert Users
DOES ANYONE KNOW IF THERE IS ANY C CODE YOU CAN USE WITHIN UNIX TO FIND THE REMAINING DISK SPACE ON A HARD DRIVE. (4 Replies)
Discussion started by: spu230479
10. UNIX for Dummies Questions & Answers
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
ddi_regs_map_setup(9F) Kernel Functions for Drivers ddi_regs_map_setup(9F)
ddi_regs_map_setup - set up a mapping for a register address space
int ddi_regs_map_setup(dev_info_t *dip, uint_t rnumber, caddr_t *addrp, offset_t offset, offset_t len, ddi_device_acc_attr_t *accattrp,
Solaris DDI specific (Solaris DDI).
dip Pointer to the device's dev_info structure.
rnumber Index number to the register address space set.
addrp A platform-dependent value that, when added to an offset that is less than or equal to the len parameter (see below), is
used for the dev_addr argument to the ddi_get, ddi_mem_get, and ddi_io_get/put routines.
offset Offset into the register address space.
len Length to be mapped.
accattrp Pointer to a device access attribute structure of this mapping (see ddi_device_acc_attr(9S)).
handlep Pointer to a data access handle.
ddi_regs_map_setup() maps in the register set given by rnumber. The register number determines which register set is mapped if more than
offset specifies the starting location within the register space and len indicates the size of the area to be mapped. If len is non-zero,
it overrides the length given in the register set description. If both len and offset are 0, the entire space is mapped. The base of the
mapped register space is returned in addrp.
The device access attributes are specified in the location pointed by the accattrp argument (see ddi_device_acc_attr(9S) for details).
The data access handle is returned in handlep. handlep is opaque; drivers should not attempt to interpret its value. The handle is used by
the system to encode information for subsequent data access function calls to maintain a consistent view between the host and the device.
DDI_SUCCESS Successfully set up the mapping for data access.
DDI_FAILURE Invalid register number rnumber, offset offset, or length len.
DDI_ME_RNUMBER_RANGE Invalid register number rnumber or unable to find reg property.
DDI_REGS_ACC_CONFLICT Cannot enable the register mapping due to access conflicts with other enabled mappings.
Note that the return value DDI_ME_RNUMBER_RANGE is not supported on all platforms. Also, there is potential overlap between DDI_ME_RNUM-
BER_RANGE and DDI_FAILURE. Drivers should check for !=DDI_SUCCESS rather than checking for a specific failure value.
ddi_regs_map_setup() must be called from user or kernel context.
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Architecture |PCI Local Bus, SBus, ISA |
attributes(5), ddi_regs_map_free(9F), ddi_device_acc_attr(9S)
Writing Device Drivers
SunOS 5.10 18 Nov 2004 ddi_regs_map_setup(9F)