Siju George
2009-Oct-19 11:25 UTC
[Xen-users] Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
Hi, I have the following installed for working with xen on debian lenny. debian-xen:~# dpkg -l |grep xen ii libc6-xen 2.7-18 GNU C Library: Shared libraries [Xen version ii libxenstore3.0 3.2.1-2 Xenstore communications library for Xen ii linux-headers-2.6.26-1-common-xen 2.6.26-13lenny2 Common header files for Linux 2.6.26-1-xen ii linux-headers-2.6.26-1-xen-686 2.6.26-13lenny2 Header files for Linux 2.6.26-1-xen-686 ii linux-headers-2.6.26-2-common-xen 2.6.26-19 Common header files for Linux 2.6.26-2-xen ii linux-headers-2.6.26-2-xen-686 2.6.26-19 Header files for Linux 2.6.26-2-xen-686 ii linux-image-2.6.26-2-xen-686 2.6.26-19 Linux 2.6.26 image on i686, oldstyle Xen sup ii linux-modules-2.6-xen-686 2.6.26+17+lenny1 Linux 2.6 modules on i686 ii linux-modules-2.6.26-1-xen-686 2.6.26-13lenny2 Linux 2.6.26 modules on i686 ii linux-modules-2.6.26-2-xen-686 2.6.26-19 Linux 2.6.26 modules on i686 ii linux-modules-xen-686 2.6.26+17+lenny1 Linux modules on i686 ii xen-hypervisor-3.2-1-i386 3.2.1-2 The Xen Hypervisor on i386 ii xen-linux-system-2.6.26-2-xen-686 2.6.26-19 XEN system with Linux 2.6.26 image on i686 ii xen-utils-3.2-1 3.2.1-2 XEN administrative tools ii xen-utils-common 3.2.0-2 XEN administrative tools - common files ii xenstore-utils 3.2.1-2 Xenstore utilities for Xen debian-xen:~# In /boot/grub/menu.lst I have the following. # Xen title Xen [/boot/xen-3.2-1-i386.gz] root (hd1,6) kernel /boot/xen-3.2-1-i386.gz dom0_mem=524288 module /boot/vmlinuz-2.6.26-2-xen-686 root=/dev/hdb7 ro module /boot/initrd.img-2.6.26-2-686 While booting the above option I get the errors. Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file or directory FATAL: Could not open /lib/modules/2.6.26-2-xen-686/modules.dep.temp for writing: No such file or directory I have the above directory installed with the following files. debian-xen:~# uname -r 2.6.26-2-686 debian-xen:~# ls -l /lib/modules/`uname -r` total 1872 drwxr-xr-x 9 root root 4096 2009-10-14 16:09 kernel -rw-r--r-- 1 root root 410793 2009-10-14 16:09 modules.alias -rw-r--r-- 1 root root 69 2009-10-14 16:09 modules.ccwmap -rw-r--r-- 1 root root 392500 2009-10-14 16:09 modules.dep -rw-r--r-- 1 root root 813 2009-10-14 16:09 modules.ieee1394map -rw-r--r-- 1 root root 451 2009-10-14 16:09 modules.inputmap -rw-r--r-- 1 root root 22763 2009-10-14 16:09 modules.isapnpmap -rw-r--r-- 1 root root 74 2009-10-14 16:09 modules.ofmap -rw-r--r-- 1 root root 298215 2009-10-14 16:09 modules.pcimap -rw-r--r-- 1 root root 1429 2009-10-14 16:09 modules.seriomap -rw-r--r-- 1 root root 180744 2009-10-14 16:09 modules.symbols -rw-r--r-- 1 root root 554592 2009-10-14 16:09 modules.usbmap debian-xen:~# What could be the trouble? Thanks --Siju _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vlado Peshov
2009-Oct-19 11:51 UTC
Re: [Xen-users] Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
On Mon, Oct 19, 2009 at 1:25 PM, Siju George <sgeorge.ml@gmail.com> wrote:> > While booting the above option I get the errors. > > Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file > or directory > FATAL: Could not open /lib/modules/2.6.26-2-xen-686/modules.dep.temp > for writing: No such file or directory > >Here you got error that there is no such file or directory: /lib/modules/2.6.26-2-xen-686/modules.dep.temp> I have the above directory installed with the following files. > > debian-xen:~# uname -r > 2.6.26-2-686 > debian-xen:~# ls -l /lib/modules/`uname -r` > total 1872 > drwxr-xr-x 9 root root 4096 2009-10-14 16:09 kernel > -rw-r--r-- 1 root root 410793 2009-10-14 16:09 modules.alias > -rw-r--r-- 1 root root 69 2009-10-14 16:09 modules.ccwmap > -rw-r--r-- 1 root root 392500 2009-10-14 16:09 modules.dep > -rw-r--r-- 1 root root 813 2009-10-14 16:09 modules.ieee1394map > -rw-r--r-- 1 root root 451 2009-10-14 16:09 modules.inputmap > -rw-r--r-- 1 root root 22763 2009-10-14 16:09 modules.isapnpmap > -rw-r--r-- 1 root root 74 2009-10-14 16:09 modules.ofmap > -rw-r--r-- 1 root root 298215 2009-10-14 16:09 modules.pcimap > -rw-r--r-- 1 root root 1429 2009-10-14 16:09 modules.seriomap > -rw-r--r-- 1 root root 180744 2009-10-14 16:09 modules.symbols > -rw-r--r-- 1 root root 554592 2009-10-14 16:09 modules.usbmap > debian-xen:~# > >here you list files and directories in: /lib/modules/2.6.26-2-686 First check that directory: /lib/modules/2.6.26-2-xen-686 exists. Second: ensure that you really boot into xen kernel, because the: uname -r shouldn''t return: 2.6.26-2-686 but: 2.6.26-2-xen-686 Regards, Vlado _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Siju George
2009-Oct-19 12:15 UTC
Re: [Xen-users] Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
On Mon, Oct 19, 2009 at 5:21 PM, Vlado Peshov <vpesov@genrepsoft.com> wrote: es/2.6.26-2-686> > First check that directory: > > /lib/modules/2.6.26-2-xen-686 > > exists. >that directory exists debian-xen:/lib/modules# ls 2.6.26-1-xen-686 2.6.26-2-686 2.6.26-2-xen-686> > but: > 2.6.26-2-xen-686 >I got the error when i booted into this option in grub # Xen title Xen [/boot/xen-3.2-1-i386.gz] root (hd1,6) kernel /boot/xen-3.2-1-i386.gz dom0_mem=524288 module /boot/vmlinuz-2.6.26-2-xen-686 root=/dev/hdb7 ro module /boot/initrd.img-2.6.26-2-686 Thanks for the reply Valdo :-) --Siju _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vlado Peshov
2009-Oct-20 12:16 UTC
Re: [Xen-users] Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
On Mon, Oct 19, 2009 at 1:25 PM, Siju George <sgeorge.ml@gmail.com> wrote:> In /boot/grub/menu.lst I have the following. > > # Xen > title Xen [/boot/xen-3.2-1-i386.gz] > root (hd1,6) > kernel /boot/xen-3.2-1-i386.gz dom0_mem=524288 > module /boot/vmlinuz-2.6.26-2-xen-686 root=/dev/hdb7 ro > module /boot/initrd.img-2.6.26-2-686 > >should be something like this: ... module /boot/initrd.img-2.6.26-2-xen-686 ? Regards, Vlado _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Siju George
2009-Oct-21 04:57 UTC
Re: [Xen-users] Couldn''t open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
On Tue, Oct 20, 2009 at 5:46 PM, Vlado Peshov <vpesov@genrepsoft.com> wrote:> > should be something like this: > > ... > module /boot/initrd.img-2.6.26-2-xen-686 > > ? >Thanks Vlado :-) You are right! It is working now. Thanks --Siju _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users