On mercoledì 14 marzo 2007, Pravin wrote:
> Hi all,
> I am facing some problems in running UML in kernel-2.6.18 with CKRM patch.
> I also tried to run UML kernel without CKRM patch, but I get same problem.
> I have kernel-2.6.19 and kernel-2.6.20 running in UML mode but CKRM
> wont work with them.
>
> So, I need to run uml in kernel-2.6.18.

Hmm, I published a 2.6.18 -bs patchset time ago with some bugfixes, and some 
other were merged into -stable, so you may want to try these. CKRM will still 
work with them (98 % sure).

Also, with git you could look at the change history between 2.6.18 and 2.6.19, 
even if that can be time-consuming. But I've given such a look and I found 
nothing of interest. Have you double-checked your compile-time options?

> I am able to compile this kernel in UML architecture. But problem
> comes when I execute it.
> Nothing is getting printed, and nothing is happening, not even error
> message is coming.
> It just waits there, and comes out after pressing "CTRL+C".

Looked at what's happening with strace? Tried starting UML and attaching to it 
with gdb (gdb works better this way, many times)?

> When I run it using gdb,
> I got following error
> (gdb) b start_kernel
> Breakpoint 1 at 0x8049404: file init/main.c, line 461.
> (gdb) r
> Starting program:
> /home/pravin/projects/selinux/ckrm/plain_kernel/linux-2.6.18/linux
> Failed to read a valid object file image from memory.
>
> These problems also comes up with kernel 2.6.18 without CKRM patch.
> Is UML is not working properly with kernel 2.6.18 ?
> Can I know what is the problem and how to solve it.
>
> Thank you.

-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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