Invalid or unsupported executable format, or is it a reiserfs problem?
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :
title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without this
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
As a side note: the standard debian 2.6.8-2 kernel works perfectly.
== from the grub manual ==
Invalid or unsupported executable format:
This error is returned if the kernel image being loaded is not recognized as
Multiboot or one of the supported native formats (Linux zImage or bzImage,
FreeBSD, or NetBSD).
== end ==
since xen is multiboot and I would be surprised that the xen.gz kernel image file is not in native format; I have a strong feeling that this error message is not giving the root cause.
Anybody any thoughts?
Thanx in advance for any answer,
Regards,
Filip Sergeys
Signature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Quoted 15 lines
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without this
Quoted 7 lines
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
What does `file /boot/xen.gz' say?
What does cat /boot/xen.gz | gunzip -c | file - say?
Quoted 13 lines
As a side note: the standard debian 2.6.8-2 kernel works perfectly.
== from the grub manual ==
Invalid or unsupported executable format:
This error is returned if the kernel image being loaded is not recognized as
Multiboot or one of the supported native formats (Linux zImage or bzImage,
FreeBSD, or NetBSD).
== end ==
since xen is multiboot and I would be surprised that the xen.gz kernel image file is not in native format; I have a strong feeling that this error message is not giving the root cause.
You may well be right; we've not used reiserfs extensively and so it is possible some weird condition is being triggered. That said I believe some people have reported happiness with reiserfs.
Can you reproduce the error with just xen (i.e. no xenlinux and no initrd and hence no "module" lines at all)?
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 14 lines · Steven Hand
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without this
Quoted 7 lines
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
What does `file /boot/xen.gz' say?
/boot/xen.gz: gzip compressed data, from Unix, max compression
What does cat /boot/xen.gz | gunzip -c | file - say?
/dev/stdin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
Quoted 13 lines
As a side note: the standard debian 2.6.8-2 kernel works perfectly.
== from the grub manual ==
Invalid or unsupported executable format:
This error is returned if the kernel image being loaded is not recognized as
Multiboot or one of the supported native formats (Linux zImage or bzImage,
FreeBSD, or NetBSD).
== end ==
since xen is multiboot and I would be surprised that the xen.gz kernel image file is not in native format; I have a strong feeling that this error message is not giving the root cause.
You may well be right; we've not used reiserfs extensively and so it is possible some weird condition is being triggered. That said I believe some people have reported happiness with reiserfs.
Can you reproduce the error with just xen (i.e. no xenlinux and no initrd and hence no "module" lines at all)?
I think yes, the machine instantly reboots like it did with xenlinux "enabled". The only way to prevent the instant reboot was by starting in recovery mode (= passing "single" as an argument to the xenlinux kernel). Then I saw error 13: Invalid or unsupported executable format. I also tried with -noreboot argument like the grub documentation says, but that had no effect.
We have no serial console available (no serial cable).
Thinking ahead, suppose reiserfs has to be dropped, will it suffice to just convert the /boot partition to ext3 or does the entire / partition need to be converted?
Thanx in advance,
Regards,
Filip Sergeys
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
Signature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Quoted 25 lines · Steven Hand
Quoted 15 lines
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without thisQuoted 7 lines
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
Quoted 8 lines
What does `file
/boot/xen.gz' say?
/boot/xen.gz: gzip compressed data, from Unix, max compressionWhat does
cat /boot/xen.gz | gunzip -c | file -say?
/dev/stdin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
Ok, that looks good.
Quoted 1 line
Quoted 1 line
As a side note: the standard debian 2.6.8-2 kernel works perfectly.
Hmm: what is the menu.lst you use for that? In particular, is the kernel you boot in the same directory as xen.gz?
What's the overall makeup of your partitions + filesystems in the machine? I'm guessing /dev/hda1 is { /boot, reiserfs } -- what about the rest of the system?
Quoted 3 lines
Thinking ahead, suppose reiserfs has to be dropped, will it suffice to just convert the /boot partition to ext3 or does the entire / partition need to be converted?
Well ideally it should all "just work" even with reiserfs as /boot.
How did you get xen.gz onto /boot? Did you copy it from an ext2/3 partition? There seems to be something weird about reiserfs and grub involving the "-notail" mount option...
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 24 lines · Steven Hand
Quoted 14 lines · Steven Hand
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without thisQuoted 7 lines
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
Quoted 8 lines
What does `file
/boot/xen.gz' say?
/boot/xen.gz: gzip compressed data, from Unix, max compressionWhat does
cat /boot/xen.gz | gunzip -c | file -say?
/dev/stdin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
Ok, that looks good.
> > As a side note: the standard debian 2.6.8-2 kernel works perfectly.
Hmm: what is the menu.lst you use for that? In particular, is the kernel you boot in the same directory as xen.gz?
=== original debian entry in menu.lst (grub-update)===
title Debian GNU/Linux, kernel 2.6.8-2-386 root (hd0,0) kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot
=== end ===
Yes, xen.gz is in the same directory (/boot).
Nothing about -o notail inhere.
What's the overall makeup of your partitions + filesystems in the machine? I'm guessing /dev/hda1 is { /boot, reiserfs } -- what about the rest of the system?
/dev/hda1 / (reiserfs 700MB, no separate partition for /boot) /dev/hda2 swap (120 MB) /dev/hda5 /home (reiserfs 1,3GB)
Quoted 3 lines
Thinking ahead, suppose reiserfs has to be dropped, will it suffice to just convert the /boot partition to ext3 or does the entire / partition need to be converted?
Well ideally it should all "just work" even with reiserfs as /boot.
How did you get xen.gz onto /boot? Did you copy it from an ext2/3 partition? There seems to be something weird about reiserfs and grub involving the "-notail" mount option...
xen-2.0.4.tgz was copied and unfolded in my /home/<user> directory cd xen-2.0
make world
wait, wait very long (200Mhz, testing machine - proof of concept setup)
make install # this copied everything in place automatically: xen.gz
and vmlinuz-2.6.10-xen0 and the other stuff to /boot, /etc/init.d /lib/modules, ...
mkinitrd -o /boot/initrd.img-2.6.10-xen0 2.6.10-xen0
change menu.lst in /boot/grub, add the xen stuff as described earlier reboot -> oops: not working ... damn
Would an attache serial console provide more information that is usefull to you? If yes, I go buy a cable.
Regards,
Filip Sergeys
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
Signature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
I;m using reiserfs without any issues, however I do have the following in my /etc/fstab:
/dev/md2 / reiserfs noatime 0 0 /dev/md0 /boot reiserfs noatime,notail 0 0
maybe this helps?
B.
Quoted 91 lines · Filip Sergeys
On Thu, 2005-02-17 at 16:32, Steven Hand wrote:
> On Thu, 2005-02-17 at 14:56, Steven Hand wrote:
>
> > Our newly build xen kernel does not boot. The error message is : Invalid
> > or unsupported executable format.
> >
> > I have build xen from the xen-2.0.4 source (make world, make install) on
> > a debian sarge system.
> > I have not changed any of the kernel configurations, I did make an
> > initrd image.
> > The entry in my menu.lst is :
> >
> > title Debian GNU/Linux, kernel 2.6.10-xen0
> > root (hd0,0) # I also tried without this line.
> > kernel/boot/xen.gzdom0_mem=64000
> > module/boot/vmlinuz-2.6.10-xen0root=/dev/hda1 ro
> > module/boot/initrd.img-2.6.10-xen0# Also tried without this
> > line
> >
> > The server's / (/boot) partition is reiserfs. I wonder if this is the
> > problem? I found messages saying that it doesn't work with reiserfs and
> > others that say it should work. What is the final answer?
> > Looking in the kernel config file: reiserfs is build into the kernel,
> > not as a module.
>
> What does `file/boot/xen.gz' say?
>
>/boot/xen.gz: gzip compressed data, from Unix, max compression >
> What doescat /boot/xen.gz | gunzip -c | file -say?
>
>/dev/stdin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, strippedOk, that looks good.
> > As a side note: the standard debian 2.6.8-2 kernel works perfectly.
Hmm: what is the menu.lst you use for that? In particular, is the kernel you boot in the same directory as xen.gz?
=== original debian entry in menu.lst (grub-update)===
title Debian GNU/Linux, kernel 2.6.8-2-386 root (hd0,0) kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro initrd /boot/initrd.img-2.6.8-2-386savedefault
boot
=== end ===Yes, xen.gz is in the same directory (/boot).
Nothing about -o notail inhere.
What's the overall makeup of your partitions + filesystems in the machine? I'm guessing/dev/hda1is { /boot, reiserfs } -- what about the rest of the system?/dev/hda1 / (reiserfs 700MB, no separate partition for /boot) /dev/hda2 swap (120 MB) /dev/hda5 /home (reiserfs 1,3GB)> Thinking ahead, suppose reiserfs has to be dropped, will it suffice to > just convert the /boot partition to ext3 or does the entire / partition > need to be converted?
Well ideally it should all "just work" even with reiserfs as /boot.
How did you get xen.gz onto /boot? Did you copy it from an ext2/3 partition? There seems to be something weird about reiserfs and grub involving the "-notail" mount option...
xen-2.0.4.tgz was copied and unfolded in my /home/<user> directory cd xen-2.0
make world
wait, wait very long (200Mhz, testing machine - proof of concept setup)
make install # this copied everything in place automatically: xen.gz
and vmlinuz-2.6.10-xen0 and the other stuff to /boot,/etc/init.d/lib/modules, ...
mkinitrd -o/boot/initrd.img-2.6.10-xen02.6.10-xen0 change menu.lst in/boot/grub, add the xen stuff as described earlier reboot -> oops: not working ... damnWould an attache serial console provide more information that is usefull to you? If yes, I go buy a cable.
Regards,
Filip Sergeys
cheers,S.
Quoted 16 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-develSignature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
I have reinstalled that machine with a ext3 /boot partition and a reiserfs / partition
/dev/hda1 /boot (ext3)/dev/hda2 swap/dev/hda4 / (reiserfs)
Installation from source
tar xvf xen-2.0.4.tgz
cd xen-2.0
make world
make install
mkinitrd -o /boot/initrd.img-2.6.10-xen0 2.6.10-xen0
Edit menu.lst in /boot/grub
add serial support for grub:
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal --timeout=5 serial console
Entry for Xen:
title Xen-2.0
root (hd0,0) # also tried without
kernel /xen.gz dom0_mem=64000
module /vmlinux-2.6.10-xen0 root=/dev/hda4 ro console=tty0 console=ttyS0,115200n8
module /initrd.img-2.6.10-xen0 #also tried without
Connect to another host with null modem cable.
start minicom and configure with serial parameters to 115200, parity=no, data=8, stop=1
hardware flow control = yes
software flow control = no
terminal = VT102
backspace sends BS
Result:
-------
The xen kernel does not boot
I don't see anything on the terminal from grub or xenlinux (I do see the output when booting the normal debian kernel)
I am lost !
Does anybody know how to go on from here or do I have no other choice then to download fedora core 3 and try it with that distribution? Thanks in advance for any help.
Regards,
Filip Sergeys
Quoted 24 lines · Steven Hand
Quoted 14 lines · Steven Hand
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without thisQuoted 7 lines
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
Quoted 8 lines
What does `file
/boot/xen.gz' say?
/boot/xen.gz: gzip compressed data, from Unix, max compressionWhat does
cat /boot/xen.gz | gunzip -c | file -say?
/dev/stdin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
Ok, that looks good.
> > As a side note: the standard debian 2.6.8-2 kernel works perfectly.
Hmm: what is the menu.lst you use for that? In particular, is the kernel you boot in the same directory as xen.gz?
What's the overall makeup of your partitions + filesystems in the machine? I'm guessing /dev/hda1 is { /boot, reiserfs } -- what about the rest of the system?
> Thinking ahead, suppose reiserfs has to be dropped, will it suffice to > just convert the /boot partition to ext3 or does the entire / partition > need to be converted?
Well ideally it should all "just work" even with reiserfs as /boot.
How did you get xen.gz onto /boot? Did you copy it from an ext2/3 partition? There seems to be something weird about reiserfs and grub involving the "-notail" mount option...
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
Signature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Quoted 38 lines
I have reinstalled that machine with a ext3 /boot partition and a reiserfs / partition
/dev/hda1/boot (ext3)/dev/hda2swap/dev/hda4/ (reiserfs)Installation from source
tar xvf xen-2.0.4.tgz
cd xen-2.0
make world
make install
mkinitrd -o/boot/initrd.img-2.6.10-xen02.6.10-xen0Edit menu.lst in
/boot/grub
add serial support for grub:
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal --timeout=5 serial consoleEntry for Xen:
title Xen-2.0
root (hd0,0) # also tried without
kernel /xen.gz dom0_mem=64000
module /vmlinux-2.6.10-xen0 root=/dev/hda4 ro console=tty0 console=ttyS0,115200n8
module /initrd.img-2.6.10-xen0 #also tried withoutConnect to another host with null modem cable.
start minicom and configure with serial parameters to 115200, parity=no, data=8, stop=1
hardware flow control = yes
software flow control = no
terminal = VT102
backspace sends BS
Quoted 5 lines
Result:
-------
The xen kernel does not boot
I don't see anything on the terminal from grub or xenlinux (I do see the output when booting the normal debian kernel)
When you say you see nothing on the terminal from grub or xenlinux, I presume you mean after the menu pops up? [assuming you have "timeout=10" or similar at the top of your grub.conf]
Can you try entering the interactive mode when the menu pops up and typing "blocklist /xen.gz" ?
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
btw : of curiosity, what hardware ?
Quoted 127 lines · Filip Sergeys
I have reinstalled that machine with a ext3 /boot partition and a reiserfs / partition
/dev/hda1/boot (ext3)/dev/hda2swap/dev/hda4/ (reiserfs)Installation from source
tar xvf xen-2.0.4.tgz
cd xen-2.0
make world
make install
mkinitrd -o/boot/initrd.img-2.6.10-xen02.6.10-xen0Edit menu.lst in
/boot/grub
add serial support for grub:
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal --timeout=5 serial consoleEntry for Xen:
title Xen-2.0
root (hd0,0) # also tried without
kernel /xen.gz dom0_mem=64000
module /vmlinux-2.6.10-xen0 root=/dev/hda4 ro console=tty0 console=ttyS0,115200n8
module /initrd.img-2.6.10-xen0 #also tried withoutConnect to another host with null modem cable.
start minicom and configure with serial parameters to 115200, parity=no, data=8, stop=1
hardware flow control = yes
software flow control = no
terminal = VT102
backspace sends BSResult:
-------
The xen kernel does not boot
I don't see anything on the terminal from grub or xenlinux (I do see the output when booting the normal debian kernel)
I am lost !Does anybody know how to go on from here or do I have no other choice then to download fedora core 3 and try it with that distribution? Thanks in advance for any help.
Regards,
Filip Sergeys
Quoted 24 lines · Steven Hand
Quoted 14 lines · Steven Hand
Our newly build xen kernel does not boot. The error message is : Invalid or unsupported executable format.
I have build xen from the xen-2.0.4 source (make world, make install) on a debian sarge system.
I have not changed any of the kernel configurations, I did make an initrd image.
The entry in my menu.lst is :title Debian GNU/Linux, kernel 2.6.10-xen0 root (hd0,0) # I also tried without this line. kernel /boot/xen.gz dom0_mem=64000 module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro module /boot/initrd.img-2.6.10-xen0 # Also tried without thisQuoted 7 lines
line
The server's / (/boot) partition is reiserfs. I wonder if this is the problem? I found messages saying that it doesn't work with reiserfs and others that say it should work. What is the final answer? Looking in the kernel config file: reiserfs is build into the kernel, not as a module.
Quoted 8 lines
What does `file
/boot/xen.gz' say?
/boot/xen.gz: gzip compressed data, from Unix, max compressionWhat does
cat /boot/xen.gz | gunzip -c | file -say?
/dev/stdin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, strippedOk, that looks good.
Quoted 1 line
Quoted 1 line
As a side note: the standard debian 2.6.8-2 kernel works perfectly.
Hmm: what is the menu.lst you use for that? In particular, is the kernel you boot in the same directory as xen.gz?
What's the overall makeup of your partitions + filesystems in the machine? I'm guessing
/dev/hda1is { /boot, reiserfs } -- what about the rest of the system?Quoted 3 lines
Thinking ahead, suppose reiserfs has to be dropped, will it suffice to just convert the /boot partition to ext3 or does the entire / partition need to be converted?
Well ideally it should all "just work" even with reiserfs as /boot.
How did you get xen.gz onto /boot? Did you copy it from an ext2/3 partition? There seems to be something weird about reiserfs and grub involving the "-notail" mount option...
cheers,
S.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
Quoted 2 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 9 lines · Filip Sergeys
I have reinstalled that machine with a ext3 /boot partition and a reiserfs / partition
Entry for Xen:
title Xen-2.0
root (hd0,0) # also tried without
kernel /xen.gz dom0_mem=64000
module /vmlinux-2.6.10-xen0 root=/dev/hda4 ro console=tty0 console=ttyS0,115200n8
module /initrd.img-2.6.10-xen0 #also tried without
You need to pass com1=115200,8n1 on the "kernel /xen.gz" line and don't need the ",115200n8"-part on the "module /vmlinux..." line.
Quoted 6 lines
Result:
-------
The xen kernel does not boot
I don't see anything on the terminal from grub or xenlinux (I do see the output when booting the normal debian kernel)
I am lost !
Do you not see the output from grub? Then you will need to fix that first. Since you have a working menu.lst for booting the normal debian kernel, you could start from that and only change the entry.
christian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
xen brings machine in a boot loop. Serial console output attached.
was subject: Re: [Xen-devel] Invalid or unsupported executable format, or is it a reiserfs problem?
continuation under new subject header
OK, made the changes to menu.lst, also grub serial console works (unreleated error)
The entire root (including /boot) partition is now ext3.
menu.lst looks like:
=== start ===
title Xen 2.0
kernel /boot/xen.gz dom0_mem=64000 com1=115200n81
module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro console=tty0
console=ttyS0
module /boot/initrd.img-2.6.10-xen0
=== end ===
this is what the serial console shows when booted without initrd:
=== start ===
kernel /boot/xen.gz dom0_mem=64000 com1=115200,n81
[Multiboot-elf, <0x100000:0x3ef7c:0x3536c>, shtab=0x175078,
entry=0x100000]
module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro console=tty console=ttyS0
[Multiboot-module @ 0x176000, 0x40919c bytes]
=== end ===
with initrd:
=== start ===
kernel /boot/xen.gz dom0_mem=64000 com1=115200,n81
[Multiboot-elf, <0x100000:0x3ef7c:0x3536c>, shtab=0x175078,
entry=0x100000]
module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro console=tty console=ttyS0
[Multiboot-module @ 0x176000, 0x40919c bytes]
=== end ===
And then the machine reboots automatically. Is my hardware simply inadequate for xen?
Pentium 200Mhz (P6-class)
64 MB ram
2.0 GB HD
=> It's just a proof of concept setup to convice our IT manager of the benefits.
Does this provide any usefull information?
Thanx in advance,
Regards,
Filip Sergeys
On Sat, 2005-02-19 at 20:22, Christian Limpach wrote:
On 18 Feb 2005 14:03:07 +0100, Filip Sergeys <[email protected]> wrote:
> I have reinstalled that machine with a ext3 /boot partition and a reiserfs / > partition
> Entry for Xen:
> title Xen-2.0
> root (hd0,0) # also tried without
> kernel /xen.gz dom0_mem=64000
> module /vmlinux-2.6.10-xen0 root=/dev/hda4 ro console=tty0
> console=ttyS0,115200n8
> module /initrd.img-2.6.10-xen0 #also tried without
You need to pass com1=115200,8n1 on the "kernel /xen.gz" line and don't need the ",115200n8"-part on the "module /vmlinux..." line.
> Result:
> -------
> The xen kernel does not boot
> I don't see anything on the terminal from grub or xenlinux (I do see the > output when booting the normal debian kernel)
> I am lost !
Do you not see the output from grub? Then you will need to fix that first. Since you have a working menu.lst for booting the normal debian kernel, you could start from that and only change the entry.
christian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
Signature · 6 lines
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * System Engineer, Verzekeringen NV * * www.verzekeringen.be * * Oostkaai 23 B-2170 Merksem * * 03/6416673 - 0477/340942 * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*