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

Re: [Xen-users] grep: /proc/xen/capabilities: No such file or directory

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] grep: /proc/xen/capabilities: No such file or directory
From: PBhat <pbhat@xxxxxxxxxxxx>
Date: Tue, 1 Dec 2009 10:21:32 -0800 (PST)
Delivery-date: Tue, 01 Dec 2009 10:22:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A62373F.60401@xxxxxx>
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: <4A620486.3060106@xxxxxx> <4A62095E.10204@xxxxxxx> <4A620ADC.5020801@xxxxxx> <4A62373F.60401@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hey Andreas!

Could you please elaborate on how to "to create the compatibility mount
point 
/proc/xen". I added the line of code you mentioned to /etc/fstab and the
problem still persists.

The current view of my system mounts are :
root@pbhat-acis:/home/pbhat# df -ah
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             141G  8.9G  125G   7% /
proc                     0     0     0   -  /proc
none                     0     0     0   -  /sys
none                     0     0     0   -  /sys/fs/fuse/connections
none                     0     0     0   -  /sys/kernel/debug
none                     0     0     0   -  /sys/kernel/security
udev                  1.9G  272K  1.9G   1% /dev
none                     0     0     0   -  /dev/pts
none                  1.9G  1.2M  1.9G   1% /dev/shm
none                  1.9G   92K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
binfmt_misc              0     0     0   -  /proc/sys/fs/binfmt_misc
gvfs-fuse-daemon      0.0K  0.0K  0.0K   -  /home/pbhat/.gvfs


Thanks !
Pr

Andreas Sommer wrote:
> 
> Okay I found the solution :-)
> 
> The kernel must be configured to create the compatibility mount point 
> /proc/xen. And the following line must be added to /etc/fstab:
> 
> xenfs /proc/xen xenfs defaults 0 0
> 
> Hope this might help somebody else...
> 
> 
> 
> Andreas Sommer wrote:
>> It seems like many Xen source files still rely on the /proc/xen file 
>> system. Thus changing or removing that check in /etc/init.d/xend does 
>> not make a difference - xend won't start because it apparently needs 
>> stuff from /proc/xen ("Could not obtain handle on privileged command 
>> interface (2 = No such file or directory)" and similar errors).
>>
>> So, are the current Xen-unstable and the 2.6.30-rc6-tip kernel 
>> compatible (or yet usable) at all?
>>
>> Stefan Kuhne wrote:
>>> Andreas Sommer schrieb:
>>>
>>>   
>>>> So when I boot into Xen with 2.6.30-rc6-tip, everything works fine but
>>>> xend is not running. Trying to start it ("/etc/init.d/xend restart")
>>>> throws an error "grep: /proc/xen/capabilities: No such file or
>>>> directory". The directory "/proc/xen" is actually there, but empty. I
>>>> had the same problems with installing Xen-3.4-testing only a few days
>>>> ago.
>>>>
>>>>     
>>> This worgs with all Dom0 kernel:
>>> if ! grep -q "xen" /sys/hypervisor/type
>>>
>>> Stefan Kuhne
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 

-- 
View this message in context: 
http://old.nabble.com/grep%3A--proc-xen-capabilities%3A-No-such-file-or-directory-tp24550003p26596609.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] grep: /proc/xen/capabilities: No such file or directory, PBhat <=