[Users] Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04)

Christian Kaiser2 CKAISER2 at de.ibm.com
Wed May 23 03:18:30 EDT 2007




I have a problem with compiling a kernel with the openvz-patch. Here are
the steps that I undertook:

1) Download Kernel 2.6.20 from kernel.org
2) Apply openvz patch with "patch -p0 < patch-ovz005.1-combined"
3) Used my original kernel configuration from Ubuntu 7.04
4) make xconfig
5) make-kpkg clean
6) make-kpkg --append-to-version custom --initrd kernel_headers
kernel_image

Here's the error message that I get when running step 6:


...
Root device is (3, 1)
Boot sector 512 bytes.
Setup is 7010 bytes.
System is 1693 kB
Kernel: arch/x86_64/boot/bzImage is ready  (#1)
make[1]: Leaving directory `/usr/src/linux-2.6.20'
/usr/bin/make  EXTRAVERSION=-ovz005custom  ARCH=x86_64 \
                             modules
make[1]: Entering directory `/usr/src/linux-2.6.20'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC [M]  arch/x86_64/kernel/../../i386/kernel/cpuid.o
  CC [M]  arch/x86_64/kernel/../../i386/kernel/microcode.o
arch/x86_64/kernel/../../i386/kernel/microcode.c: In function
‘microcode_write’:
arch/x86_64/kernel/../../i386/kernel/microcode.c:387: warning: ‘new_mc’
may be u
sed uninitialized in this function
  CC [M]  arch/x86_64/kernel/../../i386/kernel/msr.o
  LD [M]  arch/x86_64/kernel/msr.o
  LD [M]  arch/x86_64/kernel/microcode.o
  LD [M]  arch/x86_64/kernel/cpuid.o
  CC [M]
arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/acpi-cpufr
eq.o
  CC [M]
arch/x86_64/kernel/cpufreq/../../../i386/kernel/cpu/cpufreq/powernow-k
8.o
  LD [M]  arch/x86_64/kernel/cpufreq/powernow-k8.o
  LD [M]  arch/x86_64/kernel/cpufreq/acpi-cpufreq.o
  AS [M]  arch/x86_64/crypto/aes-x86_64-asm.o
  CC [M]  arch/x86_64/crypto/aes.o
  AS [M]  arch/x86_64/crypto/twofish-x86_64-asm.o
  CC [M]  arch/x86_64/crypto/twofish.o
  LD [M]  arch/x86_64/crypto/aes-x86_64.o
  LD [M]  arch/x86_64/crypto/twofish-x86_64.o
  CC [M]  kernel/cpt/cpt_proc.o
  CC [M]  kernel/cpt/cpt_dump.o
kernel/cpt/cpt_dump.c: In function ‘check_one_process’:
kernel/cpt/cpt_dump.c:988: warning: implicit declaration of function
‘check_utra
ce’
  CC [M]  kernel/cpt/cpt_obj.o
  CC [M]  kernel/cpt/cpt_context.o
  CC [M]  kernel/cpt/cpt_process.o
kernel/cpt/cpt_process.c: In function ‘cpt_check_unsupported’:
kernel/cpt/cpt_process.c:707: error: ‘struct task_struct’ has no member
named ‘t
ux_info’
make[3]: *** [kernel/cpt/cpt_process.o] Error 1
make[2]: *** [kernel/cpt] Error 2
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [debian/stamp-build-kernel] Error 2

Does anybody have an idea what's wrong here?



Kernel 2.6.20 is under development. So an error like this can happen. I'm
not sure but I think that checkpointing is broken in 2.6.20 OVZ Kernels. So
try 2.6.18 + OVZ Patches (that should be more stable) or remove
checkpointing support in the 2.6.20 kernel configuration (OpenVZ menu, then
checkpointing) and retry the compilation.

Mit freundlichen Grüßen / Best Regards
Christian Kaiser

IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2 at de.ibm.com


IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294



More information about the Users mailing list