WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] XEN 3.0.3 on Ubuntu 6.10: Dom0 reboot

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN 3.0.3 on Ubuntu 6.10: Dom0 reboot
From: PUCCETTI Armand <armand.puccetti@xxxxxx>
Date: Thu, 30 Nov 2006 18:42:26 +0100
Delivery-date: Thu, 30 Nov 2006 08:41:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20061115)
I just compiled XEN 3.0.3 on Ubuntu 6.10 (kernel 2.6.17-10) with the following flags:

$ make dist CC=gcc-4.1 verbose=y debug=y perfc=y debugger=y
$ make install CC=gcc-4.1 verbose=y debug=y perfc=y debugger=y

And added the simple following lines to my GRUB config:

title           Xen 3.0.3 / Linux 2.6.16.29
root            (hd0,2)
kernel          /boot/xen-3.0.3-0.gz dom0_mem=1048576
module          /boot/vmlinuz-2.6.16.29-xen root=/dev/sda3 ro max_loop=64
#module         /boot/initrd.img-2.6.16.29-xen
savedefault
boot

Booting that Xenified Ubuntu leads it to crash and reboot just after the line:
(XEN) XEN trace buffers: disabled

Does anyone knwo about causes to that crash?

Curiously, the first compilation of XEN downloads kernel 2.6.16.29 and not 2.6.17.10 which is actually running on the host machine! Can that be configured? maybe using an option as KERNEL="2.6.17*" ?

Thanks in advance for any hint!




PS: The only change wrt the original XEN source was in file xen-3.0.3_0-src/linux-2.6.16.29-xen/kernel/panic.c
where I added the patch

// #ifdef CONFIG_STACK_PROTECTOR
void __stack_chk_fail(void)
{
panic("stack-protector: Stack is corrupted\n");
}
EXPORT_SYMBOL(__stack_chk_fail);
//#endif

otherwise XEN does not compile correctly but errs with an undefined __stack_chk_fail symbol.






_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>