Xen to run Manjaro and Raspbian
#1
Sorry if this a dupe of prior questions about hypervisor implementations on Pine hardware.

Has anyone out there installed the Xen hypervisor on the Pinebook Pro then reinstalled Manjaro?

I don't want to reinvent the wheel.  I'd like to be able to run customized images of Raspbian in a virtualizer not an emulator.

Just found be Pinebook Pro and it looks quite promising.  Also am looking to replace Presario running Linux as my alternate to Windoz platform for the household, also, again, the Pinebook Pro looks like a no-brainer.
#2
(04-29-2020, 12:12 PM)marawuti Wrote: Sorry if this a dupe of prior questions about hypervisor implementations on Pine hardware.

Has anyone out there installed the Xen hypervisor on the Pinebook Pro then reinstalled Manjaro?

I don't want to reinvent the wheel.  I'd like to be able to run customized images of Raspbian in a virtualizer not an emulator.

Just found be Pinebook Pro and it looks quite promising.  Also am looking to replace Presario running Linux as my alternate to Windoz platform for the household, also, again, the Pinebook Pro looks like a no-brainer.

Im sure you are not reinventing a wheel here, you can read about aarch64 and XEN here :
https://wiki.xenproject.org/wiki/Xen_ARM...Extensions
and make conclusions on how easy/difficult it would be to port it to the Pinebookpro

To me a relatively easy way to do what you want is through KVM accelerated Qemu
#3
Porting may not be necessary, Xen is in the AUR.
#4
(04-30-2020, 04:27 AM)tophneal Wrote: Porting may not be necessary, Xen is in the AUR.

Are you sure this would work on aarch64 Pinebookpro ?  To me this looks more like a x86 centric port.
#5
I’m not entirely sure, no. But Xen cites itself as having ARM support already, and is in the AUR. If the Xen in the AUR is only x86, it’s still likely possible to build on the PBP by editing the pkgbuild. I’d try it out myself, but I’d have to make another Manjaro SD first.

Read a little more into this on the Arch wiki, and I'm probably wrong about the porting, but it looks like there's a pretty quick way to see if it's possible to run Xen on aarch64:

Quote:To run HVM domU, the physical hardware must have either Intel VT-x or AMD-V (SVM) virtualization support. In order to verify this, run the following command when the Xen hypervisor is not running:

Code:
$ grep -E "(vmx|svm)" --color=always /proc/cpuinfo


If the above command does not produce output, then hardware virtualization support is unavailable and your hardware is unable to run HVM domU (or you are already running the Xen hypervisor).
#6
(04-30-2020, 05:06 AM)tophneal Wrote: I’m not entirely sure, no. But Xen cites itself as having ARM support already, and is in the AUR. If the Xen in the AUR is only x86, it’s still likely possible to build on the PBP by editing the pkgbuild. I’d try it out myself, but I’d have to make another Manjaro SD first.

Read a little more into this on the Arch wiki, and I'm probably wrong about the porting, but it looks like there's a pretty quick way to see if it's possible to run Xen on aarch64:

Quote:To run HVM domU, the physical hardware must have either Intel VT-x or AMD-V (SVM) virtualization support. In order to verify this, run the following command when the Xen hypervisor is not running:

Code:
$ grep -E "(vmx|svm)" --color=always /proc/cpuinfo


If the above command does not produce output, then hardware virtualization support is unavailable and your hardware is unable to run HVM domU (or you are already running the Xen hypervisor).

There are no vmx nor svm flags on the Pinebookpro in /proc/cpuinfo

only
fp asmid evtstrm aes pmull sha1 sha2 crc32 cpuid
#7
(04-30-2020, 08:36 AM)astr0baby Wrote:
(04-30-2020, 05:06 AM)tophneal Wrote: I’m not entirely sure, no. But Xen cites itself as having ARM support already, and is in the AUR. If the Xen in the AUR is only x86, it’s still likely possible to build on the PBP by editing the pkgbuild. I’d try it out myself, but I’d have to make another Manjaro SD first.

Read a little more into this on the Arch wiki, and I'm probably wrong about the porting, but it looks like there's a pretty quick way to see if it's possible to run Xen on aarch64:

Quote:To run HVM domU, the physical hardware must have either Intel VT-x or AMD-V (SVM) virtualization support. In order to verify this, run the following command when the Xen hypervisor is not running:

