[kernel-xen] error 13: invalid or unsupported executable format

Steven Haigh netwiz at crc.id.au
Sat Jan 10 08:16:18 AEDT 2015


I'm wondering if this is to do with EFI....

Does anyone else on the list use an EFI booting server as a Xen Dom0?

On 9/01/2015 5:18 PM, Colin Durrant wrote:
> Any ideas on this?
> 
> Thanks and kind regards
> 
> Colin
> Colins IT Ltd
> www.colins-it.co.uk
> @colinsit
> 
>> On 8 Jan 2015, at 06:40, Colin Durrant <colin at colins-it.co.uk> wrote:
>>
>> OK, so grub.conf is not saved in /boot/grub for some reason
>>
>> It is here - /boot/efi/EFI/redhat/
>>
>> # grub.conf generated by anaconda
>> #
>> # Note that you do not have to rerun grub after making changes to this file
>> # NOTICE:  You have a /boot partition.  This means that
>> #          all kernel and initrd paths are relative to /boot/, eg.
>> #          root (hd0,1)
>> #          kernel /vmlinuz-version ro root=/dev/mapper/vg_xen2-lv_root
>> #          initrd /initrd-[generic-]version.img
>> #boot=/dev/sdd1
>> device (hd0) HD(1,800,64000,c2b17ae2-c245-47f4-b33b-667df64cbf32)
>> default=1
>> timeout=15
>> splashimage=(hd0,1)/grub/splash.xpm.gz
>> hiddenmenu
>> title Scientific Linux (2.6.32-504.3.3.el6.x86_64)
>>        root (hd0,1)
>>        kernel /vmlinuz-2.6.32-504.3.3.el6.x86_64 ro
>> root=/dev/mapper/vg_xen2-lv_root rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=uk
>> LANG=en_US.UTF-8 rd_LVM_LV=vg_xen2/lv_swap rd_NO_MD
>> SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_xen2/lv_root
>> rd_NO_DM rhgb quiet
>>        initrd /initramfs-2.6.32-504.3.3.el6.x86_64.img
>> title Scientific Linux (3.14.27-1.el6xen.x86_64)
>>        root (hd0,1)
>>        kernel /xen.gz dom0_mem=1024M cpufreq=xen dom0_max_vcpus=1
>> dom0_vcpus_pin
>>        module /vmlinuz-3.14.27-1.el6xen.x86_64 ro
>> root=/dev/mapper/vg_xen2-lv_root rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=uk
>> LANG=en_US.UTF-8 rd_LVM_LV=vg_xen2/lv_swap rd_NO_MD
>> SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_xen2/lv_root
>> rd_NO_DM rhgb quiet
>>        module /initramfs-3.14.27-1.el6xen.x86_64.img
>> title Scientific Linux 6 (2.6.32-504.el6.x86_64)
>>        root (hd0,1)
>>        kernel /vmlinuz-2.6.32-504.el6.x86_64 ro
>> root=/dev/mapper/vg_xen2-lv_root rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=uk
>> LANG=en_US.UTF-8 rd_LVM_LV=vg_xen2/lv_swap rd_NO_MD
>> SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_xen2/lv_root
>> rd_NO_DM rhgb quiet
>>        initrd /initramfs-2.6.32-504.el6.x86_64.img
>>
>> title Scientific Linux 6 (2.6.32-504.el6.x86_64)
>>        root (hd0,1)
>>        kernel /vmlinuz-2.6.32-504.el6.x86_64 ro
>> root=/dev/mapper/vg_xen2-lv_root rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=uk
>> LANG=en_US.UTF-8 rd_LVM_LV=vg_xen2/lv_swap rd_NO_MD
>> SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_xen2/lv_root
>> rd_NO_DM rhgb quiet
>>        initrd /initramfs-2.6.32-504.el6.x86_64.img
>> fer making changes to this file
>> # NOTICE:  You have a /boot partition.  This means that
>> #          all kernel and initrd paths are relative to /boot/, eg.
>> #          root (hd0,1)
>> #          kernel /vmlinuz-version ro root=/dev/mapper/vg_xen2-lv_root
>> #          initrd /initrd-[generic-]version.img
>> #boot=/dev/sdd1
>> device (hd0) HD(1,800,64000,c2b17ae2-c245-47f4-b33b-667df64cbf32)
>> default=1
>> timeout=15
>> splashimage=(hd0,1)/grub/splash.xpm.gz
>> hiddenmenu
>> title Scientific Linux (2.6.32-504.3.3.el6.x86_64)
>>        root (hd0,1)
>>        kernel /vmlinuz-2.6.32-504.3.3.el6.x86_64 ro
>> root=/dev/mapper/vg_xen2-lv_root rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=uk
>> LANG=en_US.UTF-8 rd_LVM_LV=vg_xen2/lv_swap rd_NO_MD
>> SYSFONT=latarcyrheb-sun16 crashkernel=128M rd_LVM_LV=vg_xen2/lv_root
>> rd_NO_DM rhgb quiet
>>        initrd /initramfs-2.6.32-504.3.3.el6.x86_64.img
>> title Scientific Linux (3.14.27-1.el6xen.x86_64)
>>        root (hd0,1)
>>
>>
>>
>> Directory listing of boot
>>
>> [root at xen2 boot]# ls
>> config-2.6.32-504.3.3.el6.x86_64           symvers-2.6.32-504.el6.x86_64.gz
>> config-2.6.32-504.el6.x86_64
>> symvers-3.14.27-1.el6xen.x86_64.gz
>> config-3.14.27-1.el6xen.x86_64
>> System.map-2.6.32-504.3.3.el6.x86_64
>> efi                                        System.map-2.6.32-504.el6.x86_64
>> grub               
>> System.map-3.14.27-1.el6xen.x86_64
>> initramfs-2.6.32-504.3.3.el6.x86_64.img
>> vmlinuz-2.6.32-504.3.3.el6.x86_64
>> initramfs-2.6.32-504.el6.x86_64.img        vmlinuz-2.6.32-504.el6.x86_64
>> initramfs-3.14.27-1.el6xen.x86_64.img      vmlinuz-3.14.27-1.el6xen.x86_64
>> initrd-2.6.32-504.3.3.el6.x86_64kdump.img  xen-4.2.5.gz
>> initrd-2.6.32-504.el6.x86_64kdump.img      xen-4.2.gz
>> lost+found                                 xen.gz
>> symvers-2.6.32-504.3.3.el6.x86_64.gz       xen-syms-4.2.5
>>
>> Thanks...
>>
>>
>>
>>
>>
>>> On 07/01/2015 23:06, "Steven Haigh" <netwiz at crc.id.au> wrote:
>>>
>>> Ok, first things first, post your /boot/grub/grub.conf, and a directory
>>> listing of /boot/
>>>
>>> I'm guessing one of those is off with the fairies somehow....
>>>
>>>> On 8/01/2015 9:34 AM, Colin Durrant wrote:
>>>> Yes, grub gave me the message on boot
>>>>
>>>> Thanks and kind regards
>>>>
>>>> Colin
>>>> Colins IT Ltd
>>>> www.colins-it.co.uk
>>>> @colinsit
>>>>
>>>>>> On 7 Jan 2015, at 22:10, Steven Haigh <netwiz at crc.id.au> wrote:
>>>>>>
>>>>>> On 8/01/2015 3:26 AM, Colin Durrant wrote:
>>>>>> Hi
>>>>>>
>>>>>> I am following these instructions
>>>>>>
>>>>>> http://xen.crc.id.au/support/guides/install/
>>>>>>
>>>>>> I then rebooted into the Xen kernel however I am getting the error
>>>>>>
>>>>>> Invalid magic number: 9090
>>>>>> error 13: invalid or unsupported executable format
>>>>>> Press any key to continue
>>>>>
>>>>> What gave this? grub? something else?
>>>>>
>>>>> -- 
>>>>> Steven Haigh
>>>>>
>>>>> Email: netwiz at crc.id.au
>>>>> Web: http://www.crc.id.au
>>>>> Phone: (03) 9001 6090 - 0412 935 897
>>>>>
>>>>> _______________________________________________
>>>>> kernel-xen mailing list
>>>>> kernel-xen at lists.wireless.org.au
>>>>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>>>>
>>>>>
>>>>> Scanned by MailDefender - managed email security - www.maildefender.net
>>>>
>>>> Scanned by MailDefender - managed email security - www.maildefender.net
>>>> _______________________________________________
>>>> kernel-xen mailing list
>>>> kernel-xen at lists.wireless.org.au
>>>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>>
>>> -- 
>>> Steven Haigh
>>>
>>> Email: netwiz at crc.id.au
>>> Web: http://www.crc.id.au
>>> Phone: (03) 9001 6090 - 0412 935 897
>>
>>
>> Scanned by MailDefender - managed email security - www.maildefender.net
>> _______________________________________________
>> kernel-xen mailing list
>> kernel-xen at lists.wireless.org.au
>> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
>>
>> Scanned by MailDefender - managed email security - www.maildefender.net
> 
> Scanned by MailDefender - managed email security - www.maildefender.net
> _______________________________________________
> kernel-xen mailing list
> kernel-xen at lists.wireless.org.au
> https://lists.wireless.org.au/mailman/listinfo/kernel-xen
> 

-- 
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <https://lists.wireless.org.au/pipermail/kernel-xen/attachments/20150110/1af5a1b3/attachment.sig>


More information about the kernel-xen mailing list