[Pkg-xen-devel] Bug#612237: Bug#612237: xen-hypervisor-4.0-amd64: Fails to boot after upgrade from lenny

Michael Vogt MichaelVogt at ovi.com
Mon Feb 7 12:44:54 UTC 2011


Hey,
Unfortunately it rebooted before writing any logs. I just have this 
screenshot (which actually
shows XEN 3.X, for XEN 4 the screen just turns black and then it 
reboots, but I think its the
same error).
I used the 2.6.32-5-xen-amd64-kernel from squeeze. The old 
2.6.26-2-kernel didn't even
boot without XEN.
xen-linux-system-2.6.32-5-xen-amd64 is 2.6.32-30

As I stated in my first mail, there were some projects running on the 
server. With a backup I
now restored lenny with running XEN because I actually need the server. 
So right now
I can't test any modifications, but I'll try to reproduce this error on 
a local machine.

grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
   load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
   set saved_entry="${prev_saved_entry}"
   save_env saved_entry
   set prev_saved_entry=
   save_env prev_saved_entry
   set boot_once=true
fi

function savedefault {
   if [ -z "${boot_once}" ]; then
     saved_entry="${chosen}"
     save_env saved_entry
   fi
}

function load_video {
   insmod vbe
   insmod vga
   insmod video_bochs
   insmod video_cirrus
}

insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md2)'
search --no-floppy --fs-uuid --set a82eced9-edf5-4a73-9b81-6895f4683b2e
if loadfont /usr/share/grub/unicode.pf2 ; then
   set gfxmode=640x480
   load_video
   insmod gfxterm
fi
terminal_output gfxterm
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md1)'
search --no-floppy --fs-uuid --set cd90240f-1eae-47f7-9c2b-7c52baa56911
set locale_dir=($root)/grub/locale
set lang=de
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 
4.0-amd64' --class debian --class gnu-linux --class gnu --class os 
--class xen {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
         multiboot       /xen-4.0-amd64.gz
         module  /vmlinuz-2.6.32-5-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro  quiet
         echo    'Loading initial ramdisk ...'
         module  /initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 
4.0-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu 
--class os --class xen {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
         multiboot       /xen-4.0-amd64.gz
         module  /vmlinuz-2.6.32-5-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro single
         echo    'Loading initial ramdisk ...'
         module  /initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 
3.2-1-amd64' --class debian --class gnu-linux --class gnu --class os 
--class xen {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
         multiboot       /xen-3.2-1-amd64.gz
         module  /vmlinuz-2.6.32-5-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro  quiet
         echo    'Loading initial ramdisk ...'
         module  /initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 
3.2-1-amd64 (recovery mode)' --class debian --class gnu-linux --class 
gnu --class os --class xen {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
         multiboot       /xen-3.2-1-amd64.gz
         module  /vmlinuz-2.6.32-5-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro single
         echo    'Loading initial ramdisk ...'
         module  /initrd.img-2.6.32-5-xen-amd64
}
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply 
type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
   source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/50_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64' --class 
debian --class gnu-linux --class gnu --class os {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
         linux   /vmlinuz-2.6.32-5-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro  quiet
         echo    'Loading initial ramdisk ...'
         initrd  /initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 (recovery 
mode)' --class debian --class gnu-linux --class gnu --class os {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
         linux   /vmlinuz-2.6.32-5-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro single
         echo    'Loading initial ramdisk ...'
         initrd  /initrd.img-2.6.32-5-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-xen-amd64' --class 
debian --class gnu-linux --class gnu --class os {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.26-2-xen-amd64 ...'
         linux   /vmlinuz-2.6.26-2-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro  quiet
         echo    'Loading initial ramdisk ...'
         initrd  /initrd.img-2.6.26-2-xen-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.26-2-xen-amd64 (recovery 
mode)' --class debian --class gnu-linux --class gnu --class os {
         insmod raid
         insmod mdraid
         insmod part_msdos
         insmod part_msdos
         insmod ext2
         set root='(md1)'
         search --no-floppy --fs-uuid --set 
cd90240f-1eae-47f7-9c2b-7c52baa56911
         echo    'Loading Linux 2.6.26-2-xen-amd64 ...'
         linux   /vmlinuz-2.6.26-2-xen-amd64 
root=UUID=a82eced9-edf5-4a73-9b81-6895f4683b2e ro single
         echo    'Loading initial ramdisk ...'
         initrd  /initrd.img-2.6.26-2-xen-amd64
}
### END /etc/grub.d/50_linux ###

Greets,
Michael Vogt

Am 07.02.2011 09:12, schrieb Ian Campbell:
> On Mon, 2011-02-07 at 02:34 +0100, Michael Vogt wrote:
>> Package: xen-hypervisor-4.0-amd64
>> Version: 4.0.1-2
>> Severity: important
>>
>> I upgraded today from Lenny to Squeeze. I upgraded via apt-get
>> dist-upgrade and
>> then installed the new xen-packages (including hypervisor and kernel).
>> But I wasn't able to boot the system after the upgrade anymore with Xen
>> enabled:
>> On every boot-attempt, I just get "elf_init: not an ELF binary". I
>> googled a lot
>> but I just found an unanswered bugreport against backports and no solution.
>>
>> I never built my own kernel or sth like this, I was doing all the
>> "debian-way".
>> I hope somebody has a solution for this, as I was upgrading a running,
>> productive server.
> Please can you provide full boot logs as well as your grub configuration
> file and the exact kernel version(s) you have got installed.
>
> Thanks,
> Ian.
>


--------------------------------------------------------------
Ovi Mail: Making email access easy
http://mail.ovi.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xenerror.png
Type: image/png
Size: 37718 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110207/146f3c0c/attachment-0001.png>


More information about the Pkg-xen-devel mailing list