[okl4-developer] common

Jorge Torres jorge.torres.maldonado at gmail.com
Thu Aug 2 15:56:36 EST 2007


Hi Alex,

Thank you for clearing things out, Now that you show me this, it is very
likely to be a product of something I have done, and I now remember; I
noticed sometime ago that scheduler was the thread it self as you point, I
probably changed something,  I'll start  a clean  1.4.1.1  and see if I get
the same behavior, sorry about that.

Many thanks,

Jorge


On 8/1/07, Alex Webster <alexw at ok-labs.com> wrote:
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070802/231cfe74/attachment-0001.htm 


More information about the Developer mailing list