[Users] IBM PowerPC

Benjamin Henrion zoobab at gmail.com
Fri Feb 28 00:37:44 PST 2014


On Thu, Feb 27, 2014 at 5:40 PM, Rick Leir <suser at a926.virtualorgs.net> wrote:
> On Thu, 2014-02-27 at 08:38 -0500, Rick Leir wrote:
>
> I got the vzctl source (latest version) onto a PowerPC server with RedHat
> 6. Configured it as recommended:
>   ./configure --with-cgroup --without-ploop --enable-bashcomp
> --prefix=/usr
>
> The kernel version is in the dir names:
>
> /usr/src/debug/kernel-2.6.32-358.el6/linux-2.6.32-358.el6.ppc64/arch/powerpc/include/asm/unistd.h
>   /usr/src/kernels/2.6.32-358.el6.ppc64/arch/powerpc/include/asm/unistd.h
>
> The compiler error was
>   no declaration for __NR_setns
>
>
> A simple patch for vzctl:
>
> --- vzctl-4.6.1/src/lib/hooks_ct.c      2014-02-27 09:00:56.885192592 -0600
> +++ vzctl-4.6.1r/src/lib/hooks_ct.c     2014-02-27 09:00:22.405096553 -0600
> @@ -30,6 +30,8 @@
>  #define __NR_setns     346
>  #elif defined __x86_64__

Does that mean that vzctl does not work on 32bits processors?

-- 
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."


More information about the Users mailing list