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

[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

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 - <[EMAIL PROTECTED]>
http://etinarcadiaego.dyndns.org    --     http://www.stex.name

Attachment: signature.asc
Description: Digital signature

Reply via email to