Re: [uml-user] UML and initramfs

2008-03-07 Thread Jeff Dike
On Wed, Feb 27, 2008 at 04:08:27PM +0100, Daniel Janzon wrote: > 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 ramf

[uml-user] UML and initramfs

2008-02-27 Thread Daniel Janzon
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 #include int main(int argc, char *argv[]) { printf("Hello world!\n"); sleep(9); } When I run the linux executab