[Users] CONFIG_USER_RESOURCE missing?

Andreas Mimz Andreas.Mimz at kOS2.de
Mon Apr 2 05:26:25 EDT 2007


Ooops... The OpenVZ tools were infact wrong..
that did the trick ;-)

Thanks a lot...


On Sun, April 1, 2007 13:16, Kirill Korotaev wrote:
> Andreas,
>
>
> according to strace looks like you are still trying to use 32-bit vzctl
> and OpenVZ tools. Try recompile it as 64-bit binaries.
> Also please check that your have CONFIG_COMPAT=y in your kernel .config
> file.
>
> Thanks,
> Kirill
>
>
> Andreas Mimz wrote:
>
>> Hello,
>>
>>
>> I've recently upgraded one of my host servers from an etch 32 bit
>> system to a debian etch 64 bit system (same host)... I've compiled a new
>> kernel using almost the same config like the one I had before (except
>> for 64bit of course)...
>>
>> Now, when trying to start a VPS I get this message...
>>
>>
>> VE is mounted
>> Error: kernel does not support user resources. Please, rebuild with
>> CONFIG_USER_RESOURCE=y
>> VE start failed
>>
>>
>> some parts of my .config:
>>
>> # grep CONFIG_USER_RESOURCE .config
>> CONFIG_USER_RESOURCE=y
>> CONFIG_USER_RESOURCE_PROC=y
>>
>>
>> # egrep "CONFIG_V[EZ]" .config
>> CONFIG_VZ_QUOTA=m
>> # CONFIG_VZ_QUOTA_UNLOAD is not set
>> CONFIG_VZ_QUOTA_UGID=y
>> CONFIG_VE=y
>> CONFIG_VE_CALLS=m
>> CONFIG_VZ_GENCALLS=y
>> CONFIG_VE_NETDEV=m
>> CONFIG_VE_ETHDEV=m
>> CONFIG_VZ_DEV=m
>> CONFIG_VE_IPTABLES=y
>> CONFIG_VZ_WDOG=m
>> CONFIG_VZ_CHECKPOINT=m
>>
>>
>> I'm using a 2.6.18 kernel using the RHEL5 kernel patch 028stab023.1
>> (that's basically the only other difference to the 32 bit system...
>> there I was running a 028stab021.1 kernel.).
>>
>> a strace on 'vzctl start X' shows basically this...
>>
>> ...
>> ...
>> fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0 close(7)
>> = 0
>> fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0 close(6)
>> = 0
>> chdir("/var/lib/vz/root/5")             = 0 chroot("/var/lib/vz/root/5")
>> = 0
>> setsid()                                = 6432
>> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGHUP,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGQUIT,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGILL, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGTRAP,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGABRT, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGBUS,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGFPE, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGKILL,
>> {SIG_DFL}, NULL, 8) = -1 EINVAL (Invalid argument)
>> rt_sigaction(SIGUSR1, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGSEGV,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGUSR2, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGPIPE,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGTERM,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGSTKFLT, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGCHLD,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGCONT, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGSTOP,
>> {SIG_DFL}, NULL, 8) = -1 EINVAL (Invalid argument)
>> rt_sigaction(SIGTSTP, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGTTIN,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGTTOU, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGURG,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGXCPU, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGXFSZ,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGVTALRM, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGPROF,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGWINCH, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGIO,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGPWR, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGSYS,
>> {SIG_DFL}, NULL, 8) = 0
>> rt_sigaction(SIGRT_2, {SIG_DFL}, NULL, 8) = 0 ...
>> ..
>> ...
>> rt_sigaction(SIGRT_32, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(65,
>> {SIG_DFL}, NULL, 8)    = -1 EINVAL (Invalid argument)
>> syscall_511(0x5, 0x16, 0xbfd26b10, 0xb7fcefd9, 0xb7fe17f8, 0xbfd26ee8,
>> 0xffffffda, 0x7b, 0x7b, 0, 0x33, 0x1ff, 0xb7f
>> 4d172, 0x73, 0x246, 0xbfd26cbc, 0x7b, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
>> 0, 0, 0, 0) = -1 (errno 38)
>> write(2, "Error: kernel does not support u"..., 90) = 90 write(2, "\n",
>> 1)                       = 1
>>
>>
>>
>> Maybe I missed a specific setting when upgrading my kernel using 'make
>> oldconfig' ?! Has anyone any idea about this?
>>
>>
>> Thanks alot in advance!
>>
>>
>> Andreas Mimz
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
>




More information about the Users mailing list