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

RE: [Xen-users] DomU boots but prompts an error related to modules


  • To: "Miguel Araujo" <maraujo@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Tue, 26 Jun 2007 12:12:16 +0200
  • Delivery-date: Tue, 26 Jun 2007 03:10:41 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Ace32UflxP9P9eCFRLCPqqf6yK1HiQAAN43Q
  • Thread-topic: [Xen-users] DomU boots but prompts an error related to modules

 

> -----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


 


Rackspace

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