From: Stefano Melchior <stefano.melchior@openlabs.it>
To: user-mode-linux-devel@lists.sourceforge.net,
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 14:47:55 +0100 [thread overview]
Message-ID: <20060217134755.GA17720@SteX> (raw)
In-Reply-To: <200602171307.51262.blaisorblade@yahoo.it>
[-- Attachment #1: Type: text/plain, Size: 2465 bytes --]
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.
> this incompatibility, and I can't find bugs in the code able to produce this
> (with a quick look). Could you check on your part?
>
> > Setting up networking...done.
> > * /etc/network/options is deprecated.
> > Setting up IP spoofing protection...done (rp_filter).
> > Configuring network interfaces...execvp of 'uml_net' failed - errno = 2
>
> > From previous messages I read that this concerns uml_net and its
> > permissions.
>
> Which are them? It should be setuid root and executable...
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
my user, ste, is in the uml-net group.
>
> However, since:
>
> # perror 2
> OS error code 2: No such file or directory
it sounds strange, isn't it?
>
> Uml is saying it didn't find uml_net, or some of its libraries, not that
> there's a permission problem.
>
> Possibly it's lying and printing the wrong code, dunno. But from current code:
>
> arch/um/os-Linux/helper.c:helper_child
> execvp(argv[0], argv);
> errval = errno;
> printk("execvp of '%s' failed - errno = %d\n", argv[0], errno);
>
> it seems not (that source file was somewhere else, guess in arch/um/kernel,
> until 2.6.14, but I think the content was the same).
>
It was displayed in case of my test on 2.6.15, but it occurred even with
other kernels, such as 2.6.12 and 2.6.14.
Indeed with all 2.6.x kernels, it is the strangest thing. With 2.4.x it
works perfectly.
Another info: I used either the kernel.org sources and the debian's
linux-source(s).
I am going to investigate futher more
SteX
--
Stefano Melchior, GPG key = D52DF829 - <stefano.melchior@openlabs.it>
http://etinarcadiaego.dyndns.org -- http://www.stex.name
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 307 bytes --]
next prev parent reply other threads:[~2006-02-17 13:47 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 [this message]
2006-02-17 14:05 ` Blaisorblade
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=20060217134755.GA17720@SteX \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.