Userland (UX) Runtime
Michael J. Emswiler
memswiler at gmail.com
Tue Jun 27 10:13:28 CEST 2006
Yes, the app hangs, so Ctrl+C does not work. I assume I *must* be doing
something wrong. Either I am missing a configuration setting ... or maybe
just trying to load the wrong module ...
So far with the minimal debugging I have been able to do, the app seems to
hang after the
// switch to stack of kernel thread and bootstrap the kernel
asm volatile
(" movl %%esp, %0 \n\t" // save stack pointer in safe variable
" movl %%esi, %%esp \n\t" // switch stack
" call call_bootstrap \n\t" // bootstrap kernel thread
: "=m" (boot_stack),
"=a" (dummy), "=c" (dummy), "=d" (dummy)
: "a"(kernel), "S" (kernel->init_stack()));
call in main-ia32-ux.cpp, line 56
I am about to start tracing through the call_bootstrap and
kernel->init_stack() and see where it might be failing.
Also, I assume the "hello" app that is to be launched is the hello app I find
in the /bin/x86_586/l4v2 tree? Or is there a separate one in the fiasco tree
itself? Might I simply be attempting to load the wrong module...
FWIW, my UX run dir looks like:
memswiler at Wolverine:/usr/src/drops/bin/ux> ls -al
total 12
drwxr-xr-x 2 memswiler users 4096 2006-06-27 04:09 .
drwxr-xr-x 12 memswiler users 4096 2006-06-26 22:58 ..
lrwxrwxrwx 1 memswiler users 27 2006-06-26 19:11 dm_phys
-> ../bin/x86_586/l4v2/dm_phys
-rwxr-xr-x 1 memswiler users 82 2006-06-26 19:09 dope.sh
lrwxrwxrwx 1 memswiler users 28 2006-06-26 23:07 fiasco
-> ../bin/x86_586/fiasco/fiasco
lrwxrwxrwx 1 memswiler users 25 2006-06-27 04:09 hello
-> ../bin/x86_586/l4v2/hello
lrwxrwxrwx 1 memswiler users 26 2006-06-26 23:07 irq0
-> ../bin/x86_586/fiasco/irq0
lrwxrwxrwx 1 memswiler users 29 2006-06-26 19:11 l4dope-ux
-> ../bin/x86_586/l4v2/l4dope-ux
lrwxrwxrwx 1 memswiler users 27 2006-06-26 23:07 Lines
-> ../bin/x86_586/fiasco/Lines
lrwxrwxrwx 1 memswiler users 23 2006-06-26 19:11 log
-> ../bin/x86_586/l4v2/log
lrwxrwxrwx 1 memswiler users 25 2006-06-26 19:11 names
-> ../bin/x86_586/l4v2/names
lrwxrwxrwx 1 memswiler users 28 2006-06-27 04:00 pingpong
-> ../bin/x86_586/l4v2/pingpong
lrwxrwxrwx 1 memswiler users 28 2006-06-26 18:54 roottask
-> ../bin/x86_586/l4v2/roottask
lrwxrwxrwx 1 memswiler users 29 2006-06-26 19:05 sigma0-ux
-> ../bin/x86_586/l4v2/sigma0-ux
lrwxrwxrwx 1 memswiler users 29 2006-06-26 23:07 Symbols
-> ../bin/x86_586/fiasco/Symbols
lrwxrwxrwx 1 memswiler users 28 2006-06-26 23:07 ux_con
-> ../bin/x86_586/fiasco/ux_con
lrwxrwxrwx 1 memswiler users 30 2006-06-26 19:17 vmlinuz26.ux
-> ../../l4linux-2.6/vmlinuz26.ux
lrwxrwxrwx 1 memswiler users 28 2006-06-26 19:11 vscrtest
-> ../bin/x86_586/l4v2/vscrtest
Trying some of the more advanced examples, i can see it even fire up ux_con
module and load (and relocate?) many modules ... but ultimately, it just
hangs.
Thanks,
MikeE
On Tuesday 27 June 2006 03:32, Christian Helmuth wrote:
> Hello,
>
> On Tue, Jun 27, 2006 at 12:07:53AM -0400, Michael J. Emswiler wrote:
> > Further I have to kill -9 it to get unload.
>
> Does that mean you could not enter the kernel debugger by pressing CTRL-C?
>
> Greets
--
Thanks,
MikeE
More information about the l4-hackers
mailing list