From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Bug: /proc/xen Doesn't Mount Date: Tue, 17 Jun 2014 12:56:56 -0400 Message-ID: <20140617165656.GA11406@laptop.dumpdata.com> References: <1403019899.9071.129790401.064767D8@webmail.messagingengine.com> <1403023042.23579.129811105.4096DD9B@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1403023042.23579.129811105.4096DD9B@webmail.messagingengine.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: merc1984@f-m.fm Cc: Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Jun 17, 2014 at 09:37:22AM -0700, merc1984@f-m.fm wrote: > On Tue, Jun 17, 2014, at 8:44, [1]merc1984@f-m.fm 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/.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@f-m.fm > > -- > http://www.fastmail.fm - mmm... Fastmail... > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel