OpenVZ Forum


Home » Mailing lists » Users » Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04)
Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04) [message #13184] Wed, 23 May 2007 06:33 Go to next message
Dieter Schicker is currently offline  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 #13186 is a reply to message #13184] Wed, 23 May 2007 07:18 Go to previous messageGo to next message
Christian Kaiser2 is currently offline  Christian Kaiser2
Messages: 27
Registered: May 2007
Junior Member
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@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
Re: Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04) [message #13187 is a reply to message #13184] Wed, 23 May 2007 08:07 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

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
>
>
Re: Kernel 2.6.20 with openvz-patch on Ubuntu Feisty Fawn (7.04) [message #13189 is a reply to message #13187] Wed, 23 May 2007 08:59 Go to previous messageGo to next message
Dieter Schicker is currently offline  Dieter Schicker
Messages: 2
Registered: May 2007
Junior Member
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
>>
>>
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 Go to previous message
dev is currently offline  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
>>>
>>>
Previous Topic: Another Error
Next Topic: Help with error Net:Registered protocol family 16
Goto Forum:
  


Current Time: Sat Apr 27 22:12:32 GMT 2024

Total time taken to generate the page: 0.02543 seconds