linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net,
	stefano.melchior@openlabs.it
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] "Configuring network interfaces...execvp of 'uml_net' failed - errno = 2" error msg
Date: Fri, 17 Feb 2006 15:05:28 +0100	[thread overview]
Message-ID: <200602171505.29505.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20060217134755.GA17720@SteX>

On Friday 17 February 2006 14:47, Stefano Melchior wrote:
> On Fri, Feb 17, 2006 at 01:07:50PM +0100, Blaisorblade wrote:
> Hi Paolo,
>
> > > If you use the 2.4.x uml kernel the UML image work fine with network,
> > > but if you use an available 2.6.x uml image or a 2.6.x image of mine
> > > the uml bootstrap phase hangs with the following error message:
> >
> > Indeed on the same machine and with same config? It's strange, I never
> > saw

> yes, first I tried my own configuration, then I downloaded a prebuild uml
> kernel from http://uml.nagafix.co.uk/ and I tried with this one. Same
> error again.
> Then I extracted the configuration from that image and I rebuild with that
> config, same error for the same problem.

> ste@etinarcadiaego{~}$ ll /usr/lib/uml/uml_net
> -rwsr-x---  1 root uml-net 19836 2004-04-15 03:03 /usr/lib/uml/uml_net

Ok, thanks for this informative info. This is the solution.

In short, echo $PATH | grep  /usr/lib/uml, and if needed man 3 execvp, could 
enlighten you... or even the fact that I do:

# ls -l /usr/bin/uml_net
-rws--x--x  1 root root 22856 16 feb 18:49 /usr/bin/uml_net

if you want the full story, instead, IOW:

Debian has his own very non-standard packaging for uml_utilities, and patches 
UML to cope with it. For instance, uml_switch has different defaults on UML 
(the socket goes into /var/run instead of /tmp, in UML).

And (but this is the first time I hear this) you have uml_net in /usr/lib/uml 
rather than /usr/bin. Which would be a better choice, btw... but isn't 
implemented in mainline (we maybe should).

> Another info: I used either the kernel.org sources and the debian's
> linux-source(s).

But you're using a vanilla UML without the forward ports of all 2.4 patches 
(you're using linux-source(s), not a possible uml-linux-source(s)).

For the future packaging: I do believe that Debian's defaults have been 
actually planned while uml_utilities haven't, so I like the idea of switching 
to Debian paths as defaults, and possibly using the current ones as 
fallbacks.
-- 
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! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-02-17 14:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 11:51 [uml-devel] "Configuring network interfaces...execvp of 'uml_net' failed - errno = 2" error msg Stefano Melchior
2006-02-17 12:07 ` Blaisorblade
2006-02-17 13:47   ` Stefano Melchior
2006-02-17 14:05     ` Blaisorblade [this message]
2006-02-17 14:29       ` Stefano Melchior
2006-02-17 18:58         ` Blaisorblade
2006-02-17 15:44       ` [uml-user] " Jeff Dike
2006-02-17 18:48         ` Blaisorblade
2006-02-19 22:04           ` Rob Landley
2006-02-20  3:47             ` Jason Lunz
2006-02-20  5:34             ` Stefano Melchior
2006-02-20 19:00             ` Blaisorblade
     [not found]       ` <20060221110240.GA8285@SteX>
     [not found]         ` <20060221161450.GZ28322@alcor.net>
2006-02-21 16:51           ` Stefano Melchior
2006-02-21 17:01             ` Matt Zimmerman
2006-02-22 16:33             ` Blaisorblade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602171505.29505.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=stefano.melchior@openlabs.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox