Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04) [message #13184] |
Wed, 23 May 2007 06:33 |
Dieter Schicker
Messages: 2 Registered: May 2007
|
Junior Member |
|
|
Hi,
this is my first post to this list, so I want to say: Thanks to openvz
for this great piece of software!
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?
Many thanks in advance and cheers
Dilino
|
|
|
|
|
|
Re: Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04) [message #13191 is a reply to message #13189] |
Wed, 23 May 2007 09:24 |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
|
|
well, 2.6.18 is our current stable.
however, 2.6.20 should be quite good as well, though contanis more bugs
like this :/ sure, this patch will be added to 2.6.20 as well soon.
Thanks,
Kirill
Dieter Schicker wrote:
> Many thanks, folks! I will give that a try at night since I don't sit in
> front of the particular machine right now.
> Looking at the URL you sent, I suppose that you also propose to use the
> 2.6.18 kernel, right?
>
> Thanks & Cheers
> Dieter
>
> Kirill Korotaev wrote:
>
>>Use this patch:
>>http://git.openvz.org/?p=linux-2.6.18-openvz;a=commitdiff;h=d19c1d4520b19bf61554bf4b9e6d2c5edd8fb8b2
>>
>>Thanks,
>>Kirill
>>
>>Dieter Schicker wrote:
>>
>>
>>>Hi,
>>>
>>>this is my first post to this list, so I want to say: Thanks to openvz
>>>for this great piece of software!
>>>
>>>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?
>>>
>>>Many thanks in advance and cheers
>>>Dilino
>>>
>>>
|
|
|