Thanks to DukeNuke for the suggestion of dladm before. I was able to upgrade my machine to Solaris 10. I am checking out the sue of dladm, but I am a bit confused. In order to team 2 NIC ports together on my qud ethernet card do I just do this:
dladm create aggr -d ce0 -d ce1 key
Do I need to... (1 Reply)
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
dear all,,
can i showing ip address in the seven segment display?
#ifconfig eth0 192.168.1.1
in the seven segment display will show the ip address like i'm typing in the shell...if the ip address has changed in the shell then in the seven segment display change too...
plis help me about... (3 Replies)
Hi,
I have freshly installed solaris 10 update 5 on my desktop, and during the installation, I specified a static IP address, gateway, netmask.
When I run "ifconfig rtls0" after the installation, I get the following message
#ifconfig rtls0
rtls0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4>... (8 Replies)
Greetings
how can i remove an interface from dladm?
i want to remove ce3 and ce4 which are not even plumbed but still shown in dladm output :(
dladm show-dev
ce0 link: unknown speed: 1000 Mbps duplex: full
ce1 link: unknown speed: 1000 Mbps duplex:... (3 Replies)
hello everyone, I'm a new user and unix-beginner.
I've just installer solaris 11 on my home server, disabled some services, created a fallback BE, enabled speedstep, etc
and now I'm trying to create some zones. I'd like to have an exclusive ip zone and, as far as I know, I sould assignate it... (12 Replies)
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Hi all,
I have never wondered where is the mapping of the link names to physical device path display under
dladm show-phys until today.
fmadm list reported nic port failure and i am trying to mapped it to the correct linkname in dladm show-link / dladm show-phys to see if the link is... (1 Reply)
Discussion started by: javanoob
1 Replies
LEARN ABOUT SUNOS
qassociate
qassociate(9F) Kernel Functions for Drivers qassociate(9F)NAME
qassociate - associate STREAMS queue with driver instance
SYNOPSIS
#include <sys/types.h>
#include <sys/stream.h>
#include <sys/stropts.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
int qassociate(queue_t *q, int instance);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). This entry point is required for drivers which export cb_ops(9S) entry points.
PARAMETERS
queue_t *q
Pointer to a queue(9S) structure. Either the read or write queue can be used.
int instance
Driver instance number or -1.
DESCRIPTION
The qassociate() function associates the specified STREAMS queue with the specified instance of the bottom driver in the queue. Upon suc-
cessful return, the stream is associated with the instance with any prior association dissolved.
A DLPI style-2 driver calls qassociate() while processing the DL_ATTACH_REQ message. The driver is also expected to call this interface
while performing stream associations through other means, such as ndd(1M) ioctl commands.
If instance is -1, the stream is left unassociated with any hardware instance.
If the interface returns failure, the stream is not associated with the specified instance. Any prior association is left untouched.
The interface typically fails because of failure to locate and attach the device instance. The interface never fails if the specified
instance is -1.
CONTEXT
qassociate() can be called from the stream's put(9E) entry point.
RETURN VALUES
0
Success.
-1
Failure.
EXAMPLES
A Style-2 network driver's DL_ATTACH_REQ code would specify:
if (qassociate(q, instance) != 0)
goto fail;
The association prevents Dynamic Reconfiguration (DR) from detaching the instance.
A Style-2 network driver's DL_DETACH code would specify:
(void) qassociate(q, -1);
This dissolves the queue's association with any device instance.
A Style-2 network driver's open(9E) code must call:
qassociate(q, -1);
This informs the framework that this driver has been modified to be DDI-compliant.
SEE ALSO dlpi(7P), open(9E), put(9E), ddi_no_info(9F), queue(9S)SunOS 5.10 9 Jul 2002 qassociate(9F)