akela_p501usa's profileakela_p501usa's spacePhotosBlogListsMore Tools Help

Blog


    December 20

    The User-mode Linux Kernel Home Page

    Site Home Page
    The UML Wiki
    The Old UML Site

    The User-mode Linux Kernel Home Page

    Run Linux inside itself
    User-Mode Linux is a safe, secure way of running Linux versions and Linux processes. Run buggy software, experiment with new Linux kernels or distributions, and poke around in the internals of Linux, all without risking your main Linux setup.

    User-Mode Linux gives you a virtual machine that may have more hardware and software virtual resources than your actual, physical computer. Disk storage for the virtual machine is entirely contained inside a single file on your physical machine. You can assign your virtual machine only the hardware access you want it to have. With properly limited access, nothing you do on the virtual machine can change or damage your real computer, or its software.

    Applications
    Here are some of the things that UML is used for:
    • Hosting of virtual servers
    • Kernel development
    • Experimenting with new kernels and distributions
    • Education
    • Sandbox
    The UML Book
    It's out!

    It's written by me, and covers UML pretty comprehensively.

    Available from the publisher and from Amazon.

    Getting started
    • Download this kernel and this filesystem (80M, uncompressing to 1.6G)
    • Uncompress them:
      host% bunzip2 linux-2.6.24-rc2.bz2 FedoraCore5-x86-root_fs.bz2
      
    • Run UML as follows:
      host% chmod 755 ./linux-2.6.24-rc2
      host% ./linux-2.6.24-rc2 ubda=FedoraCore5-x86-root_fs mem=128M
      
      Boot log
    • Log in as root, no password needed:
      Fedora Core release 5 (Bordeaux)
      Kernel 2.6.19-rc5 on an i686
      
      localhost login: root
      [root@localhost ~]# 
      
    • Explore!
    • When you're done, shut it down:
      [root@localhost ~]# halt
      
      Broadcast message from root (tty0) (Tue Apr  4 17:18:01 2006):
      
      The system is going down for system halt NOW!
      INIT: Switching to runlevel: 0
      INIT: Sending processes the TERM signal
      
      Shutdown log

    "Panic - Failed to open 'root_fs', errno = 2"

    "F_SETLK failed, file already locked by pid n"

    UML exits after a few lines of output

    "Kernel panic - not syncing: Kernel mode signal 7"

    "handle_trap - failed to wait at end of syscall"

    On x86_64, processes randomly segfault

    Hang after 'VFS: Mounted root...'
    Where to go from here

    For a lot more (and a lot less organized) information, see the old UML site.

    Resources
    This project is hosted at sourceforge.net. which provides a number of useful services:
    • This web site is hosted at SourceForge
    • Mailing lists Bug reports may be sent to either list.
      Searchable list archives exist at MARC (uml-user, uml-devel) and gmane ( uml-user, uml-devel).
    • IRC (see www.irchelp.org/ for more information on IRC) - #uml on irc.oftc.net is where I hang out 2-3 days a week. It's good for general UML questions and chit-chat. #kernelnewbies on oftc.net is a also good place for UML questions and discussion that relate to kernel development in general.
    Thanks
    Hosted at SourceForge Logo

    Build secure Web applications with OWASP

    J0172641Developing secure applications has always been a difficult task. Software that manages critical functions once serviced only users on internal networks; today, applications run on Web servers accessible to users anywhere in the world. Not only have the scope and magnitude of Web applications increased, but so has the complexity of securing them. The Open Web Application Security Project (OWASP) comes to the rescue of Web application architects with tools, frameworks, and guidelines to improve security in applications. Security expert Mark Curphey founded OWASP in 2000. The project is supported by the not-for-profit OWASP Foundation and has five non-paid board members and about 130 project and chapter leaders.

    From Linux.com.