Hardeep Singh
2006-May-27 21:18 UTC
[Xen-users] installation help for xen3.0.2-2 with linux-2.6.16 kernel
Hi all, I''m new to Xen and am trying to install Xen3.0.2-2 on Ubuntu with kernel linux-2.6.16. I did make ''make world'' and ''make install'' and ''sh ./install.sh'', however when try booting Xen it automatically reboots the system after sometime. My /boot/grub/menu.lst entry looks like the following. title Xen 3.0 kernel /boot/xen-3.0.gz dom0_mem=262144 module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=ttyS0 boot I am using a serial console to access the system and for that i''ve added the following to /boot/grub/menu.lst serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console and this to /etc/inittab T0:23:respawn:/sbin/getty -L ttyS0 38400 vt100 Any sort of help would be appreciated! Regards Hardeep _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hardeep Singh
2006-May-27 22:41 UTC
[Xen-users] Re: installation help for xen3.0.2-2 with linux-2.6.16 kernel
I just found this on one of the installation pages on xen-wiki : "Copy the modules directory /lib/modules/2.6.<version>-xen to the /lib/modules directory of your VM and make an initrd with mkinitrd. # mkinitrd /boot/initrd-xen-3.0.img 2.6.<version>-xen" I did not do that. However I can not really understand what files to copy from and to where? Could someone give me some pointers on how to go about making my initrd? root@pippin:/lib/modules# ls 2.6.12-9-686 2.6.16-xen root@pippin:/lib/modules/2.6.12-9-686# ls initrd modules.alias modules.ieee1394map modules.pcimap modules.usbmap kernel modules.ccwmap modules.inputmap modules.seriomap volatile madwifi modules.dep modules.isapnpmap modules.symbols root@pippin:/lib/modules/2.6.16-xen# ls build modules.ccwmap modules.inputmap modules.seriomap source kernel modules.dep modules.isapnpmap modules.symbols modules.alias modules.ieee1394map modules.pcimap modules.usbmap Regards, Hardeep On 5/27/06, Hardeep Singh <hardeepguru@gmail.com> wrote:> > Hi all, > > I''m new to Xen and am trying to install Xen3.0.2-2 on Ubuntu with kernel > linux-2.6.16. I did make ''make world'' and ''make install'' and ''sh > ./install.sh'', however when try booting Xen it automatically reboots the > system after sometime. My /boot/grub/menu.lst entry looks like the > following. > > title Xen 3.0 > kernel /boot/xen-3.0.gz dom0_mem=262144 > module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=ttyS0 > boot > > I am using a serial console to access the system and for that i''ve added > the following to /boot/grub/menu.lst > > serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1 > terminal --timeout=10 serial console > > and this to /etc/inittab > > T0:23:respawn:/sbin/getty -L ttyS0 38400 vt100 > > Any sort of help would be appreciated! > > Regards > Hardeep >-- hardeep _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Petersen
2006-May-28 03:47 UTC
Re: [Xen-users] installation help for xen3.0.2-2 with linux-2.6.16 kernel
At 04:18 PM 5/27/2006, you wrote:>title Xen 3.0 >kernel /boot/xen-3.0.gz dom0_mem=262144kernel /boot/xen.gz dom0_mem=131072 com1=9600,8n1>module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=ttyS0The manual says - "Enabling Xen serial console output neither enables nor disables Linux kernel output or logging in to Linux over serial port." - so you need to keep the standard Linux serial console changes as well. Try this and see if you get some useful output to the serial console before the restart. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Petersen
2006-May-28 03:52 UTC
Re: [Xen-users] Re: installation help for xen3.0.2-2 with linux-2.6.16 kernel
At 05:41 PM 5/27/2006, you wrote:>I just found this on one of the installation pages on xen-wiki : > >"Copy the modules directory /lib/modules/2.6.<version>-xen to the >/lib/modules directory of your VM and make an initrd with mkinitrd. ># mkinitrd /boot/initrd-xen-3.0.img 2.6.<version>-xen" >I did not do that. However I can not really understand what files to >copy from and to where? Could someone give me some pointers on how >to go about making my initrd?I think this is referring to getting the modules in a domU. You can ''mkinitrd -o /boot/inird-xen-3.0.img 2.6.16-xen'' and then add another module line to your grub menu.lst. It''ll probably end up looking like this: title Xen 3.0 kernel /boot/xen-3.0.gz dom0_mem=262144 com1=9600,8n1 module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=ttyS0 module /boot/initrd-xen-3.0.img boot _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hardeep Singh
2006-May-28 20:40 UTC
Re: [Xen-users] Re: installation help for xen3.0.2-2 with linux-2.6.16 kernel
Hi, Thanks a lot. That helped though I had to put com1=38400,8n1 due to a different baud rate of my terminal, otherwise all I could see was junk! My Xen is now up and running :) Thanks & Regards, Hardeep On 5/27/06, Mark Petersen <markp@mark-petersen.net> wrote:> > At 05:41 PM 5/27/2006, you wrote: > >I just found this on one of the installation pages on xen-wiki : > > > >"Copy the modules directory /lib/modules/2.6.<version>-xen to the > >/lib/modules directory of your VM and make an initrd with mkinitrd. > ># mkinitrd /boot/initrd-xen-3.0.img 2.6.<version>-xen" > >I did not do that. However I can not really understand what files to > >copy from and to where? Could someone give me some pointers on how > >to go about making my initrd? > > I think this is referring to getting the modules in a domU. You can > ''mkinitrd -o /boot/inird-xen-3.0.img 2.6.16-xen'' and then add another > module line to your grub menu.lst. It''ll probably end up looking like > this: > > title Xen 3.0 > kernel /boot/xen-3.0.gz dom0_mem=262144 com1=9600,8n1 > module /boot/vmlinuz-2.6-xen root=/dev/hda1 ro console=ttyS0 > module /boot/initrd-xen-3.0.img > boot > > >-- hardeep _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users