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] could not load modules.dep stops network from working?

To: aliguori@xxxxxxxxxx
Subject: Re: [Xen-users] could not load modules.dep stops network from working?
From: Reuben Kabel <kabel@xxxxxxxxxx>
Date: Thu, 11 Aug 2005 00:16:09 -0400
Cc: Peter Fellwock <Peter.Fellwock@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Aug 2005 04:14:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42FA8B3F.2090507@xxxxxxxxxx>
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



Are you following the Fedora Xen Quickstart guide? I have been and have
noticed similar issues where the network doesn't seem to be created. I've
gotten around these by hand coping the /etc/sysconfig/network ,
/etc/sysconfig/network-scripts/ifcfg-eth0 files from dom0 and edited
accordinhgly. I'm still crunching along and seeing intermittent issues, but
those seem to have enabled networking in domU. I believe the modprobe
errors you're seeing are red herrings and should be resolved by the depmod
as previously noted. I don't recall exactly, but I think  I had to mkdir
/lib/modules/2.6.12-xenU within the domU filesystem before running depmod.

hope that helps - Reuben

--
Reuben Kabel
IT Specialist, Application Innovation Services
Reporting to Sue Nile
404 Wyman St.
Waltham, MA. 02454
Mobile: 617.271.7999



                                                                           
             aliguori@xxxxxxxx                                             
             d.linux.ibm.com                                               
             Sent by:                                                   To 
             xen-users-bounces         Peter Fellwock                      
             @lists.xensource.         <Peter.Fellwock@xxxxxxxxxx>         
             com                                                        cc 
                                       xen-users@xxxxxxxxxxxxxxxxxxx       
                                                                   Subject 
             08/10/2005 07:18          Re: [Xen-users] could not load      
             PM                        modules.dep stops network from      
                                       working?                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Run depmod -a as root

Regards,

Anthony Liguori

Peter Fellwock wrote:

> Iam new to Xen and I am trying to FC4 and FC4 domains. I came across a
> problem when my newly created domain never gets a network. When I
> start the domain I get a fatal error that leads me to believe that
> thios might be the reason why I don’t have networking with the bridge:
>
> Checking for new hardwaremodprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1411_FC4xen0/modules.dep: No such file or directory
>
> modprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1411_FC4xen0/modules.dep: No such file or directory
>
> modprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1411_FC4xen0/modules.dep: No such file or directory
>
> mmap /dev/mem: Resource temporarily unavailable
>
> mmap /dev/mem: Resource temporarily unavailable
>
> modprobe: FATAL: Could not load
> /lib/modules/2.6.12-1.1411_FC4xen0/modules.dep: No such file or directory
>
> The file obviously does not exist, so what do I do?
>
> in the domain, the ip is missing:
>
> [root@localhost ~]# ifconfig
>
> lo Link encap:Local Loopback
>
> inet addr:127.0.0.1 Mask:255.0.0.0
>
> UP LOOPBACK RUNNING MTU:16436 Metric:1
>
> RX packets:44 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:0
>
> RX bytes:3044 (2.9 KiB) TX bytes:3044 (2.9 KiB)
>
> And back in the xen master I know the vif is being created:
>
> [root@xenmaster xen]# brctl show xen-br0
>
> bridge name bridge id STP enabled interfaces
>
> xen-br0 8000.00e0812e539c no eth0
>
> vif25.0
>
> and my conf for the domain is:
>
> kernel ="/boot/vmlinuz-2.6.12-1.1411_FC4xen0"
>
> memory = 512
>
> name = "rawhide"
>
> nics = 1
>
> vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0']
>
> ip = "192.168.225.181"
>
> netmask = "255.255.255.0"
>
> gateway = "192.168.225.1"
>
> hostname = "grasshopper.active.com"
>
> disk = ['file:/root/fedora.img,hda1,w']
>
> root = "/dev/hda1 ro"
>
> 3 questions:
>
> Why is the domain looking in /2.6.12-1.1411_FC4xen0/modules.dep?
>
> Why is the vif being created but not assigned to the domain?
>
> Are these two problems related?
>
> Thanx,
>
> -peter
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users