Re : Which kernel may I compile ?

David TECHER
Mon, 02 Jan 2012 15:27:09 -0000

I do not try this but perhaps it could help


cp /boot/config-2.6.32-5-xen-amd64 .config


yes "" | make oldconfig


________________________________
 De : Emmanuel COURCELLE <emmanuel.courcelle@toulouse.inra.fr>
À : xen-users@lists.xensource.com
Envoyé le : Lundi 2 Janvier 2012 15h50
Objet : [Xen-users] Which kernel may I compile ?

Hello everybody

We are currently using xen 4.0 on a Debian stable (kernel 2.6.32-5-xen-amd64),
it has been working without any trouble for several years.
But now we would like to have a domU with 96Gb memory (paravirtualized, ie NOT
hvm)
It is not possible with our kernel, because of the limitation to 32Gb for a domU
So I tried to compile the 3.1.6 kernel, with the following grub.cfg entry:

menuentry "Xen 4.0 KERNEL 3.1.6" {
    insmod ext2
    set root=''(hd1,1)''
    multiboot /boot/xen-4.0-amd64.gz dom0_mem=512M dom0_max_vcpus=1
dom0_vcpus_pin loglvl=all guest_loglvl=all
    search --no-floppy --fs-uuid --set xxx
    module /boot/vmlinuz-3.1.6 dummy=dummy root=UUID=xxx ro
    module /boot/initrd.img-3.1.6
}

This worked well with the 2.6.32 kernel, but I get a panic with the 3.1.6 kernel
(cannot find the root FS)
The machine boots correctly the new 3.1.6 kernel when I remove the xen-related
entry, so I think my compilation is correct.

Well, here is the question: Which kernel should I compile to drop this 32Gb
limitation without upgrading xen itsef ?
(I would want to avoid upgrading to debian testing).

Thanks in advance for your answers !

-- Emmanuel COURCELLE                emmanuel.courcelle@toulouse.inra.fr