So here is a really random problem.  I'm not sure if it is a problem
with UML, or a problem that only shows up under UML.

I am running ubuntu (32 bit) edgy eft (6.10) on both the host and the
guest.  I am using the latest edgy vanilla kernel on the host, and
2.6.18 off of blaisorblade's site for the guest.  I use the following
command line to launch the guest:

[code]
screen -d -m -S $USER su - $USER -c "cd /home/$USER ; /usr/bin/linux
ubda=root_fs ubdb=swap eth0=tuntap,$TAP mem=$MEMORY"
[/code]

The above is from a script, so the appropriate variables are filled in,
of course.

If my /etc/network/interfaces file looks like this:

[code]
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.1.4
        netmask 255.255.255.0
        up route add -host 192.168.1.2 dev eth0
        up route add default gw 192.168.1.2
[/code]

then when I screen in to the guest and attempt to login, I have a
problem.  I type my user name at the prompt and hit return, and I get an
immediate "Login timed out after 60 seconds".  It is impossible to type
the password before this message appears.

However, if I comment the last two lines of /etc/network/interfaces out,
and then use the route command manually after bootup, everything is
great.  I think that this is an insane bug, and I'm guessing it is
fairly subtle.  I have no idea what could be causing it.  It must have
something to do with the interaction between the route command and
consoles, somehow, but I have no idea how.  Any ideas?

As a workaround, I can babysit every guest after every restart, but that
is kind of lame, and I'd like to get this fixed in a more permanent
manner, since it is obviously exposing some weirdness somewhere in uml
or upstart or consoles or getty or route or some combination of those.

Thanks as always!

Jonas

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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