Re: Couldn't open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
Hi,
could you please give the output of these commands:
ls -l /lib/modules
ls -l /boot
thanks,
vitaminx
On Thu, 15 Oct 2009 15:20:20 +0530, Siju George <sgeorge.ml@gmail.com>
wrote:
> Hi,
>
> I have the following installed for working with xen
>
> 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
Reply to: