Hi, I,m trying to install a domU with kernel >uname -a Linux wn-04-03-01-a.cnaf.infn.it 2.6.9-42.26.EL.cernxenU #1 SMP Tue Nov 28 17:09:09 CET 2006 i686 i686 i386 GNU/Linux on a dom0 with kernel uname -a Linux wn-04-03-36-a.cr.cnaf.infn.it 2.6.18-8.1.3.slc4xen #1 SMP Tue May 22 11:43:31 CEST 2007 i686 i686 i386 GNU/Linux with following configuration # cat /etc/xen/xmdefconfig def vmid_check(var, val): val = int(val) if val <= 0: raise ValueError return val # Define the ''vmid'' variable so that ''xm create'' knows about it. xm_vars.var(''vmid'', use="Virtual machine id. Integer greater than 0.", check=vmid_check) # Check the defined variables have valid values.. xm_vars.check() # General settings kernel = "/boot/vmlinuz-2.6-xen" #memory gateway = "131.154.144.1" extra = "fastboot" vif = [''bridge=xenbr0''] ramdisk = "/boot/initrd-2.6-xen.img" if vmid == 1: disk = [''phy:/dev/VIRTUAL/wn-04-03-01-a,hda1,w'',''phy:/dev/VIRTUAL/wn-04-03-01-a-swap,hda5,w''] memory=333 ip = "131.154.144.20" hostname = "wn-04-03-01-a" name = "wn-04-03-01-a" # Set root device. root = "/dev/hda1 ro" ------------------------------------------------------------------------------------ the domU starts but cannot see network. I suppose the problem is with modules which do not load at start-up. I copied domU kernel modules under its file system in the directory /lib/modules/2.6.9-42.26.EL.cernxenU but It seems the OS can''t find some modules The usual utilities on modules do not work > lsmod Module Size Used by Not tainted lsmod: QM_MODULES: Function not implemented Any ideas on what to try? Thanks in advance for any help Danilo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Danilo Dongiovanni > Sent: 27 June 2007 11:34 > To: xen-users@lists.xensource.com > Subject: [Xen-users] problems with modules > > Hi, > I,m trying to install a domU with kernel > >uname -a > Linux wn-04-03-01-a.cnaf.infn.it 2.6.9-42.26.EL.cernxenU #1 > SMP Tue Nov > 28 17:09:09 CET 2006 i686 i686 i386 GNU/Linux > > on a dom0 with kernel > uname -a > Linux wn-04-03-36-a.cr.cnaf.infn.it 2.6.18-8.1.3.slc4xen #1 > SMP Tue May > 22 11:43:31 CEST 2007 i686 i686 i386 GNU/Linux > > with following configuration > > # cat /etc/xen/xmdefconfig > > def vmid_check(var, val): > val = int(val) > if val <= 0: > raise ValueError > return val > # Define the ''vmid'' variable so that ''xm create'' knows about it. > xm_vars.var(''vmid'', > use="Virtual machine id. Integer greater than 0.", > check=vmid_check) > # Check the defined variables have valid values.. > xm_vars.check() > # General settings > kernel = "/boot/vmlinuz-2.6-xen" > #memory > gateway = "131.154.144.1" > extra = "fastboot" > vif = [''bridge=xenbr0''] > ramdisk = "/boot/initrd-2.6-xen.img" > > if vmid == 1: > disk = > [''phy:/dev/VIRTUAL/wn-04-03-01-a,hda1,w'',''phy:/dev/VIRTUAL/wn- > 04-03-01-a-swap,hda5,w''] > > memory=333 > ip = "131.154.144.20" > hostname = "wn-04-03-01-a" > name = "wn-04-03-01-a" > > # Set root device. > root = "/dev/hda1 ro" > -------------------------------------------------------------- > ---------------------- > the domU starts but cannot see network. I suppose the problem is with > modules which do not load at start-up. > I copied domU kernel modules under its file system in the directory > /lib/modules/2.6.9-42.26.EL.cernxenU > but It seems the OS can''t find some modules > The usual utilities on modules do not work > > lsmod > Module Size Used by Not tainted > lsmod: QM_MODULES: Function not implementedSounds like your DomU kernel is not compiled with modules at all... Can you try using the same kernel as Dom0? -- Mats> > Any ideas on what to try? > Thanks in advance for any help > Danilo > > _______________________________________________ > 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
Hi and thanks for answering.> Sounds like your DomU kernel is not compiled with modules at all... > > Can you try using the same kernel as Dom0? > >I actually already tried but the domU does not starts at all with dom0 kernel. in previous installations I used kernel 2.6.16.33-xen_3.0.4.1 for dom0 and it worked. this 2.6.18-8.1.3.slc4xen does not run on domU for some reason I don''t understand. do you know which module to include in the init in order to make *mod functions to work? Thanks Danilo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Danilo Dongiovanni [mailto:danilo.dongiovanni@cnaf.infn.it] > Sent: 27 June 2007 11:58 > To: Petersson, Mats > Cc: Danilo Dongiovanni; xen-users@lists.xensource.com > Subject: Re: [Xen-users] problems with modules > > Hi and thanks for answering. > > Sounds like your DomU kernel is not compiled with modules at all... > > > > Can you try using the same kernel as Dom0? > > > > > I actually already tried but the domU does not starts at all > with dom0 > kernel. > in previous installations I used kernel 2.6.16.33-xen_3.0.4.1 > for dom0 > and it worked. > this 2.6.18-8.1.3.slc4xen does not run on domU for some > reason I don''t > understand. > do you know which module to include in the init in order to make *mod > functions to work?It''s not a case of what''s in initrd, but rather how the kernel for DomU is compiled. But if you change the DomU kernel, you''ll need to both update the /lib/modules in the domU filesystem, and update the initrd. -- Mats> Thanks > Danilo > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users