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] DomU boots but prompts an error related to modules

Subject: Re: [Xen-users] DomU boots but prompts an error related to modules
From: Miguel Araujo <maraujo@xxxxxxxxx>
Date: Tue, 26 Jun 2007 12:34:44 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Jun 2007 03:32:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561E92@xxxxxxxxxxxxxxxxx>
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>
References: <907625E08839C4409CE5768403633E0B02561E92@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070604)
Petersson, Mats escribió:
 

  
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
Miguel Araujo
Sent: 26 June 2007 11:03
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU boots but prompts an error related 
to modules

Hello all,

I'm installing xen3.1 on an Ubuntu Feisty Fawn 7.04 using the 
tarball source.  Dom0 works good now! and I can also start 
domUs, the problem is that I get this error when I do an xm 
create -c sistema.sxp


Couldnt get a file descriptor referring to the console
modprobe: FATAL: Could not load 
/lib/modules/2.6.18-xen/modules.dep: No such file or directory
modprobe: FATAL: Could not load 
/lib/modules/2.6.18-xen/modules.dep: No such file or directory
    

Inside DomU you need to do "depmod 2.6.18-xen". 

  
It shows this error about 8 times, but eventually the domU 
starts and apparently everything works fine. The point is 
that I'm trying to find out why it happens, because I need 
this machine to be stable. 
I have tried many things to solve this and nothing seems to 
work. I compiled my own kernel. Also I decompressed the ram 
disk to look for the file that is missing, it's not there so 
I put it there manually and made a cpio and gzip, but when I 
use the new-initrd.img on the domU it goes the same and if I 
try to use my own generated initrd with dom0 doen't boot up 
and stalls in the root file system checkup.

This is my sistema.sxp file:


kernel = "/boot/xen/vmlinuz-2.6.18-xen"
ramdisk = "/boot/xen/new-initrd.img"
memory = 128
name = "SistemaPrueba"
vif = ['mac=4E:4F:53:59:53:00' ]
disk= [ 'phy:/dev/vm/sistema,sda1,w', 
'phy:/dev/vm/sistema-swap,sda2,w' ]
hostname="SistemaPrueba"
root = "/dev/sda1 ro"
extra = "4"
Yes, I'm using the same xenKernel for the dom0 and the domU. 
    

That should be fine. 

  
The domU is a Feisty debootstrap system with openssh-server 
that responds. And it's mounted on a logical volume (which 
might be the source of the problem)
    

Probably not, just simply that you (or anyone else) haven't run the
depmod command to build the "modules.dep" file in the DomU file-system. 

--
Mats
  
Thanks a lot,

Miguel Araujo


    



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
  
I didn't know I had to do a depmod in the domU also, I had made it in the dom0 but not in the domU. I have had to rsync the files needed before being able to do it, but then there has been no problem.
The error doesn't prompt anymore, after 2 days trying to solve it, works!

Thank you so much Mats,

Miguel Araujo
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>