Peter Fellwock
2005-Aug-10 22:40 UTC
[Xen-users] could not load modules.dep stops network from working?
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@lists.xensource.com http://lists.xensource.com/xen-users
Anthony Liguori
2005-Aug-10 23:18 UTC
Re: [Xen-users] could not load 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@lists.xensource.com >http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcus Brown
2005-Aug-10 23:36 UTC
Re: [Xen-users] could not load modules.dep stops network from working?
Hi Peter, Peter Fellwock wrote:> Why is the domain looking in /2.6.12-1.1411_FC4xen0/modules.dep? >kernel ="/boot/vmlinuz-2.6.12-1.1411_FC4xen0" should probably be something like: kernel ="/boot/vmlinuz-2.6.12-1.1411_FC4xenU"> Why is the vif being created but not assigned to the domain? >errr ... I think so. Depends what modules you''ve put in [''file:/root/fedora.img,hda1,w'']. You probably don''t have xen0 modules in there!> Are these two problems related? >Probably. Marcus. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Aug-11 02:25 UTC
Re: [Xen-users] could not load modules.dep stops network from working?
> Peter Fellwock wrote: > > Why is the domain looking in /2.6.12-1.1411_FC4xen0/modules.dep? > > kernel ="/boot/vmlinuz-2.6.12-1.1411_FC4xen0" > should probably be something like: > kernel ="/boot/vmlinuz-2.6.12-1.1411_FC4xenU"In general xen0 kernel should work too, it''s just bigger. As you rightly point out, though, if there are things you *need* in modules, you''ll need a matching set of modules on the domain''s filesystem. Cheers, Mark> > Why is the vif being created but not assigned to the domain? > > errr ... I think so. > Depends what modules you''ve put in [''file:/root/fedora.img,hda1,w'']. > You probably don''t have xen0 modules in there! > > > Are these two problems related? > > Probably. > > Marcus. > > _______________________________________________ > 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
Reuben Kabel
2005-Aug-11 04:16 UTC
Re: [Xen-users] could not load modules.dep stops network from working?
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 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@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