Bug#513537: linux-image-2.6.26-1-openvz-amd64 hanging
On Tue, Mar 31, 2009 at 10:03:21PM -0400, Tom Rathborne wrote:
> On Tue, Mar 31, 2009 at 11:51:02PM +0400, Vitaliy Gusev wrote:
> > 2. We need sysrq-D info after lockup, so try to compile kernel without CONFIG_BEANCOUNTERS.
>
> With this week's new Debian lenny kernel source package, I had no problem
> making an OpenVZ kernel with my previous config, but without
> CONFIG_BEANCOUNTERS I got an error:
...
> CC kernel/pid.o
> kernel/pid.c: In function ‘free_pid’:
> kernel/pid.c:270: error: ‘struct pid’ has no member named ‘ub’
> kernel/pid.c:270: error: ‘struct kmem_cache’ has no member named ‘objuse’
> kernel/pid.c:275: error: ‘struct pid’ has no member named ‘ub’
> kernel/pid.c: In function ‘alloc_pid’:
> kernel/pid.c:336: warning: label ‘out_enable’ defined but not used
> kernel/pid.c:287: warning: unused variable ‘ub’
> make[3]: *** [kernel/pid.o] Error 1
> make[2]: *** [kernel] Error 2
> make[2]: Leaving directory usr/src/linux-source-2.6.26'
> make[1]: *** [debian/stamp/build/kernel] Error 2
> make[1]: Leaving directory usr/src/linux-source-2.6.26'
> make: *** [debian/stamp/do-build-arch] Error 2
>
> So, I commented out those lines (270,275,287) but then I get more
> errors, in pid_namespace.c. Commented out those too. Hit some more BC
> junk in fs/dcache.c.
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!
Tom
--
-- Tom Rathborne
<Bootsy> Tommer needs a revision that takes care of itself.
Reply to: