2005-02-28 14:55:09

by P.Manohar

[permalink] [raw]
Subject: need for user mode linux


hai all,
I am a newbie to linux kernel module programming.I am going to work on
driver modification or calling some programs from driver. I heard about
usermode linux and its uses but I don't know the practical use of usermode
linux. Is it needed for me. How
it will be useful.Ofcourse, it need to be my personal decision, but I am
seeking decision or hints from experts like u.

Note: please cc ur replies to my mail id.


Thanks&Regards,

P.Manohar.


2005-02-28 15:35:55

by Parag Warudkar

[permalink] [raw]
Subject: Re: need for user mode linux

>
> hai all,
> I am a newbie to linux kernel module programming.I am going to work on
> driver modification or calling some programs from driver. I heard about
> usermode linux and its uses but I don't know the practical use of usermode
> linux. Is it needed for me. How
> it will be useful.Ofcourse, it need to be my personal decision, but I am
> seeking decision or hints from experts like u.

UML - it is what it sounds like. Run Linux kernel as a user mode program inside a regular Linux operating system. It is generally good to use in situations as yours - learning and experimenting with kernel code without screwing up the hardware and host operating system. So you could do all your development and debugging on UML for instance and if it crashes due to your program error, no big deal just restart UML.

That being said, I am not sure if UML is in usable state with current kernels - Last time I tried I couldn't get it to run with 2.6.10 kernel.

You might want to check http://www.colinux.org - It is similar to UML, but instead of running Linux-under-Linux you run Linux-under-Windows. It is fairly simple to install and various distro images are available. Try out the documentation for colinux.

Parag