WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] problems with modules

To: "Danilo Dongiovanni" <danilo.dongiovanni@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] problems with modules
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 27 Jun 2007 12:43:43 +0200
Delivery-date: Wed, 27 Jun 2007 03:46:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46823D2D.6080306@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace4pumbzUAGmPZPS9e0dFQuDhlUmgAACsQg
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>