[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.