search for: control_d

Displaying 20 results from an estimated 22 matches for "control_d".

Did you mean: control_h
2011 Aug 20
3
[PATCH 2/2] Load gntdev and evtchn if they''re modular.
...mount -t xenfs xenfs /proc/xen + + # Make sure evtchn and gntdev are loaded if present + grep -q "xen/evtchn" /proc/misc || modprobe xen-evtchn + grep -q "xen/gntdev" /proc/misc || modprobe xen-gntdev fi +# Done here if this isn''t a control domain if ! grep -q "control_d" /proc/xen/capabilities ; then exit 0 fi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Feb 17
6
Install issues for Xen 4.2.1 on Ubuntu 12.10
...="dom0_mem=384M,max:384M dom0_max_vcpus=1 no-bootscrub"'' /etc/default/grub update-grub echo "none /proc/xen xenfs defaults 0 0" >> /etc/fstab reboot After the reboot - $ ls /proc/xen capabilities privcmd xenbus xsd_kva xsd_port $ cat /proc/xen/capabilities control_d $ xl info libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context Any help would be greatly appreciated. _______________________________________________ Xen-users mailing list Xen-users@lists....
2006 Oct 04
1
Re: Programatically checking if we''re in a domU or dom0
> Personally, I use the following command in a > startup script to check if we''re in a privileged > domain: > > grep -qsE ''^control_d$'' /proc/xen/capabilities Hi Andrew, thanks for your tip. Now I can easily determine wether I''m running on a modified kernel or not (by checking for the presence of /proc/xen). However, once I''ve found that, I''d like to know if I''m on a priviledged do...
2019 Feb 18
2
[PATCH] xen init script: don't fail when being run in domU
When installing xen-utils-V in a driver domain domU, it drags in xen-utils-common, which also contains the init script for xenstored and xenconsoled. Installing the package will fail right away, because it exits non-zero after checking whether it's running in a xen dom0 or not: systemd[1]: Starting LSB: Xen daemons... xen[7215]: Starting Xen daemons: (warning). systemd[1]: xen.service:
2015 Sep 08
3
Report on Xen-4.6rc2 from virt7-xen-46-candidate
...Active: active (running) since Tue 2015-09-08 23:13:43 CEST; 13min ago Process: 757 ExecStartPre=/bin/mkdir -p /var/run/xen (code=exited, status=0/SUCCESS) Process: 753 ExecStartPre=/bin/rm -f /var/lib/xenstored/tdb* (code=exited, status=0/SUCCESS) Process: 740 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS) Main PID: 760 (xenstored) CGroup: /system.slice/xenstored.service ??760 /usr/sbin/xenstored Sep 08 23:13:43 xencen7ws.virtfinity.local xenstored[760]: TDB: tdb_open_ex: could not open file /var/lib/xenstored/tdb: No such fi...
2012 Mar 23
2
Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ?
...init xl context" I checked the xen common problems page, http://wiki.xensource.com/xenwiki/XenCommonProblems.html and did some troubleshooting. I was infact running Xen dom0, since I got this output. # ls /proc/xen/capabilities privcmd xenbus xsd_kva xsd_port# cat /proc/xen/capabilitiescontrol_d But my evtchn and gntdev were not loaded. Hence below command returned nothing. I ran commands "modprobe xen-evtchn" and "modprobe gntdev" to manually load those drivers. Then went to /etc/init.d to manually restart xencommons and got this. # ./xencommons restart" Stoppin...
2012 Mar 23
2
Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ?
...init xl context" I checked the xen common problems page, http://wiki.xensource.com/xenwiki/XenCommonProblems.html and did some troubleshooting. I was infact running Xen dom0, since I got this output. # ls /proc/xen/capabilities privcmd xenbus xsd_kva xsd_port# cat /proc/xen/capabilitiescontrol_d But my evtchn and gntdev were not loaded. Hence below command returned nothing. I ran commands "modprobe xen-evtchn" and "modprobe gntdev" to manually load those drivers. Then went to /etc/init.d to manually restart xencommons and got this. # ./xencommons restart" Stoppin...
2006 Oct 04
1
can xend be started from a domU
Hi all, I''ve got a few questions : - can xend be started inside a modified guest? - can xend be started inside an unmodified guest? - what would be a simple way from a shell script to detect wether we''re inside a domU or a dom0? (taking into account the fact that the same kernel as reported, say, by "uname -a", could be running in the dom0 and the domUs) Thanks in
2006 Oct 05
0
Re: Programatically checking if we''re in a domU or dom0
...--> domU fi fi Is parsing the output of ps, looking for xend, *once I know I''ve got a modified kernel*, an acceptable way to differentiate, *as a normal user*, between a dom0 and a domU? Oh well, anyway I think I''ll follow Andrew Ross''s advice of checking for control_d in /proc/xen/capabilities. I''ll just wrap the call to my shell script in an SUID executable (seen that "chmod +s" on a shell script has no effect) so that a non-root user can acces that info. thanks all and tell me if you have a cleaner way to do it, Jean ____...
2012 Jun 25
0
Failed to start Xendomains
...n Loaded: loaded (/usr/lib/systemd/system/xendomains.service; enabled) Active: failed (Result: exit-code) since Mon, 25 Jun 2012 13:20:49 +0200; 45s ago Process: 4155 ExecStart=/usr/libexec/xendomains start (code=exited, status=203/EXEC) Process: 4152 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/xendomains.service Regards, Arindam _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2015 Sep 09
0
Report on Xen-4.6rc2 from virt7-xen-46-candidate
...ning) since Tue 2015-09-08 23:13:43 CEST; 13min ago > Process: 757 ExecStartPre=/bin/mkdir -p /var/run/xen (code=exited, > status=0/SUCCESS) > Process: 753 ExecStartPre=/bin/rm -f /var/lib/xenstored/tdb* (code=exited, > status=0/SUCCESS) > Process: 740 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities > (code=exited, status=0/SUCCESS) > Main PID: 760 (xenstored) > CGroup: /system.slice/xenstored.service > ??760 /usr/sbin/xenstored > > Sep 08 23:13:43 xencen7ws.virtfinity.local xenstored[760]: TDB: tdb_open_ex: > could not open file /var/...
2016 Apr 17
5
Bug#821254: systemd[1]: xendomains.service start operation timed out.
Package: xen-utils-common Version: 4.4.1-9+deb8u4 Severity: normal Dear Maintainer, I have a server with a large number of domUs set to auto-start. For the first time I have booted it with all of them needing to start from cold, but the xendomains service only got part way through. syslog showed nothing notable about the domains starting? Apr 16 14:57:45 snaps xendomains[4631]: Starting
2012 Aug 08
3
GPU passthrough with Xen 4.2 on Ubuntu 12.04
...Grub2 has then been setup to automatically boot the xen kernel. I''ve also had to add the option xsave=0 to the xen boot command line to get things to boot On restart everything looks good. "xl list" returns the Dom0 domain only. "cat /proc/xen/capabilities" returns control_d. I''ve created a windows 7 domU without any pci passthrough and successfully installed windows 7 ultimate. The config file looks like: builder=''hvm'' vcpus = 4 memory = 8192 shadow_memory = 48 name = "xenwin7" vif = [ ''bridge=br0'' ] acpi = 1...
2010 Sep 19
3
Bug#597403: xen-utils-common: need to run restorecon in /etc/init.d/xend on SE Linux systems
...s_setup() { [ -e "/proc/xen/capabilities" ] && return 0 log_progress_msg "xenfs" [ -d "/proc/xen" ] || return 1 mount -t xenfs xenfs /proc/xen || return 1 return 0 } capability_check() { [ -e "/proc/xen/capabilities" ] || return 1 grep -q "control_d" /proc/xen/capabilities || return 1 return 0 } xend_start() { log_progress_msg "xend" $XEND status && return 1 $XEND start || return 2 i=0 while [ $i -lt 10 ]; do $XEND status && return 0 || true i=$(($i + 1)) sleep 1 done return 2 } xend_stop() { log_p...
2014 Oct 12
2
Bug#764912: xen-utils-common: needs to apply SE Linux labels after creating directories in start script
...s_setup() { [ -e "/proc/xen/capabilities" ] && return 0 log_progress_msg "xenfs" [ -d "/proc/xen" ] || return 1 mount -t xenfs xenfs /proc/xen || return 1 return 0 } capability_check() { [ -e "/proc/xen/capabilities" ] || return 1 grep -q "control_d" /proc/xen/capabilities || return 1 return 0 } env_setup() { [ -d /run/xen ] && return 0 mkdir -m 700 /run/xen [ -x /sbin/restorecon ] && /sbin/restorecon /run/xen } xend_start() { if [ -z "$XEND" ] || [ "$(basename "$TOOLSTACK")" != xm ]; the...
2010 Oct 27
25
xend does not start
...-control 59 xen/gntdev 60 xen/evtchn 229 fuse 61 ecryptfs 231 snapshot 227 mcelog 62 rfkill 63 vga_arbiter % ll /dev/xen total 0 crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev 3) I am really running dom) % cat /proc/xen/capabilities control_d 4) /var/log/xen shows the following errors: xend.log [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 09:22:42 2010 +0100 21324:b536ebfba183. [2010-10-27 17:32:31 1307] ERROR (SrvDaemon:347) Exception s...
2010 Oct 27
25
xend does not start
...-control 59 xen/gntdev 60 xen/evtchn 229 fuse 61 ecryptfs 231 snapshot 227 mcelog 62 rfkill 63 vga_arbiter % ll /dev/xen total 0 crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev 3) I am really running dom) % cat /proc/xen/capabilities control_d 4) /var/log/xen shows the following errors: xend.log [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 09:22:42 2010 +0100 21324:b536ebfba183. [2010-10-27 17:32:31 1307] ERROR (SrvDaemon:347) Exception s...
2014 Mar 23
1
Bug#742397: xen-utils-common: /etc/init.d/dom0weight is hardcoded to use xm
...s_setup() { [ -e "/proc/xen/capabilities" ] && return 0 log_progress_msg "xenfs" [ -d "/proc/xen" ] || return 1 mount -t xenfs xenfs /proc/xen || return 1 return 0 } capability_check() { [ -e "/proc/xen/capabilities" ] || return 1 grep -q "control_d" /proc/xen/capabilities || return 1 return 0 } env_setup() { [ -d /run/xen ] && return 0 mkdir -m 700 /run/xen } xend_start() { if [ -z "$XEND" ] || [ "$(basename "$TOOLSTACK")" != xm ]; then return 0 fi log_progress_msg "xend" xend_star...
2012 Jun 24
3
Bug#678719: xen-utils-common: please label all created directories for SE Linux
...s_setup() { [ -e "/proc/xen/capabilities" ] && return 0 log_progress_msg "xenfs" [ -d "/proc/xen" ] || return 1 mount -t xenfs xenfs /proc/xen || return 1 return 0 } capability_check() { [ -e "/proc/xen/capabilities" ] || return 1 grep -q "control_d" /proc/xen/capabilities || return 1 return 0 } xend_start() { if [ -z "$XEND" ] || [ "$(basename "$TOOLSTACK")" != xm ]; then return 0 fi log_progress_msg "xend" xend_start_real return $? } xend_stop() { if [ -z "$XEND" ] || [ "$(...
2009 Jan 10
51
Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64
Hi everyone, I am very excited to see that dom0 pvops is finally coming close to working, so I wanted to give it a try. >From the description it was not clear to me which kernel to chose as base for the patches.hg, so I took the latest (that was ~ 2 weeks ago) kernel on git.kernel.org I could find (post-2.6.28 git tip at that point). I managed to more or less apply all of the patches in the