Hello All, I finally compiled xen 3.3.0 using make World, installed it but I cannot get it to Boot, I always get kernel panic, kernel not sync kind of errors, I suppose it''s some hard disk or partition issue, my setup is as follows. CentOS 5.2 x86_64 on a HP ML-115 Grub, menu.list Entries CentOS xen''s line title CentOS (2.6.18-92.1.22.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-92.1.22.el5 dom0_mem=1.8G module /vmlinuz-2.6.18-92.1.22.el5xen ro root=LABEL=/ console=tty0 noreboot module /initrd-2.6.18-92.1.22.el5xen.img My line title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.3.gz dom0_mem=1.8G module /vmlinuz-2.6.18.8-xen ro root=LABEL=/ console=tty0 noreboot module /initrd-2.6.18.8-xen.img /boot is on a regular partition / is also outside LVM but it never works. mount says [root@ut3 ~]# mount /dev/hda2 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/mapper/vg0-lvUsr on /usr type ext3 (rw,noatime) /dev/mapper/vg0-lvSrc on /usr/src type ext3 (rw,noatime) /dev/mapper/vg0-lvOpt on /opt type ext3 (rw,noatime) /dev/mapper/vg0-lvVar on /var type ext3 (rw,noatime) /dev/mapper/vg0-lvSpool on /var/spool type ext3 (rw,noatime) /dev/mapper/vg0-lvLog on /var/log type ext3 (rw,noatime) /dev/mapper/vg0-lvWww on /var/www type ext3 (rw,noatime) /dev/mapper/vg0-lvHome on /home type ext3 (rw,noatime) /dev/mapper/vg0-lvMirror on /vz type ext3 (rw,noatime) /dev/mapper/vg0-lvLfs on /install type ext3 (rw,noatime) /dev/hda1 on /boot type ext3 (rw,noatime) tmpfs on /dev/shm type tmpfs (rw) none on /tmp type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type As you see I have a LVM setup and regular lines work, but my own line following Xen docs, doesn''t I even created an initrd image as it works on stock CentOS kernels. Everything compiled fine and installed too, please help me, I always have the same problem when I compile custom kernels, my system can never boot, may be I have to compile LVM support into the kernel rather than as Module. Has anyone made this work with similar setups as mine? Can anyone give me a lead, thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jan 5, 2009 at 8:39 PM, David Gonzalez <dgonzalezh@gmail.com> wrote:> Hello All, > > > > I finally compiled xen 3.3.0 using make World, installed it but I cannot get > it to Boot, I always get kernel panic, kernel not sync kind of errors, I > suppose it''s some hard disk or partition issue, my setup is as follows. >http://www.nabble.com/Xen-3.3-install-from-source-on-centos-5.2-td19761354.html Hope that helps. Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Jan-06 10:30 UTC
Re: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0
*********************************************************************** To port Xen 3.3.1-rc4 e to xen disabled CentOS 5.2 instance (64 bit) install the most recent version of gitco and mercurial (hg). *********************************************************************** # cd /usr/src/ # hg clone http://xenbits.xensource.com/xen-3.3-testing.hg # cd xen-3.3-testing.hg # make world # make install Determine the name of the Xen Linux kernel version that was installed. # ls /lib/modules There should be a directory for the Xen Linux kernel (e.g.2.6.18.8-xen) Generate the module dependency list and map files # /sbin/depmod 2.6.18.8-xen Create the Xen initial ramdisk image # /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen Disable tls # mv /lib64/tls /lib64/tls.disabled Set xend service to start # /sbin/chkconfig –add xend # /sbin/chkconfig xend on Install bridge-utils:- # yum install bridge-utils ************************************************************************ Edit /boot/grub/grub.conf and copy one of the existing boot entries to make the required changes for Xen and reboot into new kernel. ************************************************************************* title Xen-3.3.1 CentOS 5.2 x86_64 (2.6.18.8-xen) (/dev/sdb12) root (hd1,11) kernel /xen-3.3.gz module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet module /initrd-2.6.18.8-xen.img ************************************************************************** View for details :- http://lxer.com/module/newswire/view/112300/index.html If you don''t like clone , download from http://www.xen.org/download/index.html Linux 2.6.18 with Xen 3.3 support source tarball ./install.sh should work like "make install" But, personally, i haven''t verified it. --- On Mon, 1/5/09, David Gonzalez <dgonzalezh@gmail.com> wrote: From: David Gonzalez <dgonzalezh@gmail.com> Subject: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0 To: xen-users@lists.xensource.com Date: Monday, January 5, 2009, 8:39 PM Hello All, I finally compiled xen 3.3.0 using make World, installed it but I cannot get it to Boot, I always get kernel panic, kernel not sync kind of errors, I suppose it’s some hard disk or partition issue, my setup is as follows. CentOS 5.2 x86_64 on a HP ML-115 Grub, menu.list Entries CentOS xen’s line title CentOS (2.6.18-92.1.22.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-92.1.22.el5 dom0_mem=1.8G module /vmlinuz-2.6.18-92.1.22.el5xen ro root=LABEL=/ console=tty0 noreboot module /initrd-2.6.18-92.1.22.el5xen.img My line title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.3.gz dom0_mem=1.8G module /vmlinuz-2.6.18.8-xen ro root=LABEL=/ console=tty0 noreboot module /initrd-2.6.18.8-xen.img /boot is on a regular partition / is also outside LVM but it never works. mount says [root@ut3 ~]# mount /dev/hda2 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/mapper/vg0-lvUsr on /usr type ext3 (rw,noatime) /dev/mapper/vg0-lvSrc on /usr/src type ext3 (rw,noatime) /dev/mapper/vg0-lvOpt on /opt type ext3 (rw,noatime) /dev/mapper/vg0-lvVar on /var type ext3 (rw,noatime) /dev/mapper/vg0-lvSpool on /var/spool type ext3 (rw,noatime) /dev/mapper/vg0-lvLog on /var/log type ext3 (rw,noatime) /dev/mapper/vg0-lvWww on /var/www type ext3 (rw,noatime) /dev/mapper/vg0-lvHome on /home type ext3 (rw,noatime) /dev/mapper/vg0-lvMirror on /vz type ext3 (rw,noatime) /dev/mapper/vg0-lvLfs on /install type ext3 (rw,noatime) /dev/hda1 on /boot type ext3 (rw,noatime) tmpfs on /dev/shm type tmpfs (rw) none on /tmp type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type As you see I have a LVM setup and regular lines work, but my own line following Xen docs, doesn’t I even created an initrd image as it works on stock CentOS kernels. Everything compiled fine and installed too, please help me, I always have the same problem when I compile custom kernels, my system can never boot, may be I have to compile LVM support into the kernel rather than as Module. Has anyone made this work with similar setups as mine? Can anyone give me a lead, thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tait Clarridge
2009-Jan-06 14:40 UTC
RE: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0
Hello David, Boot up the working kernel and check which modules are loaded and try passing a number of them (especially the ones for your disks) to mkinitrd (using the --preload option) and make a custom ramdisk. I had this problem in the past where Xen wouldn''t load the proper modules to access the disks on boot, which I thought was a little ridiculous haha. Good Luck, Tait From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of David Gonzalez Sent: Monday, January 05, 2009 8:40 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Booting issue on CentOS 5.2+Xen 3.3.0 Hello All, I finally compiled xen 3.3.0 using make World, installed it but I cannot get it to Boot, I always get kernel panic, kernel not sync kind of errors, I suppose it’s some hard disk or partition issue, my setup is as follows. CentOS 5.2 x86_64 on a HP ML-115 Grub, menu.list Entries CentOS xen’s line title CentOS (2.6.18-92.1.22.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-92.1.22.el5 dom0_mem=1.8G module /vmlinuz-2.6.18-92.1.22.el5xen ro root=LABEL=/ console=tty0 noreboot module /initrd-2.6.18-92.1.22.el5xen.img My line title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.3.gz dom0_mem=1.8G module /vmlinuz-2.6.18.8-xen ro root=LABEL=/ console=tty0 noreboot module /initrd-2.6.18.8-xen.img /boot is on a regular partition / is also outside LVM but it never works. mount says [root@ut3 ~]# mount /dev/hda2 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/mapper/vg0-lvUsr on /usr type ext3 (rw,noatime) /dev/mapper/vg0-lvSrc on /usr/src type ext3 (rw,noatime) /dev/mapper/vg0-lvOpt on /opt type ext3 (rw,noatime) /dev/mapper/vg0-lvVar on /var type ext3 (rw,noatime) /dev/mapper/vg0-lvSpool on /var/spool type ext3 (rw,noatime) /dev/mapper/vg0-lvLog on /var/log type ext3 (rw,noatime) /dev/mapper/vg0-lvWww on /var/www type ext3 (rw,noatime) /dev/mapper/vg0-lvHome on /home type ext3 (rw,noatime) /dev/mapper/vg0-lvMirror on /vz type ext3 (rw,noatime) /dev/mapper/vg0-lvLfs on /install type ext3 (rw,noatime) /dev/hda1 on /boot type ext3 (rw,noatime) tmpfs on /dev/shm type tmpfs (rw) none on /tmp type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type As you see I have a LVM setup and regular lines work, but my own line following Xen docs, doesn’t I even created an initrd image as it works on stock CentOS kernels. Everything compiled fine and installed too, please help me, I always have the same problem when I compile custom kernels, my system can never boot, may be I have to compile LVM support into the kernel rather than as Module. Has anyone made this work with similar setups as mine? Can anyone give me a lead, thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
- Strange du/df behaviour.
- Ext3 Performance Tuning - the journal
- Troubles converting a pv host from dom0-hosted kernel to self-contained kernel
- can not lvcreate after lvm snapshot and "xm mem-set" and lvremove