[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.