Bug#513537: linux-image-2.6.26-1-openvz-amd64 hanging
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:
magrathea:/usr/src/linux-source-2.6.26# make-kpkg --append_to_version=-tp7-openvz --initrd binary-arch
exec debian/rules DEBIAN_REVISION=2.6.26-tp7-openvz-10.00.Custom APPEND_TO_VERSION=-tp7-openvz INITRD=YES binary-arch
====== making target debian/stamp/do-build-arch [new prereqs: do-pre-build-arch]======
/usr/bin/make -f debian/rules debian/stamp/dep-build-arch
make[1]: Entering directory usr/src/linux-source-2.6.26'
====== making target debian/stamp/build/kernel [new prereqs: conf.vars]======
This is kernel package version 11.015.
test ! -f scripts/package/builddeb.kpkg-dist || mv -f scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || mv -f scripts/package/Makefile.kpkg-dist scripts/package/Makefile
/usr/bin/make EXTRAVERSION=-tp7-openvz ARCH=x86_64 \
bzImage
make[2]: Entering directory usr/src/linux-source-2.6.26'
scripts/kconfig/conf -s arch/x86/Kconfig
make[2]: Leaving directory usr/src/linux-source-2.6.26'
make[2]: Entering directory usr/src/linux-source-2.6.26'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC kernel/time.o
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.
Looks like the Debian OpenVZ patches put in some beancounter stuff
outside of CONFIG_BEANCOUNTERS! I will look at this again later this
week and see if I can figure out how to exclude just those patches.
I'll let you know how it goes ... thanks for your attention! :)
Tom
--
-- Tom Rathborne
<Bootsy> Tommer needs a revision that takes care of itself.
Reply to: