Main Page | Report this Page
Linux Forum Index  »  Linux Development - System  »  where user app is being spawned in kernel booting up?...
Page 1 of 1    

where user app is being spawned in kernel booting up?...

Author Message
Pat Z...
Posted: Wed Sep 09, 2009 12:03 pm
Guest
Hi,

In my dev board, after loader loads in vmlinux, decompressed, and
jumpt to kernle, it runs all the way to cpu_idle. I can break into and
let it run. and didn't see user prompt displayed in the output. I am
confused I am missing some ramfs, which caused user app not being
setup. But where is the user app being setup? from the scheduler?
doesn this mean my schedule is not running (maybe my timer is not
being setup)?

thanks
Patrick
 
Markku Kolkka...
Posted: Wed Sep 09, 2009 4:47 pm
Guest
Pat Z wrote:

Quote:
But where is the user app being setup?

The initial user process (conventionally called "init") is started from
function init_post() in init/main.c. You can set the name of the
executable file to run using the "init=" kernel command line parameter.
Without it, the kernel looks for
files "/sbin/init", "/etc/init", "/bin/init" and "/bin/sh" and runs the
first one it finds.

--
Markku Kolkka
markku.kolkka at (no spam) iki.fi
 
kavi...
Posted: Thu Sep 10, 2009 7:59 am
Guest
On Sep 10, 3:03 am, Pat Z <patrick.... at (no spam) gmail.com> wrote:
Quote:
Hi,

In my dev board, after loader loads in vmlinux, decompressed, and
jumpt to kernle, it runs all the way to cpu_idle. I can break into and
let it run. and didn't see user prompt displayed in the output. I am
confused I am missing some ramfs, which caused user app not being
setup. But where is the user app being setup? from the scheduler?
doesn this mean my schedule is not running (maybe my timer is not
being setup)?

thanks
Patrick

You said you can break into and let it run.
Are you able to see those messages on console ??

What is the last message it prints? It can help to solve this problem
easily.
It may be due to specifiying wrong init ....or due to wrong file
system
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Tue Dec 15, 2009 4:27 am