From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 10 Jun 2004 - 19:15:47 BST
On Thu, Jun 10, 2004 at 07:50:14PM +0100, Tristan Donaldson wrote:
> Hi,
>
> I have patched the 2.6.6 kernel with the 1.9.1 vserver patch, but it
> doesn't seem to be working.
>
> chimay root # chcontext ls
> chcontext: vc_new_s_context(): Function not implemented
> chimay root #
>
> chimay root # uname -a
> Linux chimay 2.6.6-vs1.9.1 #1 Thu Jun 10 17:23:16 GMT 2004 x86_64 5
> GNU/Linux
>
> Has anyone tried this on an the 64 bit kernel? Anybody got any ideas
> what could be the problem.
any chance to visit us at the irc channel
#vserver @ irc.oftc.net
I'd like to investigate/fix this ...
TIA,
Herbert
> Here is the end of the output from the strace:
> .....
> .....
> fork() = 2150
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 1], WNOHANG, NULL) = 2150
> wait4(-1, 0x7fbffff374, WNOHANG, NULL) = -1 ECHILD (No child processes)
> rt_sigreturn(0xffffffffffffffff) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGINT, {0x430120, [], 0x4000000}, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL}, {0x430120, [], 0x4000000}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL}, {0x430fb0, [], 0x4000000}, 8) = 0
> execve("/usr/lib/util-vserver/chcontext-compat",
> ["/usr/lib/util-vserver/chcontext-"..., "ls"], [/* 26 vars */]) = 0
> rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
> syscall_236(0x3f010001, 0xffffffff, 0x7fbffff9d8, 0x3f010001,
> 0x7fbffff9d8, 0xec, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40,
> 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40,
> 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40,
> 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40,
> 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40,
> 0x7fbffffa40, 0x7fbffffa40, 0x7fbffffa40) = -1 (errno 38)
> write(2, "chcontext: ", 11chcontext: ) = 11
> write(2, "vc_new_s_context()", 18vc_new_s_context()) = 18
> write(2, ": ", 2: ) = 2
> write(2, "Function not implemented", 24Function not implemented) = 24
> write(2, "\n", 1
> ) = 1
> _exit(255) = ?
>
>
> Seems to be doing the correct syscall for the x86_64. But I don't know
> what is going on.
>
> I have had this working on i386 with no problems at all with the 2.6.6
> kernel.
>
> Any ideas??
>
> Thanks in advance,
>
> Tristan.
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver