WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Couldn't open directory /lib/modules/2.6.26-2-xen-686: No su

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Couldn't open directory /lib/modules/2.6.26-2-xen-686: No such file or directory
From: Siju George <sgeorge.ml@xxxxxxxxx>
Date: Mon, 19 Oct 2009 16:55:33 +0530
Delivery-date: Mon, 19 Oct 2009 04:26:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PUSJeVE61OxCMH/t4R+K0dgmd7ScOIy5PUQBvvlGy24=; b=b9lCGeo1+ufKMd4YqWc+hh38DdPdCTVl+QlmryPbD+0dC+MEkZ7eqJCxTa3TgiCT7v K8CMIk3hQHdErSHvj3l92qIwXGU0IZIp73xELuSxqjd8yy0waVoClLw5EDbjybdIX/D+ WxBFMYlo7A3ayERKqyYL2wChiFfTy1chLhFLY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Zh+PuYL2oZ/uOHtVJJhWUEawbp/cCgJhzzYhwZK7KG6qEw0wGuKwLWmOpehPG0AEmy yXERWoK2PsYV2jUFoz4k+WoIkLL3I+bmDDcP79pK3zMCS1Cv14HqoQ6EiQH94CE2uZZO +Ta8kbm/VBBRhylZ5k3GlORR0z9s1mS4iTiEQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b713df2c0910150250r25e63cc6r2bee75fb0b0038a@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b713df2c0910150250r25e63cc6r2bee75fb0b0038a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users