WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

AW: [Xen-users] Lenny how to compile new kernel

To: Torsten Valentin <torsten.valentin@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: AW: [Xen-users] Lenny how to compile new kernel
From: Carsten Schiers <carsten@xxxxxxxxxx>
Date: Tue, 10 Mar 2009 15:30:00 +0100
Cc:
Delivery-date: Tue, 10 Mar 2009 07:30:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

compiling debian kernels is a bit different. You have aporximately to:

  - apt-get install linux-source-2.6...
  - apt-get source linux-image-2.6.26-1-xen-686...
  - apt-get build-dep linux-image...
  - debian/rules binary

It will then build the default config file for you and compile the kernel
which reisides in linux-2.6-2.6.26/debian/build/build_...

A lot of patching also takes place.

I have no idea how to then change config and rebuild again. Eventually, your
debian/build/build_... is then the right place to start.

BR,
Carsten.

----- Originalnachricht -----
Von: Torsten Valentin <torsten.valentin@xxxxxxxxx>
Gesendet: Die, 10.3.2009 14:50
An: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: [Xen-users] Lenny how to compile new kernel

Hi!

I need to have a modified entry for CONFIG_HZ in the Dom-U kernel. I
installed Lenny, then installed the xen-enabled kernel
linux-image-2.6.26-1-xen-686 and also the sources (apt-get source
linux-image-2.6.26-1-xen-686). However, there is no .config file in this
package. So make menuconfig starts with the default values. However,
when I compile a new kernel with XEN enabled (and my new timer option),
this new kernel does not list any PCI devices. When I boot the DomU with
the precompiled kernel, lspci lists the devices I mapped to the DomU
correctly (pciback.hide in the Dom0-kernel and pci= in the DomU). So I
must have been missing some config values when compiling the kernel.

Either: What do I have to do to make the DomU kernel find my PCI devices?
Or: How do I get the .config file with which Lennys kernel
linux-image-2.6.26-1-xen-686 was compiled?

Regards,
T.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • AW: [Xen-users] Lenny how to compile new kernel, Carsten Schiers <=