9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an awk related question that I was hoping you all could help with.
I am given 2 input files named OLDFILE and NEWFILE, and a Master file named MASTERFILE. They can be seen below.
OLDFILE:
a
a
a
a
a
f
g
4
5
7
8
1
2
3 (1 Reply)
Discussion started by: tiktak292
1 Replies
2. UNIX Desktop Questions & Answers
I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database.
For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies
3. Solaris
Our Solaris was hung yesterday, and dmesg show that,
nxge3 : <== nxge_m_start: initialization failed
nxge2 : nxge_dma_mem_alloc:ddi_dma_mem_alloc kmem alloc failed
nxge2 : nxge_alloc_rx_buf_dma: Alloc Failed: dma 9 size_index 10 size requested 4194304
Does it mean the DMA failure ? How... (5 Replies)
Discussion started by: dehetoxic
5 Replies
4. AIX
Friends,
One of my aix 5.3 server, en2 network adapter's entstat shows that there is an DMA overrun & underrun errors... Please help me why these errors are arising? Wat could be the cause?
Thanks (0 Replies)
Discussion started by: kmvinay
0 Replies
5. UNIX for Advanced & Expert Users
is there a program out there that will put a memory load on my HP_ux 11.11 box. I need to stress mem/swap to setup memory thresholds for my monitoring software. I am using Nimbus to monitor memory and swap. glance is telling me that memory is never past 70 percent however nimbus will page out ... (1 Reply)
Discussion started by: myork
1 Replies
6. UNIX for Dummies Questions & Answers
I am working in a UNIX terminal.
I have two functions, can I make one file with these two functions and load the file into memory?
The functions work fine now, but is it possible to put them into a file (that I can move around and stuff) and the functions can run from it?
Then how do I... (1 Reply)
Discussion started by: matthallphd
1 Replies
7. HP-UX
Refer from title:
How can i get memory used or anything that can show memory from sar file
example on solaris:-
we can use sar with option to show memory used at time that sar crontab run.
on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies
8. Shell Programming and Scripting
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies
9. Filesystems, Disks and Memory
Linux uses hdparm to set these parameters, my question is: what tool uses BSD systems (FreeBSD/OpenBSD/NetBSD)? There is another thing which FreeBSD implements on their filesystems: softupdates. If I forgot to enable this option when I partitioned the disk, how could I enable it at a later time? (1 Reply)
Discussion started by: eNTer
1 Replies
ddi_dma_cookie(9S) Data Structures for Drivers ddi_dma_cookie(9S)
NAME
ddi_dma_cookie - DMA address cookie
SYNOPSIS
#include <sys/sunddi.h>
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
The ddi_dma_cookie_t structure contains DMA address information required to program a DMA engine. The structure is filled in by a call to
ddi_dma_getwin(9F), ddi_dma_addr_bind_handle(9F), or ddi_dma_buf_bind_handle(9F), to get device-specific DMA transfer information for a DMA
request or a DMA window.
STRUCTURE MEMBERS
typedef struct {
union {
uint64_t _dmac_ll; /* 64 bit DMA address */
uint32_t _dmac_la[2]; /* 2 x 32 bit address */
} _dmu;
size_t dmac_size; /* DMA cookie size */
uint_t dmac_type; /* bus specific type bits */
} ddi_dma_cookie_t;
You can access the DMA address through the #defines: dmac_address for 32-bit addresses and dmac_laddress for 64-bit addresses. These macros
are defined as follows:
#define dmac_laddress _dmu._dmac_ll
#ifdef _LONG_LONG_HTOL
#define dmac_notused _dmu._dmac_la[0]
#define dmac_address _dmu._dmac_la[1]
#else
#define dmac_address _dmu._dmac_la[0]
#define dmac_notused _dmu._dmac_la[1]
#endif
dmac_laddress specifies a 64-bit I/O address appropriate for programming the device's DMA engine. If a device has a 64-bit DMA address reg-
ister a driver should use this field to program the DMA engine. dmac_address specifies a 32-bit I/O address. It should be used for devices
that have a 32-bit DMA address register. The I/O address range that the device can address and other DMA attributes have to be specified in
a ddi_dma_attr(9S) structure.
dmac_size describes the length of the transfer in bytes.
dmac_type contains bus-specific type bits, if appropriate. For example, a device on a PCI bus has PCI address modifier bits placed here.
SEE ALSO
pci(4), sbus(4), sysbus(4), ddi_dma_addr_bind_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_getwin(9F), ddi_dma_nextcookie(9F),
ddi_dma_attr(9S)
Writing Device Drivers
SunOS 5.10 30 Sep 1996 ddi_dma_cookie(9S)