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.

> [EMAIL PROTECTED] 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-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to