On Monday 20 March 2006 19:07, David Lang wrote:
> 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

hostfs as root is not well supported.

> ./linux ssl=xterm console=xterm root=/dev/root
> rootflags=/sandboxes/amd64uml/ rootfstype=hostfs
>
> I get an error about a missing /dev/shm/root

/dev/shm/root? It would be very strange, never seen that.

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

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

Have you added eth0=tuntap,tap0 to the cmd line of UML according to:

http://user-mode-linux.sourceforge.net/networking.html

(See section "TUN/TAP with a preconfigured tap device")

> 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
These errors can be safely ignored, normally.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



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