Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[all variants] Xen Boot Panic - allocation is too small for kernel image.

$
0
0
Current setup: Ubuntu 12.04, 3.2.0-32, Xen4.1-amd64

When booting Xen from Grub2 I get the following kernel panic:

Code:

(XEN) ********************
(XEN) Panic on CPU 0:
(XEN) Domain 0 allocation is too small for kernel image.
(XEN) ********************

So far I have tried every combination I can think of [dom0_mem=].

My current /etc/default/grub
Code:

GRUB_DEFAULT="Xen 4.1-amd64"
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=min:8192M,max:8192M loglvl=all"

and the resulting /boot/grub/grub.cfg menuentry

Code:

### BEGIN /etc/grub.d/20_linux_xen ###
submenu "Xen 4.1-amd64" {
menuentry 'Ubuntu GNU/Linux, with Xen 4.1-amd64 and Linux 3.2.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt3)'
        search --no-floppy --fs-uuid --set=root dfeb1395-8583-4bed-bc97-8f2317a7e9dd
        echo    'Loading Xen 4.1-amd64 ...'
        multiboot      /boot/xen-4.1-amd64.gz placeholder  dom0_mem=min:8192M,max:8192M loglvl=all
        echo    'Loading Linux 3.2.0-32-generic ...'
        module  /boot/vmlinuz-3.2.0-32-generic placeholder root=UUID=dfeb1395-8583-4bed-bc97-8f2317a7e9dd ro  quiet splash
        echo    'Loading initial ramdisk ...'
        module  /boot/initrd.img-3.2.0-32-generic
}
menuentry 'Ubuntu GNU/Linux, with Xen 4.1-amd64 and Linux 3.2.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt3)'
        search --no-floppy --fs-uuid --set=root dfeb1395-8583-4bed-bc97-8f2317a7e9dd
        echo    'Loading Xen 4.1-amd64 ...'
        multiboot      /boot/xen-4.1-amd64.gz placeholder
        echo    'Loading Linux 3.2.0-32-generic ...'
        module  /boot/vmlinuz-3.2.0-32-generic placeholder root=UUID=dfeb1395-8583-4bed-bc97-8f2317a7e9dd ro single
        echo    'Loading initial ramdisk ...'
        module  /boot/initrd.img-3.2.0-32-generic
}

Thanks for any help!

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>