OpenVZ Forum


Home » General » Support » Debian installation precompiled kernel images -- so confused
Debian installation precompiled kernel images -- so confused [message #21665] Sat, 13 October 2007 04:08 Go to next message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
I am trying to install OpenVZ into a Debian etch box. I'm following this guide:
http://wiki.openvz.org/Installation_on_Debian#install_the_ke rnel-image

I don't understand the naming system of the kernels:

(from download.openvz.com/debian)
linux-image-2.6.18-openvz-13-39.1d2-686
linux-image-2.6.18-ovz-028stab045.1
(from debian.systs.org)
ovzkernel-2.6.18

There are many more.

Which one should I install?

My uname -a is:
Linux test.test.net 2.6.18-5-686-bigmem #1 SMP Fri Jun 1 02:04:28 UTC 2007 i686 GNU/Linux

Thank you.
Re: Debian installation precompiled kernel images -- so confused [message #21666 is a reply to message #21665] Sat, 13 October 2007 08:38 Go to previous messageGo to next message
a1bert is currently offline  a1bert
Messages: 9
Registered: October 2007
Location: .cz
Junior Member
...and, where is the signing key for debian packages from download.openvz.org ?
Re: Debian installation precompiled kernel images -- so confused [message #21667 is a reply to message #21666] Sat, 13 October 2007 08:51 Go to previous messageGo to next message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
I'm sorry?

The signing key? (excuse the noob)
Re: Debian installation precompiled kernel images -- so confused [message #21668 is a reply to message #21667] Sat, 13 October 2007 09:01 Go to previous messageGo to next message
a1bert is currently offline  a1bert
Messages: 9
Registered: October 2007
Location: .cz
Junior Member
it's another question for maintainers not for you Wink

debian packages are signed to allow you to verify that package is not altered or compromised. there is a signing key for debian.systs.org packages but not for openvz.org packages in the "Installation on Debian" wiki....
Re: Debian installation precompiled kernel images -- so confused [message #21670 is a reply to message #21668] Sat, 13 October 2007 14:10 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

basically you can disable the gpg-check, read man pages of apt or take a look at http://www.debian-administration.org/articles/174

Naming scheme about the debian OpenVZ linux-kernel-images:

download.openvz.org
===================

ex: linux-image-2.6.18-openvz-13-39.1d2-686

linux-image -> kernels and modules
-2.6.18 -> kernel version
-openvz -> OpenVZ
-13 -> its built which debian kernel tree (package: linux-source-2.6.18, version 2.6.18.dfsg.1-13etch4,
-39.1 -> OpenVZ patch 028stab039.1
d2 -> spec. the debian (sub-)version
-686 -> build for i686 ( 4GB )


debian.systs.org:
=================

ex: linux-image-2.6.18-ovz-028stab045.1-smp

linux-image -> see above
2.6.18 -> kernel-version
-ovz -> OpenVZ
-028stab045.1 -> Version of OpenVZ patch, here 028stab045.1
-smp -> the offical kernel config of openvz, taken from download.openvz.org, here smp flavour, like (up)/smp/enterprise

and the Metapackages, which installed the kernels

ovzkernel-2.6.18 -->
linux-image-2.6.18-ovz-<openvz_patch>-<uniprocessor_kernel_config >

ovzkernel-2.6.18-smp -->
linux-image-2.6.18-ovz-<openvz_patch>-<smp_kernel_config>

ovzkernel-2.6.18-enterprise --> linux-image-2.6.18-ovz-<openvz_patch>-<enterprise_kernel_config >

Hope it clear!

[Updated on: Sat, 13 October 2007 15:38]

Report message to a moderator

Re: Debian installation precompiled kernel images -- so confused [message #21671 is a reply to message #21665] Sat, 13 October 2007 14:15 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi "belkhal",

at download.openvz.org, there is no linux-image like -bigmem,
there are still missing,

but the repro at debian.systs.org has the Debian linux kernel image built with the OpenVZ enterprise config, read precompiled kernel images at debian.systs.org (dso) at the wiki page of Install OpenVZ on Debian.

Re: Debian installation precompiled kernel images -- so confused [message #21675 is a reply to message #21671] Sat, 13 October 2007 21:57 Go to previous messageGo to next message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
Alright...I need -enterprise, since the server has a SMP-capable processor, and I do have 8GB of RAM and my OS is debian 32 bit.

I'm not very comfortable compiling my own kernel, so I rather use a precompiled image. So, given that... I should use the images at debian.systs.org.

Their apt-cache search openvz gives me:
kernel-patch-openvz - server virtualization solution - kernel patch
linux-headers-2.6.18-ovz-028stab045.1 - Header files related to OpenVZ Linux kernel, specifically,
linux-headers-2.6.18-ovz-028stab045.1-enterprise - Header files related to OpenVZ Linux kernel, specifically,
linux-headers-2.6.18-ovz-028stab045.1-smp - Header files related to OpenVZ Linux kernel, specifically,
linux-image-2.6.18-ovz-028stab045.1 - OpenVZ Linux kernel binary image for version 2.6.18-ovz-028stab045.1
linux-image-2.6.18-ovz-028stab045.1-enterprise - OpenVZ Linux kernel binary image for version 2.6.18-ovz-028stab045.1-enterprise
linux-image-2.6.18-ovz-028stab045.1-smp - OpenVZ Linux kernel binary image for version 2.6.18-ovz-028stab045.1-smp
linux-patch-openvz - OpenVZ - server virtualization solution - linux patch
ovzkernel-2.6.18 - OpenVZ - Meta kernel 2.6.18 (028stab045.1) on i386
ovzkernel-2.6.18-enterprise - OpenVZ - Meta kernel 2.6.18 (028stab045.1) on i386
ovzkernel-2.6.18-smp - OpenVZ - Meta kernel 2.6.18 (028stab045.1) on i386
vzctl - OpenVZ - server virtualization solution - control tools
vzctl-ostmpl-debian - OpenVZ - OS Template - Debian 4.0
vzdump - OpenVZ backup scripts
vzprocps - OpenVZ - server virtualization solution - procps utilities
vzquota - OpenVZ - server virtualization solution - quota tools

Whats the difference between these two:

linux-image-2.6.18-ovz-028stab45.1-enterprise
ovzkernel-2.6.18-enterprise

Someone said meta kernel earlier. What is a meta kernel?

Thanks for the help
Re: Debian installation precompiled kernel images -- so confused [message #21680 is a reply to message #21675] Sun, 14 October 2007 09:11 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

let's show a "Metapackage" != Metakernel

--- 8< ---
Package: ovzkernel-2.6.18-enterprise
Version: 028stab045.1
Architecture: i386
Depends: linux-image-2.6.18-ovz-028stab045.1-enterprise
Maintainer: Thorsten Schifferdecker <tsd@debian.systs.org>
Priority: optional
Section: admin
Filename: pool/openvz/o/ovzkernel-2.6.18-enterprise/ovzkernel-2.6.18-e nterprise_028stab045.1_i386.deb
Size: 1520
MD5sum: cb91e50c3214d4afd11994239c054430
Description: OpenVZ - Meta kernel 2.6.18 (028stab045.1) on i386
This Package is only a META Package to install the
OpenVZ kernel 2.6.18 (028stab045.1) on i386.
--- 8< ---

You see the depends and description:
install the ovzkernel-2.6.18-enterprise, the depends fetch and install the real linux-image for the actually used OpenVZ enterprise flavor.
Re: Debian installation precompiled kernel images -- so confused [message #21681 is a reply to message #21680] Sun, 14 October 2007 10:23 Go to previous messageGo to next message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
Ah!

Thank you. That cleared everything up. MetaPACKAGE, not meta kernel Wink

Re: Debian installation precompiled kernel images -- so confused [message #21684 is a reply to message #21681] Sun, 14 October 2007 15:07 Go to previous messageGo to next message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
Okay, this time I've come back with more questions:

I've noticed that debian.systs.org only supplies packages for i386. And download.openvz.org does not provide enterprise/smp packages. Furthermore, I would like to use my ISP's provided kernel configuration.

So, now I am looking to compile a custom kernel that supports ovz.

This is what I've done:

apt-get install linux-source-2.6.18 linux-patch-debian-2.6.18
cd /usr/src
tar jvxf linux-source-2.6.18
cd linux-source-2.6.18

Since my ISP provides the kernel configuration for 2.6.18-5:

/usr/src/kernel-patches/all/2.6.18/apply/debian 2.6.18-5

Now, I try to apply the openvz patch:

apt-get install kernel-patch-openvz
/usr/src/kernel-patches/all/apply/openvz

And, I get the following errors:

START applying openvz patch (OpenVZ kernel patch for virtual server support)
Testing whether "OpenVZ kernel patch for virtual server support" patch for 2.6.18 applies (dry run):
1 out of 1 hunk FAILED -- saving rejects to file include/asm-sparc64/unistd.h.rej
1 out of 15 hunks FAILED -- saving rejects to file net/core/sock.c.rej
14 out of 36 hunks FAILED -- saving rejects to file net/ipv4/netfilter/ip_tables.c.rej
1 out of 8 hunks FAILED -- saving rejects to file net/ipv6/udp.c.rej
"OpenVZ kernel patch for virtual server support" patch for 2.6.18 does not apply cleanly


I've also tried the linux-patch-openvz package at debian.systs.org to see if those patches will apply cleanly, but I get the following:

START applying openvz patch (OpenVZ - linux kernel patch for virtual server support)
Testing whether "OpenVZ - linux kernel patch for virtual server support" patch for 2.6.18 applies (dry run):
1 out of 16 hunks FAILED -- saving rejects to file net/core/sock.c.rej
7 out of 33 hunks FAILED -- saving rejects to file net/ipv4/netfilter/ip_tables.c.rej
1 out of 65 hunks FAILED -- saving rejects to file net/ipv6/addrconf.c.rej
1 out of 2 hunks FAILED -- saving rejects to file net/ipv6/exthdrs.c.rej
1 out of 8 hunks FAILED -- saving rejects to file net/ipv6/udp.c.rej
"OpenVZ - linux kernel patch for virtual server support" patch for 2.6.18 does not apply cleanly

Does anyone have any advice?
Re: Debian installation precompiled kernel images -- so confused [message #21687 is a reply to message #21684] Sun, 14 October 2007 18:47 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

please give more info:

* for what arch do you need a kernel
* ISP config for that kernel
* version of linux-source-2.6.18 (dpkg -l linux-source-2.6.18)
* version of linux-patch-openvz and kernel-patch-openvz
* are other patches are used ?

Re: Debian installation precompiled kernel images -- so confused [message #21689 is a reply to message #21687] Sun, 14 October 2007 21:32 Go to previous messageGo to next message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
I would like to compile for 686 arch.

I've attached our ISP's kernel config.

No other patches used.

Below are the package versions

dpkg -l linux-source-2.6.18
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Hal f-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-====================== ===========-================================================ ==================================
ii linux-source-2.6.18 2.6.18.dfsg.1-13 Linux kernel source for version 2.6.18 with Debian patches

dpkg -l kernel-patch-openvz
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Hal f-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-====================== ===========-================================================ ==================================
ii kernel-patch-openvz 028.18.1etch2 server virtualization solution - kernel patch

dpkg -l linux-patch-openvz
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Hal f-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-====================== ===========-================================================ ==================================
pn linux-patch-openvz <none> (no description available)
  • Attachment: config
    (Size: 69.00KB, Downloaded 300 times)
Re: Debian installation precompiled kernel images -- so confused [message #21695 is a reply to message #21689] Mon, 15 October 2007 05:12 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

> I would like to compile for 686 arch.
linux-image-2.6.18-028stab045.1-... are 686er builds.

>ii linux-source-2.6.18 2.6.18.dfsg.1-13
2.6.18.dfsg.1-13, is an old release, please update to 2.6.18.dfsg.1-13etch4

> ii kernel-patch-openvz 028.18.1etch2
same as above, old please update to 028.18.1etch5
Re: Debian installation precompiled kernel images -- so confused [message #21748 is a reply to message #21684] Mon, 15 October 2007 20:02 Go to previous messageGo to next message
efball is currently offline  efball
Messages: 41
Registered: September 2006
Location: Santa Rosa, California
Member
belkhal wrote on Sun, 14 October 2007 11:07



I've noticed that debian.systs.org only supplies packages for i386. And download.openvz.org does not provide enterprise/smp packages.


I think all 2.6.18 and later kernels do smp. I'm using linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb and smp works fine.

The numbering system is confusing, but if you browse to http://download.openvz.org/debian/dists/etch/main/binary-i38 6/base/
You can see which one is the newest.




E Frank Ball efball@efball.com
Re: Debian installation precompiled kernel images -- so confused [message #21848 is a reply to message #21665] Wed, 17 October 2007 03:54 Go to previous message
belkhal is currently offline  belkhal
Messages: 9
Registered: October 2007
Junior Member
My ISP mirrored the Debian repositories and pinned the versions of the kernel to an earlier version. I switched to Debian repositories, and everything worked out.

Thanks
Previous Topic: Configuring a useless veth
Next Topic: node crashed
Goto Forum:
  


Current Time: Wed Nov 13 20:50:38 GMT 2024

Total time taken to generate the page: 0.02945 seconds