Code:
$ grep -E "(vmx|svm)" --color=always /proc/cpuinfo


If the above command does not produce output, then hardware virtualization support is unavailable and your hardware is unable to run HVM domU (or you are already running the Xen hypervisor).

There are no vmx nor svm flags on the Pinebookpro in /proc/cpuinfo

only
fp asmid evtstrm aes pmull sha1 sha2 crc32 cpuid

Yeah, once I saw those flag requirements, I knew I was in the wrong. OP will likely need to explorer other options.

EDIT:

I'm in the midst of updating Fedora on the PBP and it appears it already includes Xen. There's also Xen pkgs for aarch64 available here: https://rpmfind.net/linux/rpm2html/search.php?query=xen
Xen on aarch64 may be a possibility, though it might have some restrictions given those required flags.
#8
(04-30-2020, 08:39 AM)tophneal Wrote:
(04-30-2020, 08:36 AM)astr0baby Wrote:
(04-30-2020, 05:06 AM)tophneal Wrote: I’m not entirely sure, no. But Xen cites itself as having ARM support already, and is in the AUR. If the Xen in the AUR is only x86, it’s still likely possible to build on the PBP by editing the pkgbuild. I’d try it out myself, but I’d have to make another Manjaro SD first.

Read a little more into this on the Arch wiki, and I'm probably wrong about the porting, but it looks like there's a pretty quick way to see if it's possible to run Xen on aarch64:

Quote:To run HVM domU, the physical hardware must have either Intel VT-x or AMD-V (SVM) virtualization support. In order to verify this, run the following command when the Xen hypervisor is not running:

Code:
$ grep -E "(vmx|svm)" --color=always /proc/cpuinfo


If the above command does not produce output, then hardware virtualization support is unavailable and your hardware is unable to run HVM domU (or you are already running the Xen hypervisor).

There are no vmx nor svm flags on the Pinebookpro in /proc/cpuinfo

only
fp asmid evtstrm aes pmull sha1 sha2 crc32 cpuid

Yeah, once I saw those flag requirements, I knew I was in the wrong. OP will likely need to explorer other options.

EDIT:

I'm in the midst of updating Fedora on the PBP and it appears it already includes Xen. There's also Xen pkgs for aarch64 available here: https://rpmfind.net/linux/rpm2html/search.php?query=xen
Xen on aarch64 may be a possibility, though it might have some restrictions given those required flags.

Accodring to the Xen development Wiki, the Rockchip 3399 used in PBP is capable of running Xen[/url]. There are also [url=https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/Ibox3399]instructions for a specific board with this chip.
#9
I know you mentioned Xen, and although Xen is neat, if you don't NEED Xen (which based on the context of your post I am not sure why you'd need specifically Xen), you might have better luck with KVM: https://www.linux-kvm.org/page/Processor_support#ARM:


Possibly Related Threads…
Thread Author Replies Views Last Post
  Manjaro i3 Edition not booting mtndew 0 184 08-23-2021, 06:21 PM
Last Post: mtndew
  Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) astr0baby 200 157,761 08-01-2021, 04:30 PM
Last Post: wpeckham
  Manjaro KDE dolphin not showing usb device straightwalker 0 224 07-30-2021, 09:51 AM
Last Post: straightwalker
  printing -- Manjaro ARM KDE plasma straightwalker 8 1,002 07-04-2021, 10:55 PM
Last Post: KC9UDX
  MAC Spoofing failing in manjaro slow_motion 6 2,828 07-02-2021, 10:59 PM
Last Post: user526
Sad Webcam not working in pinebook pro with Manjaro jcarball 2 790 04-28-2021, 03:23 PM
Last Post: jcarball
  Gimp makes stock Manjaro KDE/X11 crash stozi 3 998 04-21-2021, 08:15 AM
Last Post: stozi
  No Sound on Default Manjaro KDE carlosqueso 4 1,174 04-01-2021, 07:17 AM
Last Post: carlosqueso
  No WIFI network discovery in any manjaro installation (but works on fedora) pineitup 1 854 02-05-2021, 09:10 AM
Last Post: BlueJayLinux
  Wifi very slow on PBP Manjaro? WeaseleyRon 2 877 01-21-2021, 10:21 AM
Last Post: moonwalkers

Forum Jump:


Users browsing this thread: 1 Guest(s)