Peter Fellwock
2005-Aug-11 18:03 UTC
RE: [****SPAM****] - Re: [Xen-users] could not load modules.dep stops network from working? - Found word(s) list error in the Text body
Thank you all for you replies! For anyone following the fedora xen quickstart guide here are the steps to follow to get your eth0 working. At rawhide mkdir /lib/modules/2.6.12-1.1411_FC4xen0 depmod -a At the domain0 (make sure rawhide is down) mount -o loop /root/fedora.img /mnt cd /mnt cp /etc/sysconfig/network-scripts/ifcfg-eth0 etc/sysconfig/network-scripts/ifcfg-eth0 cp /etc/sysconfig/network etc/sysconfig/network then modify those two new files accordingly! Thank you all again... I got the interface working BUT Gateway (switch) = 192.168.225.1 domain0 = 192.168.225.210 rawhide = 192.168.225.180 rawhide can ping domain0 but cannot ping the Gateway? Why? I set the ifcfg scripts to make the gateway be the gateway and then tried to make domain0 the gateway and it didn''t work either... why? Thanx, -peter -----Original Message----- From: Reuben Kabel [mailto:kabel@us.ibm.com] Sent: Wednesday, August 10, 2005 9:16 PM To: aliguori@us.ibm.com Cc: Peter Fellwock; xen-users@lists.xensource.com; xen-users-bounces@lists.xensource.com Subject: [****SPAM****] - Re: [Xen-users] could not load modules.dep stops network from working? - Found word(s) list error in the Text body 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@us.ltcfw d.linux.ibm.com Sent by: To xen-users-bounces Peter Fellwock @lists.xensource. <Peter.Fellwock@active.com> com cc xen-users@lists.xensource.com 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 ordirectory> > modprobe: FATAL: Could not load > /lib/modules/2.6.12-1.1411_FC4xen0/modules.dep: No such file ordirectory> > modprobe: FATAL: Could not load > /lib/modules/2.6.12-1.1411_FC4xen0/modules.dep: No such file ordirectory> > 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 ordirectory> > 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@lists.xensource.com >http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users