On Thursday 01 March 2007 22:23, Russell Robinson wrote:
> Hi,
>
> This is a list of what I've learned so far about UML.
>
> I'm simply posting this so that it gets into the archive and may help
> other people.
>
> If any experts see anything wrong, please post a correction...
>
> 1. UML is great.  Thanks to Jeff and BlaisorBlade and everyone
>    else involved.

Thanks a lot, it is nice to see our work is useful to people. Working on it is 
fun, but knowing this helps doing the non-funny things.

> 2. The site http://user-mode-linux.sourceforge.net is essential, but
>    a lot of information is out of date and therefore either wrong
>    for later kernels or just confusing.   The following points list
>    specific things in relation to this.
>    Take what you read with a "grain of salt".

> 3. Recent kernels (from which version???) *do not* need a UML patch

Since 2.6.11 - the patch was merged in 2.6.9 but critical bugs existed.

>    to compile and run as a guest.  Briefly, "make ... ARCH=um"
>    is the important part when compiling and kernel.

> 4. Recent kernels run SKAS0 by default, SKAS3 if the host
>    kernel has support for it.  The boot log *no longer* tells
>    you what mode it is running.

Argh! It should - otherwise you're hitting a bug I guess.

>    You can force "tt" mode 
>    if you want when you start the UML kernel: "mode=tt" option.

I know no situation where it is recommended. Currently mode=tt cannot be 
compiled in and soon it will disappear from UML sources, I guess.

> 5. If you run certain distributions on your host, you may find
>    it *very* hard or impossible to find a SKAS3 patch
>    from http://www.user-mode-linux.org/~blaisorblade/patches/
>    that will patch the kernel to allow SKAS3 mode in your guests.
>    For example, my host is Centos 4.4, which is a
>    2.6.9.who-knows-what-else kernel (i.e. Centos do back-ports
>    from later kernels without updating the .9).  I have
>    tried almost every SKAS3 patch and cannot find
>    any that will patch the kernel source.
>    So, I'm running SKAS0, the default, for now...

They are intended for vanilla kernels, and I think I've warned about this 
somewhere - and I'm always open about suggested improvements to it (since I 
know there is info but not always where it should).

It is not difficult to port the SKAS patch to any given 2.6 kernel, it's just 
boring and time-consuming.
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
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