21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DSIRR Data Storage Interrupt Reason Register<br />

The interrupt priority of the running context is shown in the (intpri=?) field at the<br />

end of the line. The intpri value ranges from 0xb (INTBASE) to 0x0 (INTMAX).<br />

The exception structure is not used for code 700 dumps.<br />

The le subcommand can indicate the kernel extension that an address belongs<br />

to. Take, for example, the address 0x0123cc5c. This is a kernel address, since it<br />

starts 0x01, which indicates it is in segment 0, the kernel segment. To find the<br />

kernel module that contains the code at this address, use the le subcommand.<br />

For example:<br />

> le 0123cc5c<br />

LoadList entry at 0x04db7780<br />

Module start:0x00000000_012316e0 Module filesize:0x00000000_00030fbc<br />

Module *end:0x00000000_0126269c<br />

*data:0x00000000_0125ef40 data length:0x00000000_0000375c<br />

Use-count:0x000c load_count:0x0001 *file:0x00000000<br />

flags:0x00000272 TEXT KERNELEX DATAINTEXT DATA DATAEXISTS<br />

*exp:0x04e0e000 *lex:0x00000000 *deferred:0x00000000 *expsize:0x69626f64<br />

Name: /usr/lib/drivers/pse/pse<br />

ndepend:0x0001 maxdepend:0x0001<br />

*depend[00]:0x04db7580<br />

le_next: 04db7380<br />

In this case, it can be seen that the code at address 0x0123cc5c is in module<br />

/usr/lib/drivers/pse/pse. The le subcommand is only helpful for modules that are<br />

already loaded into the kernel.<br />

The proc subcommand<br />

The proc subcommand displays entries in the process table. The process table is<br />

made up of entries of type struct proc, one per active process. Entries in the<br />

process table are pinned so that they are always resident in physical memory.<br />

The process table contains information needed when the process has been<br />

swapped out in order to get it running again at some point in the future. For<br />

example:<br />

> proc - 0<br />

SLT ST PID PPID PGRP UID EUID TCNT NAME<br />

0 a 0 0 0 0 0 1 swapper<br />

FLAGS: swapped_in no_swap fixed_pri kproc<br />

Links: *child:0xe3000170 *siblings:0x00000000 *uidl:0xe3001fa0<br />

*ganchor:0x00000000 *pgrpl:0x00000000 *ttyl:0x00000000<br />

Dispatch Fields: pevent:0x00000000 *synch:0xffffffff<br />

lock:0x00000000 lock_d:0x01390000<br />

Thread Fields: *threadlist:0xe6000000 threadcount:1<br />

90 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!