Hello,

I enabled initramfs under General Setup in the kernel configuration. I
pointed the initramfs source to a cpio archive containing a simple init
program:

#include <stdio.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
  printf("Hello world!\n");
  sleep(999999999);
}


When I run the linux executable, the "Hello world!" is never printed. I
checked with gdb that most of the functions in init/initramfs.c are
called, but I did not succeed to track the execution to the point where
init in the ramfs is called.

Are there any known issues with initramfs and UML?

      Regards,
      Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to