I have a project at work where we are considering takeing some security applications that currently require their own set of hardware on each network (with over a dozen different networks this adds up to quite a few boxes) and replace them with slightly beefier boxes running the application in a virtual machine.

my (unspoken) respose to this was 'cool, I'll finally get a chance to figure out UML like I've been wanting to'

as I attempted to get started I ran into a lot of confusion as it seems that most of the documentation on the sourceforge and community site seem to be several years out of date (mostly focusing on the 2.2/2.4 transition, virtually nothing about 2.6 other then the fact that uml got merged)

I was able to get uml running on 2.6.16rc6 last friday, however I've run into a couple issues that have stumped me

the host system is a debian 64 bit install, the uml system I'm playing with first is a stripped down version of the same (I'll also be working with a 32 bit debian that's stripped down as well once I get this first one working)

I've got it working with a root_fs image, but I would like to use to hostfs, when I attempt to use it with the command line

./linux ssl=xterm console=xterm root=/dev/root rootflags=/sandboxes/amd64uml/ 
rootfstype=hostfs

I get an error about a missing /dev/shm/root

the other big question that I have is about the networking.

what I would really like to do is to have the host machine allocate a physical network interface for each uml to use as it's eth0. I'm currently not seeing any way to do this.

as I attempt to use the tuntap interface to configure the uml eth0 as per the howto I am creating the tap0 device, but when the uml system boots it doesn't show any ethn interfaces and on the console I get the following error.

eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
exiting.


I also get several thousand lines of error message like the following

line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
Couldnt get a file descriptor referring to the console
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
line_ioctl: tty0: ioctl KDGKBTYPE called
Couldnt get a file descriptor referring to the console

Thanks for the assistance and let me know about any other info that you need.

David Lang


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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