Hey guys, Running Xen 3.2 on Ubuntu 8.04. There was a kernel upgrade recently from 2.6.24-23-xen to 2.6.24-24-xen (provided by Ubuntu). Now when I boot the guest, it has numerous errors like this: modprobe: FATAL: Could not load /lib/modules/2.6.24-24-xen/modules.dep: No such file or directory Viewing the /lib/modules dir, I see only 2.6.24-23-xen subdir, so it''s obvious why it can''t files. Another guest (CentOS 5.3 image from Stacklet.com) only has /lib/modules/2.6.18-128.1.6.el5xen and is therefore also unable to find the proper modules. Both are able to boot, but networking doesn''t work and probably other things, as there are several of these failures. The guest cfg files were changed to run the 2.6.24-24-xen kernel. Question is, do I just rename the directories or do I have do download new modules to work with this kernel? Thanks, Paul -- ea926p _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Paul,> Running Xen 3.2 on Ubuntu 8.04. There was a kernel upgrade recently > from 2.6.24-23-xen to 2.6.24-24-xen (provided by Ubuntu). Now when I > boot the guest, it has numerous errors like this:ok, so your Dom0-Kernel is now 2.6.24-24 - right?> modprobe: FATAL: Could not load > /lib/modules/2.6.24-24-xen/modules.dep: No such file or directory > Viewing the /lib/modules dir, I see only 2.6.24-23-xen subdir, so it''s > obvious why it can''t files. > Another guest (CentOS 5.3 image from Stacklet.com) only has > /lib/modules/2.6.18-128.1.6.el5xen and is therefore also unable to > find the proper modules. > Both are able to boot, but networking doesn''t work and probably other > things, as there are several of these failures. > > The guest cfg files were changed to run the 2.6.24-24-xen kernel.Why? You don''t have to use the same kernel in Dom0 and DomU.> Question is, do I just rename the directories or do I have do download > new modules to work with this kernel?Renaming the /lib/modules/X-dir would be like renaming your "Windows 98"-dir to get "Windows Vista" ;) Cu, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for your reply Fabian...>ok, so your Dom0-Kernel is now 2.6.24-24 - right?Yes>Why? You don''t have to use the same kernel in Dom0 and DomU.I guess I thought it would make sense to use the latest...>Renaming the /lib/modules/X-dir would be like renaming your "Windows98"-dir to get "Windows Vista" Point well taken. What would be a better way to fix the errors? -- Paul -----Original Message----- From: Fabian Zimmermann [mailto:xen-users@z-technologies.de] Sent: Monday, July 13, 2009 11:56 AM To: Peter Lecki Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Problems after xen kernel upgrade Hi Paul,> Running Xen 3.2 on Ubuntu 8.04. There was a kernel upgrade recently > from 2.6.24-23-xen to 2.6.24-24-xen (provided by Ubuntu). Now when I > boot the guest, it has numerous errors like this:ok, so your Dom0-Kernel is now 2.6.24-24 - right?> modprobe: FATAL: Could not load > /lib/modules/2.6.24-24-xen/modules.dep: No such file or directory > Viewing the /lib/modules dir, I see only 2.6.24-23-xen subdir, so it''s> obvious why it can''t files. > Another guest (CentOS 5.3 image from Stacklet.com) only has > /lib/modules/2.6.18-128.1.6.el5xen and is therefore also unable to > find the proper modules. > Both are able to boot, but networking doesn''t work and probably other > things, as there are several of these failures. > > The guest cfg files were changed to run the 2.6.24-24-xen kernel.Why? You don''t have to use the same kernel in Dom0 and DomU.> Question is, do I just rename the directories or do I have do download> new modules to work with this kernel?Renaming the /lib/modules/X-dir would be like renaming your "Windows 98"-dir to get "Windows Vista" ;) Cu, Fabian -- ea926p _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Peter,> I guess I thought it would make sense to use the latest...Well, if all your DomUs are Ubuntu I would agree, but if I had to use a Ubuntu kernel on CentOS I would prefer the "old" CentOS-kernel.> Point well taken. What would be a better way to fix the errors?You just have to transfer your /lib/modules/X-dir to your DomUs. or Maybe you just want to add your networkcard-module to your initramfs-file and skip the whole modules-dir. Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Brilliant! :) Switching to the CentOS kernel resolved everything on that guest and copying the modules from the Ubuntu host to Ubuntu guest solved the issues on that one. Appreciate the help, -- Paul -----Original Message----- From: Fabian Zimmermann [mailto:xen-users@z-technologies.de] Sent: Monday, July 13, 2009 12:27 PM To: p1@fhri.org Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Problems after xen kernel upgrade Hi Peter,> I guess I thought it would make sense to use the latest...Well, if all your DomUs are Ubuntu I would agree, but if I had to use a Ubuntu kernel on CentOS I would prefer the "old" CentOS-kernel.> Point well taken. What would be a better way to fix the errors?You just have to transfer your /lib/modules/X-dir to your DomUs. or Maybe you just want to add your networkcard-module to your initramfs-file and skip the whole modules-dir. Fabian -- ea926p _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users