[Users] Kernel 2.6.22-6 and patch-ovz002.1-combined.gz
Hi I trying compiling kernel 2.6.22-6 and patch patch-ovz002.1-combined.gz http://download.openvz.org/kernel/branches/2.6.22/2.6.22-ovz002.1/patches//patch-ovz002.1-combined.gz but I having some error CC [M] kernel/cpt/cpt_dump.o kernel/cpt/cpt_dump.c: In function 'check_process_external': kernel/cpt/cpt_dump.c:129: error: 'struct pid' has no member named 'ns' kernel/cpt/cpt_dump.c:131: error: 'struct pid' has no member named 'ns' kernel/cpt/cpt_dump.c:133: error: 'struct pid' has no member named 'ns' kernel/cpt/cpt_dump.c:171:31: error: macro find_task_by_pid_ns requires 2 arguments, but only 1 given kernel/cpt/cpt_dump.c: In function 'vps_stop_tasks': kernel/cpt/cpt_dump.c:171: error: 'find_task_by_pid_ns' undeclared (first use in this function) kernel/cpt/cpt_dump.c:171: error: (Each undeclared identifier is reported only once kernel/cpt/cpt_dump.c:171: error: for each function it appears in.) kernel/cpt/cpt_dump.c:184: warning: implicit declaration of function 'virt_pid' kernel/cpt/cpt_dump.c:199: warning: implicit declaration of function 'process_vgroup' kernel/cpt/cpt_dump.c:205: warning: implicit declaration of function 'process_vsession' kernel/cpt/cpt_dump.c:592:30: error: macro find_task_by_pid_ns requires 2 arguments, but only 1 given kernel/cpt/cpt_dump.c: In function 'vps_collect_tasks': kernel/cpt/cpt_dump.c:592: error: 'find_task_by_pid_ns' undeclared (first use in this function) kernel/cpt/cpt_dump.c:1129:30: error: macro find_task_by_pid_ns requires 2 arguments, but only 1 given kernel/cpt/cpt_dump.c: In function 'cpt_vps_caps': kernel/cpt/cpt_dump.c:1129: error: 'find_task_by_pid_ns' undeclared (first use in this function) make[3]: *** [kernel/cpt/cpt_dump.o] Błąd 1 make[2]: *** [kernel/cpt] Błąd 2 make[1]: *** [kernel] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.22.6' make: *** [debian/stamp-build-kernel] Błąd 2 gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) System is a debian etch 4.0 / Albert ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Kernel 2.6.22-6 and patch-ovz002.1-combined.gz
2.6.22 ovz kernel is in early alpha, and chechpointing functionality is not yet fully ported. For now, you have to deselect it if you want to try compiling that kernel. Also note the latest 2.6.22 patches can be found in git.openvz.org. Albert Czarnecki wrote: Hi I trying compiling kernel 2.6.22-6 and patch patch-ovz002.1-combined.gz http://download.openvz.org/kernel/branches/2.6.22/2.6.22-ovz002.1/patches//patch-ovz002.1-combined.gz but I having some error CC [M] kernel/cpt/cpt_dump.o kernel/cpt/cpt_dump.c: In function 'check_process_external': kernel/cpt/cpt_dump.c:129: error: 'struct pid' has no member named 'ns' kernel/cpt/cpt_dump.c:131: error: 'struct pid' has no member named 'ns' kernel/cpt/cpt_dump.c:133: error: 'struct pid' has no member named 'ns' kernel/cpt/cpt_dump.c:171:31: error: macro find_task_by_pid_ns requires 2 arguments, but only 1 given kernel/cpt/cpt_dump.c: In function 'vps_stop_tasks': kernel/cpt/cpt_dump.c:171: error: 'find_task_by_pid_ns' undeclared (first use in this function) kernel/cpt/cpt_dump.c:171: error: (Each undeclared identifier is reported only once kernel/cpt/cpt_dump.c:171: error: for each function it appears in.) kernel/cpt/cpt_dump.c:184: warning: implicit declaration of function 'virt_pid' kernel/cpt/cpt_dump.c:199: warning: implicit declaration of function 'process_vgroup' kernel/cpt/cpt_dump.c:205: warning: implicit declaration of function 'process_vsession' kernel/cpt/cpt_dump.c:592:30: error: macro find_task_by_pid_ns requires 2 arguments, but only 1 given kernel/cpt/cpt_dump.c: In function 'vps_collect_tasks': kernel/cpt/cpt_dump.c:592: error: 'find_task_by_pid_ns' undeclared (first use in this function) kernel/cpt/cpt_dump.c:1129:30: error: macro find_task_by_pid_ns requires 2 arguments, but only 1 given kernel/cpt/cpt_dump.c: In function 'cpt_vps_caps': kernel/cpt/cpt_dump.c:1129: error: 'find_task_by_pid_ns' undeclared (first use in this function) make[3]: *** [kernel/cpt/cpt_dump.o] Błąd 1 make[2]: *** [kernel/cpt] Błąd 2 make[1]: *** [kernel] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.22.6' make: *** [debian/stamp-build-kernel] Błąd 2 gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) System is a debian etch 4.0 / Albert ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] linux-2.6.22 from git.openvz.org
Plz file a bug for that (to bugzilla.openvz.org), and attach your .config. Albert Czarnecki wrote: Hi Now I trying compiling kernel from git.openvz.org but I have some error Building modules, stage 2. MODPOST 933 modules WARNING: wrmsr_on_cpu [arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko] undefined! WARNING: rdmsr_on_cpu [arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko] undefined! WARNING: wrmsr_on_cpu [arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko] undefined! WARNING: rdmsr_on_cpu [arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko] undefined! make[2]: *** [__modpost] Błąd 1 make[1]: *** [modules] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.20-openvz' make: *** [debian/stamp-build-kernel] Błąd 2 Any ideas? Albert ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users