[okl4-developer] common
Alex Webster
alexw at ok-labs.com
Thu Aug 2 13:30:39 EST 2007
Hi Jorge,
In the 1.4.1.1 release, the scheduler of each thread is set to the
thread itself. I haven't been able to reproduce the behaviour you're
describing. For example:
=== L_timer == TCB: e0006c00 == ID: 000d8001 = 01200100/f016e000 == PRIO: 0x64 ===
UIP: 00f20891 queues: Rswl space: f01303e4/4
USP: 0022fcf0 tstate: RUNNING ready: L_timer :L_timer pdir : f016c000
sndhd : NIL_THRD send : NIL_THRD:NIL_THRD pager: 000c4001
total quant: 0x0 us, ts length : 0x2710 us, curr ts: 0x1f6f us
resources: 00000000 []
continuation: f0106440 preemption_cont: 00000000
scheduler: 000d8001 exception_handler: 000c4001
partner: 000d4001 saved partner: NIL_THRD saved state: ABORTED
Have you made any modifications that might be causing the problem?
Alex
On Wed, 2007-08-01 at 12:17 -0400, Jorge Torres wrote:
> 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
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
More information about the Developer
mailing list