[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] how to add loop device support to domU?
On Mon, Sep 7, 2009 at 7:31 AM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote: > On Mon, Sep 7, 2009 at 12:26 PM, Rudi Ahlers<Rudi@xxxxxxxxxxx> wrote: > >> root@mars:[~]$ modprobe loop >> FATAL: Could not load /lib/modules/2.6.18-128.4.1.el5xen/modules.dep: >> No such file or directory >> >> >> root@mars:[~]$ uname -a >> Linux mars.softdux.com 2.6.18-128.4.1.el5xen #1 SMP Tue Aug 4 20:51:12 >> EDT 2009 x86_64 x86_64 x86_64 GNU/Linux > > Looks like RHEL/Centos5 kernel? If so, the loop module is already > compiled as a module. You just need to put it at the right place. > Here's from mine: > > # uname -a > Linux eoffice03 2.6.18-128.1.10.el5xen #1 SMP Wed Apr 29 14:24:51 EDT > 2009 x86_64 x86_64 x86_64 GNU/Linux > # modinfo loop > filename: > /lib/modules/2.6.18-128.1.10.el5xen/kernel/drivers/block/loop.ko > alias: block-major-7-* > license: GPL > srcversion: 82DB6DB3DABF3B945D6394D > depends: > vermagic: 2.6.18-128.1.10.el5xen SMP mod_unload gcc-4.1 > parm: max_loop:Maximum number of loop devices (1-256) (int) > > My guess is your domU was created manually, and whoever created it > forgot to copy /lib/modules/2.6.18-128.4.1.el5xen directory. > > -- > Fajar > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users > Hi Fajar, I'm using the Stacklet.com images, so they are pre-created. The question is, how do I get the correct XEN kernel headers into the domU, since it's using a different kernel than the dom0 and yum won't install the older version -- Kind Regards Rudi Ahlers CEO, SoftDux Hosting Web: http://www.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |