User mode linux

I have been playing with getting UML to work under Astaro, since one can then set up a DMZ arrangement on a single physical box.  Has anyone done this before?

Anyway, almost everything works okay, except networking.  As far as I can tell, all I need to do is recompile the ethertap module for the kernel version used by Astaro.

What is the standard way of compiling kernel modules for Astaro?  Is there a howto?  Astaro does not come with make, gcc etc, so presumably this needs to be done on a different box.  It is just a matter of getting the kernel headers for the appropriate Astaro kernel version and putting them somewhere on my SuSE box, and linking against them?

If someone could point me at some docs/info, I can probably work it out from there.

Thanks in advance for any info.

Cheers,

Rasjid.    
  • The quick and dirty way is to create another box with your favourite distribution with kernel sources and development to match the major, minor and micro version of the ASL kernel.  Once you have that all you need to do is edit the extra version information in your kernel makefile to match ASL extra version.  Also check that MODVERSIONS is enabled as I believe ASL uses it.  If you need further clarification send another post and I'll be glad to help you, if you want to do it the hard way you can also use the ASL plus pack  
  • Something as extensive as that, it will be way safer to use Astaro's pack. The danger of not doing so will be a system call will arise for some peculiar set of circumstances and a library will be found to be missing, and the OS will croak.

    Now it would be nice if there was a utility that showed you all the libraries that a binary might call, but nobody ever responded to my inquiry about that...
        
  • If you want to do it the ASL way, download the Pluspak, if you are running 4.016 download 2.4.22 kernel source and update your kernel source, follow this link so you don't get stuck
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/102/t/69839
    download modutils for your kernel version and update the extraversion number in your kernel source Makefile to match the ASL kernel version (found by running uname -a)