[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] problems with modules



> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Danilo Dongiovanni
> Sent: 27 June 2007 11:34
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> 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 implemented

Sounds 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.