You are not logged in.
I have downloaded and installed Xen 4.5.1.
The services seem to run fine
I just can't boot into Xen, not even with UEFI Shell, although I boot into somewhere, I think it's just the "Arch Linux console".
Because when I run xl list I get this:
$ xl list
xc: error: Could not obtain handle on privileged command interface (13 = Permission denied): Internal error
libxl: error: libxl.c:109:libxl_ctx_alloc: cannot open libxc handle: Permission denied
cannot init xl contextI'm not sure what other info is needed, so I'm showing you the status of my xen services.
$ systemctl status xen-qemu-dom0-disk-backend
● xen-qemu-dom0-disk-backend.service - qemu for xen dom0 disk backend
Loaded: loaded (/usr/lib/systemd/system/xen-qemu-dom0-disk-backend.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2015-10-07 18:52:58 CEST; 9min ago
Process: 369 ExecStartPre=/bin/mkdir -p /run/xen (code=exited, status=0/SUCCESS)
Process: 367 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 375 (qemu-system-i38)
CGroup: /system.slice/xen-qemu-dom0-disk-backend.service
└─375 /usr/lib/xen/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize -monitor /dev/null...
Oct 07 18:52:58 hypervisor systemd[1]: Starting qemu for xen dom0 disk backend...
Oct 07 18:52:58 hypervisor systemd[1]: Started qemu for xen dom0 disk backend.xen-init-dom0.service - xen-init-dom0, initialise Dom0 configuration (xenstore nodes, JSON configuration stub)
Loaded: loaded (/usr/lib/systemd/system/xen-init-dom0.service; enabled; vendor preset: disabled)
Active: active (exited) since Wed 2015-10-07 18:52:58 CEST; 12min ago
Process: 358 ExecStart=/usr/lib/xen/bin/xen-init-dom0 (code=exited, status=0/SUCCESS)
Process: 354 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 358 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/xen-init-dom0.service
Oct 07 18:52:58 hypervisor systemd[1]: Starting xen-init-dom0, initialise Dom0 configuration (xenstore nodes, JSON configuration stub)...
Oct 07 18:52:58 hypervisor xen-init-dom0[358]: Done setting up Dom0
Oct 07 18:52:58 hypervisor systemd[1]: Started xen-init-dom0, initialise Dom0 configuration (xenstore nodes, JSON configuration stub).$ systemctl status xenconsoled
● xenconsoled.service - Xenconsoled - handles logging from guest consoles and hypervisor
Loaded: loaded (/usr/lib/systemd/system/xenconsoled.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2015-10-07 18:52:58 CEST; 8min ago
Process: 361 ExecStartPre=/bin/mkdir -p ${XENCONSOLED_LOG_DIR} (code=exited, status=0/SUCCESS)
Process: 356 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 362 (xenconsoled)
CGroup: /system.slice/xenconsoled.service
└─362 /usr/bin/xenconsoled --pid-file /run/xen/xenconsoled.pid --log=none --log-dir=/var/log/xen/console
Oct 07 18:52:58 hypervisor systemd[1]: Starting Xenconsoled - handles logging from guest consoles and hypervisor...
Oct 07 18:52:58 hypervisor systemd[1]: Started Xenconsoled - handles logging from guest consoles and hypervisor.$ systemctl status xendomains
● xendomains.service - Xendomains - start and stop guests on boot and shutdown
Loaded: loaded (/usr/lib/systemd/system/xendomains.service; enabled; vendor preset: disabled)
Active: active (exited) since Wed 2015-10-07 19:12:09 CEST; 6min ago
Process: 371 ExecStart=/usr/lib/xen/bin/xendomains start (code=exited, status=0/SUCCESS)
Process: 368 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 371 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/xendomains.service
Oct 07 19:12:09 hypervisor systemd[1]: Starting Xendomains - start and stop guests on boot and shutdown...
Oct 07 19:12:09 hypervisor systemd[1]: Started Xendomains - start and stop guests on boot and shutdown.$ systemctl status xenstored
● xenstored.service - The Xen xenstore
Loaded: loaded (/usr/lib/systemd/system/xenstored.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2015-10-07 19:12:09 CEST; 7min ago
Process: 344 ExecStartPre=/bin/mkdir -p /run/xen (code=exited, status=0/SUCCESS)
Process: 339 ExecStartPre=/bin/rm -f /var/lib/xenstored/tdb* (code=exited, status=0/SUCCESS)
Process: 329 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities (code=exited, status=0/SUCCESS)
Main PID: 345 (oxenstored)
CGroup: /system.slice/xenstored.service
└─345 /usr/bin/oxenstored --no-fork
Oct 07 19:12:08 hypervisor systemd[1]: Starting The Xen xenstore...
Oct 07 19:12:09 hypervisor sh[345]: Xen Storage Daemon, version 1.0
Oct 07 19:12:09 hypervisor systemd[1]: Started The Xen xenstore.Output of efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0000
Boot0000* Linux Boot Manager HD(1,GPT,59f9a12e-4532-4255-ac67-49eb299bf631,0x800,0x100000)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0004* UEFI OS HD(1,GPT,59f9a12e-4532-4255-ac67-49eb299bf631,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)Output of efivar -l
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderTimeExecUSec
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderEntrySelected
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderTimeMenuUSec
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderImageIdentifier
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderDevicePartUUID
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderFirmwareType
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderFirmwareInfo
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderInfo
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderTimeInitUSec
2781600e-9df9-4ef8-a5a4-66501ae55c41-ASR_TIMERSMI
1b838190-4625-4ead-abc9-cd5e6af18fe0-HiiDB
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
8be4df61-93ca-11d2-aa0d-00e098032b8c-LangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0604_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_VV
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
79941ecd-ed36-49d0-8124-e4c31ac75cd4-AmdAcpiVar
c811fa38-42c8-4579-a9bb-60e94eddfb34-USB_POINT
01368881-c4ad-4b1d-b631-d57a8ec8db6b-SB_USB_POINT
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevValid
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevNum
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-CaseOpenVsSetup
01368881-c4ad-4b1d-b631-d57a8ec8db6b-OA3MSDMvariable
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AcpiAslPtr
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-GoodNightLed
4bafc2b4-02dc-4104-b236-d6f1b98d9e84-S3SS
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
01368881-c4ad-4b1d-b631-d57a8ec8db6b-RSCInfoAddresss
b1cfc482-4cb2-4cee-9b00-ce2579ec7186-MemoryS3SaveNv
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndications
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0004
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-HddBootDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot_Dev_name
af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e-AcpiGlobalVariable
30b98b95-dfa3-4501-a3ce-e38c186384a0-CpuS3Resume
0a51b41d-de21-43fe-be27-d6dbc9efd104-MemoryS3SaveVolLength
0a51b41d-de21-43fe-be27-d6dbc9efd104-MemoryS3SaveVol
d1405d16-7afc-4695-bb12-41459d3695a2-NetworkStackVar
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASRockTimerSmiData
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
8be4df61-93ca-11d2-aa0d-00e098032b8c-Lang
393c4833-402f-4bd5-bf5a-1f5cd8681444-SbNvramVar
01368881-c4ad-4b1d-b631-d57a8ec8db6b-ModuleVersion
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemRestoreTime
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemRestoreSerialLength
01368881-c4ad-4b1d-b631-d57a8ec8db6b-SpdBypassSerial
01368881-c4ad-4b1d-b631-d57a8ec8db6b-SpdBypassData
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
45cf35f6-0d6e-4d04-856a-0370a5b16f53-DefaultBootOrder
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0604_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_NV
01368881-c4ad-4b1d-b631-d57a8ec8db6b-NoVGA.
a0a93926-bbf0-42a1-b021-19132bc23786-AmdGmmBase
c3a4e49f-485f-4fd6-a2ea-2bc87455ad4b-MemContextNv
c3a4e49f-485f-4fd6-a2ea-2bc87455ad4b-MemContext
c3a4e49f-485f-4fd6-a2ea-2bc87455ad4b-MemChecksum
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemCeil.
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASR_USER_DEF_VER
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASR_USER_DEF_TSE
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Boot_Last_Device
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Q_ASR_QUICKON
43387991-1223-7645-b5bb-aa7675c5c8ef-AMIMemInfo
490216c0-076a-44d3-a536-ace05c90e386-NBMemoryLength
8be4df61-93ca-11d2-aa0d-00e098032b8c-LoadSetupDefault
f3ed95df-828e-41c7-bca0-16c41965a634-TcgInternalSyncFlag
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Setup
01368881-c4ad-4b1d-b631-d57a8ec8db6b-FPDT_Variable
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-SetupCpuFeatures
dde1bc72-d45e-4209-ab85-14462d2f5074-HobRomImage
9d0da369-540b-46f8-85a0-2b5f2c301e15-EfiTime
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MonotonicCounter
8f132913-6907-4192-a227-6cbcd7a50e6c-NetConfigData
8f132913-6907-4192-a227-6cbcd7a50e6c-MacAddrVar
8f132913-6907-4192-a227-6cbcd7a50e6c-StageChk
4c19049f-4137-4dd3-9c10-8b97a83ffdfa-MemoryTypeInformation
4c19049f-4137-4dd3-9c10-8b97a83ffdfa-PreviousMemoryTypeInformation
4b3082a3-80c6-4d7e-9cd0-583917265df1-WriteOnceStatus
c811fa38-42c8-4579-a9bb-60e94eddfb34-AMITSESetup
4599d26f-1a11-49b8-b91f-858745cff824-StdDefaultsOutput of 'cat /boot/xen.cfg'
[global]
default=xen
[xen]
options=console=vga dom0_mem=1024M,max:1024M dom0_max_vcpus=4 loglvl=all norebo$
kernel=vmlinuz-linux root=/dev/sda2 rw
ramdisk=initramfs-linux.imgOutput of 'lsblk'
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
|-sda1 8:1 0 512M 0 part /boot
|-sda2 8:2 0 4G 0 part /
|-sda3 8:3 0 4G 0 part [SWAP]
`-sda4 8:4 0 103.3G 0 part /homeLast edited by folatt (2015-10-09 18:29:16)
Offline
How did you install Xen?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Rebuild binutils
sudo pacman -Sy abs base-devel
sudo abs core/binutils
mkdir -p ~/binutils
sudo cp -r /var/abs/core/binutils /home/xen/
cd ~/binutils
sudo nano ./PKGBUILD
# Added --enable-targets=x86_64-pep after --disable-werror
makepkg -s
sudo pacman -U binutils-x.x.x-x-x86_64-pkg.tar.gz
cd .. && sudo rm -r binutilsEdited /etc/pacman.conf
[multilib]
Include = /etc/pacman.d/mirrorlist
[archlinuxfr]
SigLevel = Never
http://repo.archlinux.fr/$archInstalled xen
sudo pacman -Sy yaourt multilib-devel
yaourt -S xen
sudo cp /etc/xen/efi-xen.cfg /boot/xen.cfg
sudo systemctl enable xen-qemu-dom0-disk-backend.service
sudo systemctl enable xen-init-dom0.service
sudo systemctl enable xenconsoled.service
sudo systemctl enable xendomains.service
yaourt -S xen-docs Last edited by folatt (2015-10-08 05:58:16)
Offline
Message when I boot into xen
Xen 4.5.1 (c/s ) EFI loader
Using configuration file 'xen.cfg'
vmlinuz-linux: 0x000000008a738000-0x000000008ab440c0
initramfs-linux.img: 0x000000008a344000-0x000000008a737dd9
0x0000:0x00:0x1.0x0: ROM: 0xaa00 bytes at 0x9aab7018dmesg
http://pastebin.com/uLUVawtZ
Of dmesg, I see these messages during boot:
[ 0.000000] efi: EFI_MEMMAP is not enabled.
[ 0.000000] esrt: ESRT header is not in the memory map.
[ 14.270676] Ignoring BGRT: invalid status 0 (expected 1)Last edited by folatt (2015-10-08 19:27:55)
Offline
Okay, this was really stupid.
Solved by:
$ sudo xl listI swear, the first time I ran into this error message it was (2 = No such file or directory) and not (13 = Permission denied), so I hadn't noticed the slight change after rebuilding binutils and reinstalling xen.
Last edited by folatt (2015-10-09 18:11:25)
Offline