Skip to content

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

@justinc1

Description

@justinc1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions