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

Re: [Xen-devel] Bug: /proc/xen Doesn't Mount



On Tue, Jun 17, 2014 at 09:37:22AM -0700, merc1984@xxxxxx wrote:
> On Tue, Jun 17, 2014, at 8:44, [1]merc1984@xxxxxx wrote:
> 
> Debian Testing, Xen 4.4 compiled.
> 
> 
> 
> Booting to hypervisor goes well, but
> 
> # xl list
> 
> 
> xc: error: Could not obtain handle on privileged command interface (2 =
> 
> No such file or directory): Internal error
> 
> libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc handle: No
> 
> such file or directory
> 
> cannot init xl context
> 
> 
> 
> I find that no xen modules are loaded and /proc/xen is not mounted, so
> 
> loaded all xen modules.  I find instructions all over the place to
> mount
> 
> /proc/xen...  but they never say -how-.  mount /proc/xen doesn't work.
> 
> 
> Ok I've guessed that I should put in fstab:
> none    /proc/xen       xenfs   defaults 0 0
> 
> ... although I don't know whether this is the correct approach.
> # ls -al /proc/xen
> total 0
> drwxr-xr-x   2 root root 0 Jun 17 09:02 .
> dr-xr-xr-x 242 root root 0 Jun 17 09:02 ..
> -r--r--r--   1 root root 0 Jun 17 09:02 capabilities
> -rw-------   1 root root 0 Jun 17 09:02 privcmd
> -rw-------   1 root root 0 Jun 17 09:02 xenbus
> -rw-------   1 root root 0 Jun 17 09:02 xsd_kva
> -rw-------   1 root root 0 Jun 17 09:02 xsd_port
> 
> It must not be, because xl list hangs, and xl create
> /etc/xen/<domain>.cfg hangs.  xl info does give:
> host                   : hydra
> release                : 3.14-1-amd64
> version                : #1 SMP Debian 3.14.4-1 (2014-05-13)
> machine                : x86_64
> nr_cpus                : 8
> max_cpu_id             : 7
> nr_nodes               : 1
> cores_per_socket       : 4
> threads_per_core       : 2
> cpu_mhz                : 2500
> hw_caps                :
> bfebfbff:2c100800:00000000:00007f00:77fafbff:00000000:00000021:00002fbb
> virt_caps              : hvm hvm_directio
> total_memory           : 8063
> free_memory            : 6924
> sharing_freed_memory   : 0
> sharing_used_memory    : 0
> outstanding_claims     : 0
> free_cpus              : 0
> xen_major              : 4
> xen_minor              : 4
> xen_extra              : .0
> xen_version            : 4.4.0
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_scheduler          : credit
> xen_pagesize           : 4096
> platform_params        : virt_start=0xffff800000000000
> xen_changeset          :
> xen_commandline        : placeholder dom0_mem=1G,max:1G
> cc_compiler            : gcc (Debian 4.9.0-6) 4.9.0
> cc_compile_by          : root
> cc_compile_domain      : darkmatter.org
> cc_compile_date        : Tue Jun 17 07:57:19 PDT 2014
> xend_config_format     : 4
> 
> All our domains are down now, of course.
> 


You are not running 'xenstored' or 'oxenstored'. Your init scripts
should have run that - did you made sure they were setup in the right
init level?

> References
> 
> 1. mailto:merc1984@xxxxxx
> 
> -- 
> http://www.fastmail.fm - mmm... Fastmail...
> 

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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