[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
General Programming Concepts: Writing and Debugging Programs

Trace Hook IDs: 224 through 226

The following trace hook IDs are stored in the /usr/include/sys/trchkid.h file.

224 : HKWD DD MPQPDD

This event is recorded by the Multiprotocol Quad Port (MPQP) device driver.

Recorded Data

MPQPDD entry_open: errno: errno devno: devno devflag: devflag chan: chan p_ext: p_ext

MPQPDD exit_open: break=all. errno: errno devno: devno Suberror: suberror

MPQPDD entry_close: errno: errno devno: devno chan: chan

MPQPDD exit_close: errno: errno devno: devno Suberror: suberror

MPQPDD entry_read: errno: errno devno: devno bufptr: bufptr chan: chan ext: ext

MPQPDD exit_read: errno: errno devno: devno bufptr: bufptr chan: chan status: status Suberror: suberror

MPQPDD entry_write: errno: errno devno: devno bufptr: bufptr chan: chan ext: ext

MPQPDD exit_write: errno: errno devno: devno bufptr: bufptr chan: chan status: status Suberror: suberror

MPQPDD entry_ioctl: errno: errno devno: devno op: op flag: flag chan: chan ext: ext

MPQPDD exit_ioctl: errno: errno devno: devno Suberror: suberror

MPQPDD entry_select: errno: errno devno: devno events: events chan: chan

MPQPDD exit_select: errno: errno devno: devno reventp: reventp chan: chan Suberror: suberror

MPQPDD entry_config: errno: errno devno: devno op: op

MPQPDD exit_config: errno: errno devno: devno Suberror: suberror

MPQPDD entry_mpx: errno: errno devno: devno

MPQPDD exit_mpx: errno: errno devno: devno nameptr: nameptr chan: chan openflag: openflag Suberror: suberror

MPQPDD entry_intr: errno: errno devno: devno

MPQPDD exit_intr: errno: errno devno: devno status: status

MPQPDD entry_cstart: errno: errno devno: devno parm1: parm1 parm2: parm2 parm3: parm3 parm4: parm4

MPQPDD exit_cstart: errno: errno devno: devno parm#: parm# Parmval: Parmval Suberror: suberror

MPQPDD entry_halt: errno: errno devno: devno

MPQPDD exit_halt: errno: errno devno: devno status: status

MPQPDD entry_getstat: errno: errno devno: devno devflag: devflag chan: chan

MPQPDD exit_getstat: errno: errno devno: devno code: code opt[0]: opt[0] opt[1]: opt[1] opt[2]: opt[2]

MPQPDD exit_kread: errno: errno devno: devno openid: openid status: status bufptr: bufptr

MPQPDD exit_kstat: errno: errno devno: devno openid: openid code: code opt[0]: opt[0] opt[1]: opt[0]

MPQPDD exit_ktx_fn: errno: errno devno: devno openid: openid

MPQPDD entry_chgparm: errno: errno devno: devno rcv timer: rcv timer Poll addr: Poll addr Select addr: Select addr

MPQPDD exit_chgparm: errno: errno devno: devno

MPQPDD entry_start_ar: errno: errno devno: devno

MPQPDD exit_start_ar: errno: errno devno: devno

MPQPDD entry_flushport: errno: errno devno: devno

MPQPDD exit_flushport: errno: errno devno: devno

MPQPDD entry_adaptquery: errno: errno devno: devno

MPQPDD exit_adaptquery: errno: errno devno: devno

MPQPDD entry_query_stat: errno: errno devno: devno

MPQPDD entry_trace_on: errno: errno devno: devno

MPQPDD exit_trace_on: errno: errno devno: devno

MPQPDD entry_stop_port: errno: errno devno: devno

MPQPDD exit_stop_port: errno: errno devno: devno

MPQPDD entry_traceoff: errno: errno devno: devno

MPQPDD exit_traceoff: errno: errno devno: devno

errno: errno Error number
devno: devno Major and minor device number
devflag: devflag Device flag
chan: chan Channel
p_ext: p_ext Pointer to extension
ext: ext Extension
bufptr: bufptr Buffer pointer
status: status
op: op ioctl operation
flag: flag ioctl devflag argument
events: events events argument for select
reventp: reventp reventp argument for select
nameptr: nameptr Pointer to channel name

openflag: openflag

parm1: parm1 parm1 parameter to cstart; physical link

parm2: parm2parm2 parameter to cstart; data flags

parm3: parm3parm3 parameter to cstart; baud rate

parm4: parm4

parm4 parameter to cstart; receive data offset

parm#: parm# Parameter number
Parmval: Parmval Parameter value

opt[0]: opt[0]

opt[1]: opt[1]

opt[2]: opt[2]

openid: openid

code: code

rcv timer: rcv timer Receive timer
Poll addr: Poll addr Poll address
Select addr: Select addr Select address
Suberror: suberror Additional error information:

Adapter number too big.

There is no ACB.

No offlevel intr. structure.

Cannot register interrupt.

No port dds.

Channel too big.

Channel busy.

No mbuf available.

No transmit chain.

Adapter already opened.

Cannot set up POS REG.

Error in uiomove.

Port not open.

Port not started.

Pin code failed.

Add entry failed in devswadd.

Port already opened.

Physical link invalid.

Data protocol invalid.

Baud rate invalid.

None.

225 : HKWD DD X25DD

This event is recorded by the X25 device driver.

Recorded Data

Event:

X25DD entry_open: errno: errno devno: devno flag: flag chan: chan ext: ext

X25DD exit_open: errno: errno devno: devno Suberror: suberror chan: chan

X25DD entry_close: errno: errno devno: devno chan: chan

X25DD exit_close: errno: errno devno: devno chan: chan gp_rc: gp_rc

X25DD entry_read: errno: errno devno: devno chan: chan ext: ext

X25DD exit_read: errno: errno devno: devno packet_type: packet_type session_id: sesson_id status: status

X25DD entry_write: errno: errno devno: devno chan: chan ext: ext

X25DD exit_write: errno: errno devno: devno packet_type: packet_type session_id: sesson_id status: status

X25DD entry_ioctl: errno: errno devno: devno cmd: cmd flag: flag chan: chan

X25DD exit_ioctl: errno: errno devno: devno

X25DD entry_select: errno: errno devno: devno chan: chan events: events

X25DD exit_select: errno: errno devno: devno chan: chan events: events reventp: reventp

X25DD entry_config: errno: errno devno: devno uiop: uiop

X25DD exit_config: errno: errno devno: devno

X25DD entry_mpx: errno: errno devno: devno

X25DD exit_mpx: errno: errno devno: devno channame: channame chan: chan

X25DD entry_halt: errno: errno devno: devno chan: chan

X25DD exit_halt: errno: errno devno: devno chan: chan status: status session_id: sesson_id session_type: session_type

X25DD entry_get_stat: errno: errno devno: devno flag: flag chan: chan ext: ext

X25DD exit_get_stat: errno: errno devno: devno block.code: block.code block.opt 0: block.opt 0 block.opt 1: block.opt 1

X25DD entry_iocinfo: errno: errno devno: devno

X25DD exit_iocinfo: errno: errno devno: devno

X25DD entry_start: errno: errno devno: devno cmd: cmd flag: flag chan: chan

X25DD exit_start: errno: errno devno: devno Suberror: suberror status: status session_id: sesson_id

X25DD entry_query: errno: errno devno: devno chan: chan

X25DD exit_query: errno: errno devno: devno status: status

X25DD entry_reject_call: errno: errno devno: devno cmd: cmd flag: flag chan: chan

X25DD exit_reject_call: errno: errno devno: devno chan: chan status: status session_id: sesson_id call_id: call_id

X25DD entry_query_session: errno: errno devno: devno flag: flag chan: chan

X25DD exit_query_session: errno: errno devno: devno chan: chan session_id: session_id

X25DD entry_del_rid: errno: errno devno: devno flag: flag chan: chan

X25DD exit_del_rid: errno: errno devno: devno router_id: router_id

X25DD entry_query_rid: errno: errno devno: devno flag: flag chan: chan

X25DD exit_query_rid: errno: errno devno: devno router_id: router_id

X25DD entry_link_con: errno: errno devno: devno chan: chan

X25DD exit_link_con: errno: errno devno: devno cmd: cmd chan: chan status: status

X25DD entry_link_dis: errno: errno devno: devno cmd: cmd flag: flag chan: chan

X25DD exit_link_dis: errno: errno devno: devno cmd: cmd chan: chan status: status

X25DD entry_link_stat: errno: errno devno: devno cmd: cmd flag: flag chan: chan

X25DD exit_link_stat: errno: errno devno: devno status: status packet: packet frame: frame physical: physical

X25DD entry_local_busy: errno: errno devno: devno

X25DD exit_local_busy: errno: errno devno: devno session_id: sesson_id busy_mode: busy_mode

X25DD entry_counter_get: errno: errno devno: devno flag: flag chan: chan

X25DD exit_counter_get: errno: errno devno: devno chan: chan counter_val: counter_val

X25DD entry_counter_wait: errno: errno devno: devno flag: flag chan: chan

X25DD exit_counter_wait: errno: errno devno: devno chan: chan counter_id: counter_id counter_num: counter_num

X25DD entry_counter_read: errno: errno devno: devno flag: flag chan: chan

X25DD exit_counter_read: errno: errno devno: devno chan: chan counter_id: counter_id counter_val: counter_val

X25DD entry_counter_rem: errno: errno devno: devno flag: flag chan: chan

X25DD exit_counter_rem: errno: errno devno: devno chan: chan counter_id: counter_id

X25DD entry_diag_io: errno: errno devno: devno cmd: cmd chan: chan

X25DD exit_diag_io: errno: errno devno: devno cmd: cmd chan: chan crd_rc: crd_rc

X25DD entry_diag_mem: errno: errno devno: devno cmd: cmd flag: flag chan: chan

X25DD exit_diag_mem: errno: errno devno: devno cmd: cmd chan: chan crd_rc: crd_rc

X25DD exit_diag_card: errno: errno devno: devno

X25DD entry_diag_card: errno: errno devno: devno

X25DD entry_reset: errno: errno devno: devno

X25DD exit_reset: errno: errno devno: devno

X25DD entry_diag_task: errno: errno devno: devno

X25DD exit_diag_task: errno: errno devno: devno

X25DD entry_ucode_task: errno: errno devno: devno

X25DD exit_ucode_task: errno: errno devno: devno

X25DD entry_add_rid: errno: errno devno: devno flag: flag chan: chan

X25DD exit_add_rid: errno: errno devno: devno router_id: router_id priority: priority action: action uid: uid

X25DD entry_intr_stat: errno: errno devno: devno

X25DD exit_intr_stat: errno: errno devno: devno

X25DD entry_traceon: errno: errno devno: devno

X25DD exit_traceoff: errno: errno devno: devno

errno: errno Error number
devno: devno Major and minor device number
cmd: cmd ioctl command
chan: chan Channel number
flag: flag Open mode
ext: ext Pointer to extension data area
gp_rc: gp_rc Internal return code (for reporting to service organization)
packet_type: packet_type Type of X.25 packet being sent
session_id: sesson_id Session identifier, created with the CIO_START ioctl
status: status Status return code
events: events Events mask passed to select
reventp: reventp Events that were signalled by the select call
uiop: uiop Pointer to the uio structure passed by a nonkernel user
channame: channame Extension to the pathname on the open call
session_type: session_type Session type, created with the CIO_START ioctl
block.code: block.code Type of status block returned as described in the X.25 documentation
block.opt 0: block.opt 0 Type of status block returned as described in the X.25 documentation
block.opt 1: block.opt 1 Type of status block returned as described in the X.25 documentation
call_id: call_id Incoming call identifier supplied to a listening session, used when creating the SVC_IN session type
router_id: router_id Identifies the X.25 router table element
packet: packet Status of the packet layer of the X.25 link
0 Disconnected
1 Connecting
2 Connected.
frame: frame The status of the frame layer of the X.25 link
physical: physical The status of the physical layer of the X.25 link
busy_mode: busy_mode A flag controlling whether the driver goes in or out of local-busy mode, defined in the X25/X25user.h file
counter_val: counter_val Value of the X.25 counter being referenced
counter_id: counter_id Reference ID of the X.25 counter being referenced
counter_num: counter_num Number of counters being waited on
crd_rc: crd_rc Internal return code that can be reported to the service organization
priority: priority Priority given to a router entry as documented in the X.25 documentation
action: action Action given for a router entry as documented in the X.25 documentation
uid: uid uid of the user submitting this router request
Suberror: suberror Error starting an X.25 session:

None.

Device was not configured before OPEN.

Interrupt could not be registered.

Non-monitor START in monitor session.

Monitor START in non-monitor session.

START is not legal in D or R session.

START has an invalid session type.

226 : HKWD DD GIO

This event is recorded by the Graphics IO device driver.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]