Bug#513537: linux-image-2.6.26-1-openvz-amd64 hanging
On Thursday 02 April 2009 01:57:43 am Tom Rathborne wrote:
> On Wed, Apr 01, 2009 at 05:39:59PM -0400, Tom Rathborne wrote:
> > I commented out the junk in fs/dcache.c and the kernel compiled. :)
> >
> > I will send you the sysrq-D info next time I get the bug!
>
> Oops ... now OpenVZ won't start!
>
> magrathea:~# vzctl start 101
> Starting VE ...
> MOUNTING
> VE is mounted
> Error: kernel does not support user resources. Please, rebuild with
> CONFIG_USER_RESOURCE=y VE start failed
> UNMOUNTING
> VE is unmounted
>
> I do not see a "CONFIG_USER_RESOURCE is not set" in .config,
> and if I add 'CONFIG_USER_RESOURCE=y' then 'make menuconfig' reports:
> .config:3953:warning: trying to assign nonexistent symbol USER_RESOURCE
>
> I did find a couple of references to it:
> ./net/ipv4/tcp.c:#ifdef CONFIG_USER_RESOURCE
> ./net/ipv4/tcp_timer.c:#ifdef CONFIG_USER_RESOURCE
> but it looks like those should be CONFIG_BEANCOUNTERS.
>
> So ... what do I do next? It seems like this bug only happens with
> OpenVZ processes, but OpenVZ will not start without
> CONFIG_BEANCOUNTERS!
Ok, switching off CONFIG_BEANCOUNTERS was a bad idea ;(
I will prepare patch to fix beancounter warning in one-two days and send to you.
Thanks a lot of for your efforts!
Vitaliy Gusev
Reply to: