samedi 21 mai 2011

kdb commands

En cours de rédaction 

escape k :
set 21 vi
infos générales :
stat
status
f ou runcpu f

cpu x     # pour changer de cpu
vmker |grep pgsp # (parametres paging)

locks : 

dla
lq

system lock :
Si dans le stack du dump on a :
[005006A0]slock+000480 (0000000000000000, F1000F0A10001500 [??])

slk
slk @31 (adresse de retour dans le registre 31)
ou

(0)> slk F1000F0A10001500
F1000F0A10001500 lock 0015002F
 thread_owner............ 0015002F @ pvthread+001500



(0) slk @r31



F1000F0A001035A8 lock 168800200015002F

thread_owner............ 0015002F @ pvthread+001500

(0) th pvthread+001500


SLOT NAME STATE TID PRI RQ CPUID CL WCHAN
pvthread+001500 21>vmmd RUN 15002F 010 0 0
NAME................ vmmd
FLAGS............... KTHREAD
WTYPE............... WCPU
.................tid :000000000015002F ......tsleep :FFFFFFFFFFFFFFFF
...............flags :00001000 ..............flags2 :00000000




(0) f 21
pvthread+001500 STACK:
[00187608]v_thread_reaffin_getthrd_cache+000208 (FFFFF1000FF47600 [??])
[001B30AC]get_thread_to_migrate+0001CC (??, ??)
[0018D540]vm_thread_reaffin_kproc+000200 (??)
[00264DD4]threadentry+000094 (??, ??, ??, ??)
[kdb_read_mem] no real storage @ FFFFFFFFFFF94F0


Threads en attente d'evenements :

th -w WLOCK

th -w WPGIN