Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not access information for domid, Does domid exist? #2

Open
justinc1 opened this issue Apr 18, 2018 · 3 comments
Open

Could not access information for domid, Does domid exist? #2

justinc1 opened this issue Apr 18, 2018 · 3 comments

Comments

@justinc1
Copy link

I'm using xen which comes with ubuntu 16.04.

root@or-xen-d0:/var/log/xen# xl list
Name                                        ID   Mem VCPUs	State	Time(s)
Domain-0                                     0 23962     2     r-----    3004.6
Mini-OS                                     51    32     1     r-----    2024.6

root@or-xen-d0:/var/log/xen# uniprof -F 1 -T 1 - 51
Could not access information for domid 51. (Does domid 51 exist?)

strace:

root@or-xen-d0:/var/log/xen# strace uniprof -F 1 -T 1 - 51
...
open("/proc/xen/privcmd", O_RDWR)       = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_LOCKED, -1, 0) = 0x7f9b995c9000
madvise(0x7f9b995c9000, 4096, MADV_DONTFORK) = 0
ioctl(3, _IOC(0, 0x50, 0x00, 0x30), 0x7ffca3114730) = -1 EACCES (Permission denied)
write(2, "Could not access information for"..., 66Could not access information for domid 51. (Does domid 51 exist?)
) = 66
exit_group(-5)                          = ?

What should I do now?

@fajs
Copy link
Contributor

fajs commented Apr 18, 2018

Hi,

I'm currently a bit busy and might take a little bit to get back to you on that, but, in the meantime, can you give me some information about the xen version you're using? Basically the output of xl info.

@justinc1
Copy link
Author

There it is:

root@or-xen-d0:~# xl info
host                   : or-xen-d0
release                : 4.4.0-119-generic
version                : #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018
machine                : x86_64
nr_cpus                : 4
max_cpu_id             : 7
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2494
hw_caps                : bfebfbff:17bae3ff:28100800:00000001:00000001:00000000:00000000:00000100
virt_caps              : hvm
total_memory           : 24525
free_memory            : 258
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 9
xen_extra              : .1
xen_version            : 4.9.1
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          : 6b1a2704e7135d-libxl/arm: Fix build on arm64 + acpi-Tue 6 Mar 2
xen_commandline        : placeholder
cc_compiler            : gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
cc_compile_by          : pbuser
cc_compile_domain      : prymar56.org
cc_compile_date        : Wed Mar  7 11:18:26 PST 2018
build_id               : 7e53899119fe0b132db29170cd4c91bc92c70509
xend_config_format     : 4
root@or-xen-d0:~# 

@justinc1
Copy link
Author

justinc1 commented Apr 20, 2018

One question: if I try to use hand-compiled xen and uniprof - which xen version should I try (just as temp workaround)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants