[okl4-developer] common
Jorge Torres
jorge.torres.maldonado at gmail.com
Thu Aug 2 02:17:04 EST 2007
Hi okl4.org,
I'm just curious, do you know why is it that every iguana's thread
(ig_timer, ig_serial, ig_naming, vmlinux) has 000e0001 as its scheduler
and non of them is such thread, what is interesting is that such(000e0001
id) is given to the first thread created by a new added server, for example
if I ass a new server (servtest) and that server creates a new thread (with
thread_create_simple), it gives it the 000e0001 ID, meaning that such thread
will be (ig_timer, ig_serial, ig_naming, vmlinux, servtest, L_timer,
L_syscall) scheduler, (wombat threads are different since they use they are
created using the eas_create_thread function on which scheduler is
specified), anyways, do you know why is that?
I'm working with OKL4-1.4.1.1 for ia32, here is some KDB output:
=== L_timer == TCB: e0006e00 == ID: 000dc001 = 01300100/f0173000 == PRIO:
0x64 ===
UIP: 00f30a81 queues: Rswl space: f01303c0/5
USP: 01057ce0 tstate: RUNNING ready: L_timer :L_timer pdir : f0171000
sndhd : NIL_THRD send : NIL_THRD:NIL_THRD pager: 000c4001
total quant: 0x0 us, ts length : 0x2710 us, curr ts: 0x2710 us
resources: 00000000 []
continuation: f0102b10 preemption_cont: 00000000
scheduler: 000e0001 exception_handler: 000c4001
partner: NIL_THRD saved partner: NIL_THRD saved state: ABORTED
user handle: 00000000 cop flags: 00 preempt
flags: 00 [~]
incoming notify bits: 00000000 notify mask: ffffffff virtual
sender: NIL_THRD
last preempted_ip: 00000000 preempt_callback_ip: 00000000
mr( 0): 00000001 00000001 00000000 00002710 00000000 00000004 00000000
00000000
mr( 8): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(16): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(24): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(32): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(40): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(48): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(56): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Message Tag: 1 untyped, label = 0, flags = ---
Acceptor: 00000002 (A) Error code: 2
> showtcbext
tcb/tid/name [current]: ig_namin
=== ig_naming == TCB: e0006600 == ID: 000cc001 = 01080100/f013b000 == PRIO:
0xc8 ===
UIP: 00230950 queues: rswl space: f0130450/1
USP: 0026fe8c tstate: WAIT_FE ready: MPSched :MPSched pdir : f0139000
sndhd : NIL_THRD send : NIL_THRD:NIL_THRD pager: 000c4001
total quant: 0x0 us, ts length : 0x2710 us, curr ts: 0x2710 us
resources: 00000000 []
continuation: f0102b40 preemption_cont: 00000000
scheduler: 000e0001 exception_handler: 000c4001
partner: ANY_THRD saved partner: NIL_THRD saved state: ABORTED
user handle: 00000000 cop flags: 00 preempt
flags: 00 [~]
incoming notify bits: 00000000 notify mask: 00000000 virtual
sender: NIL_THRD
last preempted_ip: 00000000 preempt_callback_ip: 00000000
mr( 0): 00004002 00000000 00000000 0020f440 00000004 0020f368 00000000
00000000
mr( 8): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(16): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(24): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(32): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(40): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(48): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(56): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Message Tag: 2 untyped, label = 0, flags = -X-
Acceptor: 00000000 (a) Error code: 7
> showtcbext
tcb/tid/name [current]: vmlinux
=== vmlinux == TCB: e0006e00 == ID: 000dc001 = 01300100/f0173000 == PRIO:
0x64 ===
UIP: 00e44f60 queues: Rswl space: f01303c0/5
USP: 01057eb8 tstate: RUNNING ready: ig_seria:ig_seria pdir : f0171000
sndhd : NIL_THRD send : NIL_THRD:NIL_THRD pager: 000c4001
total quant: 0x0 us, ts length : 0x2710 us, curr ts: 0x2710 us
resources: 00000000 []
continuation: f0104030 preemption_cont: 00000000
scheduler: 000e0001 exception_handler: 000c4001
partner: 000c4001 saved partner: NIL_THRD saved state: RUNNING
user handle: 00000000 cop flags: 00 preempt
flags: 00 [~]
incoming notify bits: 00000000 notify mask: 00000000 virtual
sender: NIL_THRD
last preempted_ip: 00000000 preempt_callback_ip: 00000000
mr( 0): 00008000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr( 8): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(16): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(24): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(32): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(40): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(48): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
mr(56): 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Message Tag: 0 untyped, label = 0, flags = E--
Cheers,
Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070801/960c0b5c/attachment.htm
More information about the Developer
mailing list