Hi all, I''m new to this list and would like to tip my hat to the Xen development team you guys have made me look good...! Here''s the scenario : I''m building a little demo server for a local IT shop to demonstrate how linux can be use for SME''s Dom0 is installed and working on Fedora Core 4 running 2.6.11-1.1369_FC4xen0. What I would like to do is install 4 VM''s on smeserver from contribs.org one openfiler from openfiler.org and one fedoracore3 + qemu + windows XP and one Fedoracore 4. The last two I''m done before and I know it works, but openfiler and smeserver run on top of centos 3 with a 2.4 kernel. which is not a big deal for most configuration, but openfiler needs at least one LVM partition to create shares on. so here''s what I did 1- I''ve created 3 disk image. OpenFiler1.2-1.img ------->sda1 OpenFiler1.2-1.swap.img --------->sda2 OpenFiler1.2-1.stg.img ---------->sda3 2- fdisk /dev/sda3 Disk /dev/sda3: 3221 MB, 3221225472 bytes 255 heads, 63 sectors/track, 391 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda3p1 1 391 3140676 8e Linux LVM 3 - pvcreate /dev/sda3 pvcreate -- ERROR: "/etc/lvmtab" doesn''t exist or is unreadable; you may need to run vgscan 4- vgscan vgscan -- LVM driver/module not loaded? 5- lsmod Module Size Used by Not tainted lsmod: QM_MODULES: Function not implemented 6- depmod -ae depmod: QM_MODULES: Function not implemented I''ve copied all the module from /lib/modules/2.6.11-1.1369_FC4xenU to <disk image mount>/lib/modules/2.6.11-1.1369_FC4xenU Now I''m stuck and running out of ideas ? please help ASAP H _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The errors you''re receiving on depmod/lsmod look like you''re using the wrong version of the module tools on the kernel. It looks like you''re trying to use the 2.6 module tools (module-init-tools, I think??) on a 2.4 kernel (usually using the 2.4 tools on 2.6 produces Seg Faults). Try making sure that your kernel, modules, and module utilities match. Nick Couchman Systems Integrator SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Main: (303) 790-8499 Fax: (303) 790-8720 Web: http://www.seakr.com>>> Hugues Belanger <hbelanger@look.ca> 2005/09/28 07:10:53 >>>Hi all, I''m new to this list and would like to tip my hat to the Xen development team you guys have made me look good...! Here''s the scenario : I''m building a little demo server for a local IT shop to demonstrate how linux can be use for SME''s Dom0 is installed and working on Fedora Core 4 running 2.6.11-1.1369_FC4xen0. What I would like to do is install 4 VM''s on smeserver from contribs.org one openfiler from openfiler.org and one fedoracore3 + qemu + windows XP and one Fedoracore 4. The last two I''m done before and I know it works, but openfiler and smeserver run on top of centos 3 with a 2.4 kernel. which is not a big deal for most configuration, but openfiler needs at least one LVM partition to create shares on. so here''s what I did 1- I''ve created 3 disk image. OpenFiler1.2-1.img ------->sda1 OpenFiler1.2-1.swap.img --------->sda2 OpenFiler1.2-1.stg.img ---------->sda3 2- fdisk /dev/sda3 Disk /dev/sda3: 3221 MB, 3221225472 bytes 255 heads, 63 sectors/track, 391 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda3p1 1 391 3140676 8e Linux LVM 3 - pvcreate /dev/sda3 pvcreate -- ERROR: "/etc/lvmtab" doesn''t exist or is unreadable; you may need to run vgscan 4- vgscan vgscan -- LVM driver/module not loaded? 5- lsmod Module Size Used by Not tainted lsmod: QM_MODULES: Function not implemented 6- depmod -ae depmod: QM_MODULES: Function not implemented I''ve copied all the module from /lib/modules/2.6.11-1.1369_FC4xenU to <disk image mount>/lib/modules/2.6.11-1.1369_FC4xenU Now I''m stuck and running out of ideas ? please help ASAP H _______________________________________________ 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
Gino LV. Ledesma
2005-Sep-28 15:28 UTC
Re: [Xen-users] mixing 2.6 / 2.4 kernels lots of fun
On 9/28/05, Hugues Belanger <hbelanger@look.ca> wrote:> What I would like to do is install 4 VM''s on smeserver from contribs.org > one openfiler from openfiler.org and one fedoracore3 + qemu + windows XP > and one Fedoracore 4.<< snipped >>> Device Boot Start End Blocks Id System > /dev/sda3p1 1 391 3140676 8e Linux LVM > > 3 - pvcreate /dev/sda3 > pvcreate -- ERROR: "/etc/lvmtab" doesn''t exist or is unreadable; you may > need to run vgscan > > 4- vgscan > vgscan -- LVM driver/module not loaded? > > 5- lsmod > Module Size Used by Not tainted > lsmod: QM_MODULES: Function not implemented > > 6- depmod -ae > depmod: QM_MODULES: Function not implementedLooks like your kernel has no support for modules. You can rebuild the domU kernel to include kernel module support, or build LVM support into the kernel directly. Copying the modules is only half the trick. Another alternative you can do is make OpenFiler use the dom0 kernel to use your real disks if you have problems with LVM (though I don''t see why there should be any). HTH, gino ledesma _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hugues Belanger
2005-Sep-28 15:30 UTC
Re: [Xen-users] mixing 2.6 / 2.4 kernels lots of fun
Ok I''m making progress, I''m installed a compatible version of modutils and now I can do depmod -ae. but I still get and error with the following pvcreate /dev/sda3 pvcreate -- ERROR: "/etc/lvmtab" doesn''t exist or is unreadable; you may need to run vgscan vgscan vgscan -- LVM driver/module not loaded? openfiler uses lvm-1.0.8-9.of.1 could that be the problem ? and if it is how can I create an LVMed file backed VBD and use it in my DomU ??? Thanks H _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hugues Belanger wrote:>Hi all, > >I''m new to this list and would like to tip my hat to the Xen development >team you guys have made me look good...! > >Here''s the scenario : > >I''m building a little demo server for a local IT shop to demonstrate how >linux can be use for SME''s > >Dom0 is installed and working on Fedora Core 4 running >2.6.11-1.1369_FC4xen0. > >What I would like to do is install 4 VM''s on smeserver from contribs.org >one openfiler from openfiler.org and one fedoracore3 + qemu + windows XP >and one Fedoracore 4. > >I''d be very interested to hear how the SME server setup goes. I''ve been considering setting up a SME environment ontop of my Xen server as well. Steve _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hugues Belanger
2005-Sep-29 14:05 UTC
Re: [Xen-users] mixing 2.6 / 2.4 kernels lots of fun
Ok I''ve got a lot further now...! I''ve decided to give up on the FC4 rpms and use the Xen 2.0.7 binaries and now I have SME and OpenFiler up and running but I''m getting a lot of errors. Maybe someone can help a little here: 1- Booting Dual Xeon with: and I get no SMP support ?? title Xen-Dom0 kernel /xen-2.0.7.gz dom0_mem=258048 watchdog noreboot max_loop=128 module /vmlinuz-2.6.11-xen0 ro root=/dev/VolGroup00/LogVol00 module /initrd-2.6.11.12-xen0 ---> Also I''m getting lot of little errors I.e no serial mouse no audio etc..! 2- Openfiler is based on Cenot 3.4 and uses a 2.4 Kernel, so in oder to get LVM support I had to boot this domU with vmlinuz-2.4.30-xen0 yes I know it a dom0 kernel but the domU doesn''t provide lvm support ---> I guess I''m going to have to build my own kernels Does anyone have good notes on how to do this on FC4 and config files for kernel 2.4/2.6 dom0/domU 3- The SME server is up but deadly slow CPU utilization is ~60% and it complains about bad mount attributes use quotas and when trying to apply firewall rules. (missing modules) ----> Again I guess I nned to compile my own kernels ---> help please 4- I''d like to get kqemu installed on my dom0/domU kernel and have a vm running qemu + windows has anyone been success full with this ? and how did you guys do it ? Thanks in advance H On Thu, 2005-09-29 at 13:53 +1200, Steven Ellis wrote:> Hugues Belanger wrote: > >Hi all, > > > >I''m new to this list and would like to tip my hat to the Xen development > >team you guys have made me look good...! > > > >Here''s the scenario : > > > >I''m building a little demo server for a local IT shop to demonstrate how > >linux can be use for SME''s > > > >Dom0 is installed and working on Fedora Core 4 running > >2.6.11-1.1369_FC4xen0. > > > >What I would like to do is install 4 VM''s on smeserver from contribs.org > >one openfiler from openfiler.org and one fedoracore3 + qemu + windows XP > >and one Fedoracore 4. > > > > > > I''d be very interested to hear how the SME server setup goes. I''ve been > considering setting up a SME environment ontop of my Xen server as well. > > Steve >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users