Hi, I had a remote server running CentOS 5.2, with XEN from official CentOS repositories. I installed both xen and kernel-xen packages on the server & than modified the grub''s menu to boot from XEN kernel. Package details: kernel-xen-2.6.18-92.1.22.el5 xen-libs-3.0.3-64.el5_2.1 xen-3.0.3-64.el5_2.1 But the system is not booting from the newly installed XEN kernel, it gets stuck up. System boots perfectly with normal kernels Other installed kernels kernel-devel-2.6.18-92.1.22.el5 kernel-xen-2.6.18-92.1.22.el5 kernel-2.6.18-92.el5 kernel-devel-2.6.18-92.el5 kernel-2.6.18-92.1.22.el5 kernel-headers-2.6.18-92.1.22.el5 Where can I found XEN boot logs, to find out the reason behind this, Being remote system I am totally unaware about what is going wrong while booting from XEN kernel. -- Regards, Meghanand N. Acharekar " A proud Linux User " Reg Linux User #397975 ------------------------------------------ I was born free! No Gates and Windows can restrict my Freedom !!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Meghanand Check the log file at: /var/log/xen/xend.log Cheers, N. -----Original Message----- From: xen-users-bounces@lists.xensource.com on behalf of Meghanand Acharekar Sent: Sat 07-Feb-09 7:40 AM To: xen-users@lists.xensource.com Subject: [Xen-users] Xen Kernel not booting Hi, I had a remote server running CentOS 5.2, with XEN from official CentOS repositories. I installed both xen and kernel-xen packages on the server & than modified the grub''s menu to boot from XEN kernel. Package details: kernel-xen-2.6.18-92.1.22.el5 xen-libs-3.0.3-64.el5_2.1 xen-3.0.3-64.el5_2.1 But the system is not booting from the newly installed XEN kernel, it gets stuck up. System boots perfectly with normal kernels Other installed kernels kernel-devel-2.6.18-92.1.22.el5 kernel-xen-2.6.18-92.1.22.el5 kernel-2.6.18-92.el5 kernel-devel-2.6.18-92.el5 kernel-2.6.18-92.1.22.el5 kernel-headers-2.6.18-92.1.22.el5 Where can I found XEN boot logs, to find out the reason behind this, Being remote system I am totally unaware about what is going wrong while booting from XEN kernel. -- Regards, Meghanand N. Acharekar " A proud Linux User " Reg Linux User #397975 ------------------------------------------ I was born free! No Gates and Windows can restrict my Freedom !!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Ferreira, Thanks, But I can not find log file at the given locations, looks nothing is written on the xen''s log file What could be the possible reason ? 2009/2/7 Ferreira, N.L. <N.L.Ferreira@uu.nl>> Hi Meghanand > > Check the log file at: > /var/log/xen/xend.log > > Cheers, > N. > > >-- Regards, Meghanand N. Acharekar " A proud Linux User " Reg Linux User #397975 ------------------------------------------ I was born free! No Gates and Windows can restrict my Freedom !!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m not sure if /var/log/xen directory (on the future dom0) is created after an installation of a xen kernel aware, or if it is created the first time you successfully boot your dom0. Either way, are you sure the xen kernel installation went without problems? CentOS is a stable linux version, and things should be run out on the fly after installation from their repos. Here''s my grub.conf on a linux version much similar to your CentOS, running xen kernel 2.6.18-92 [root@xxx xen]# more /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,1) # kernel /boot/vmlinuz-version ro root=/dev/sda2 # initrd /boot/initrd-version.img #boot=/dev/sda default=1 timeout=5 splashimage=(hd0,1)/boot/grub/splash.xpm.gz hiddenmenu title Scientific Linux 5.1 (2.6.18-92.1.18.el5) root (hd0,1) kernel /boot/vmlinuz-2.6.18-92.1.18.el5 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-92.1.18.el5.img title Xen 3.1.2 / Scientific Linux 5.1 (2.6.18-92.1.18.el5xen) root (hd0,1) kernel /boot/xen.gz-2.6.18-92.1.18.el5 module /boot/vmlinuz-2.6.18-92.1.18.el5xen ro root=LABEL=/ rhgb quiet module /boot/initrd-2.6.18-92.1.18.el5xen.img title Scientific Linux (2.6.18-53.1.4.el5xen) root (hd0,1) kernel /boot/xen.gz-2.6.18-53.1.4.el5 module /boot/vmlinuz-2.6.18-53.1.4.el5xen ro root=LABEL=/ rhgb quiet module /boot/initrd-2.6.18-53.1.4.el5xen.img title Scientific Linux-base (2.6.18-53.1.4.el5) root (hd0,1) kernel /boot/vmlinuz-2.6.18-53.1.4.el5 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-53.1.4.el5.img Cheers, N. =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= -----Original Message----- From: Meghanand Acharekar [mailto:vasco.debian@gmail.com] Sent: Sat 07-Feb-09 12:59 PM To: Ferreira, N.L. Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Xen Kernel not booting Hi Ferreira, Thanks, But I can not find log file at the given locations, looks nothing is written on the xen''s log file What could be the possible reason ? 2009/2/7 Ferreira, N.L. <N.L.Ferreira@uu.nl>> Hi Meghanand > > Check the log file at: > /var/log/xen/xend.log > > Cheers, > N. > > >-- Regards, Meghanand N. Acharekar " A proud Linux User " Reg Linux User #397975 ------------------------------------------ I was born free! No Gates and Windows can restrict my Freedom !!! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Are there any very new 3ware hardware on the remote system? Or nvidia video cards? I have had problems with both of those. Best way I know to get the Xen boot logs is to use a serial console and specify console=com1,tty com1=115200,8n1 on the xen.gz line in grub.conf. Also make sure that when you installed the kernel-xen that the initrd.img was made correctly. The other thing you could do is to chkconfig xend off and reboot on the xen kernel again, to see if it is actually the kernel that is the problem or starting up the userspace xend. Have seen that break too, although not on the version of the kernel you mention, which is exactly the same version I run in production. Steve Timm On Sat, 7 Feb 2009, Meghanand Acharekar wrote:> Hi, > > I had a remote server running CentOS 5.2, with XEN from official CentOS > repositories. > I installed both xen and kernel-xen packages on the server & than modified > the grub''s menu to boot from XEN kernel. > > Package details: > > kernel-xen-2.6.18-92.1.22.el5 > xen-libs-3.0.3-64.el5_2.1 > xen-3.0.3-64.el5_2.1 > > But the system is not booting from the newly installed XEN kernel, it gets > stuck up. > System boots perfectly with normal kernels > > Other installed kernels > kernel-devel-2.6.18-92.1.22.el5 > kernel-xen-2.6.18-92.1.22.el5 > kernel-2.6.18-92.el5 > kernel-devel-2.6.18-92.el5 > kernel-2.6.18-92.1.22.el5 > kernel-headers-2.6.18-92.1.22.el5 > > > Where can I found XEN boot logs, to find out the reason behind this, > Being remote system I am totally unaware about what is going wrong while > booting from XEN kernel. > > >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users