CHR can run only on x86_64

Hi!

I tried running CHR on x86_64, and it informs me, that it will run only on x86_64, and then proceeds to power-shutdown my x86_64 machine.

Is there a way to use CHR that runs only on x86_64 for something other than informing me that it runs only on x86_64?

Functionality demo here: → https://vimeo.com/159382142

The architecture of your VM is apparently not x86_64, but i386. While compatible, that’s still a different architecture.

What hypervisor are you using? VirtualBox? Qemu? VMware? Something else?

I’m using the baremetal “hypervisor”. Please see video.

Which one? There’s no “the” baremetal hypervisor. The video doesn’t show the hypervisor at all.

To be clear (because you quote the word “hypervisor”, it makes me thing you may have missed this…), CHR is not meant to run on “real” PCs, but is meant to run on virtual machines. A virtual machine is configured and created by a program, and that program is what’s called a “hypervisor”. All of the programs I mentioned above are such hypervisors.

There is such a thing as a “baremetal hypervisor”, which is effectively a hypervisor that runs from the motherboard’s firmware (ala BIOS/UEFI), rather than from an OS, but… Your video shows that your motherboard (which… at this point, I’m thinking is your real motherboard, and not an emulated one) is Supermicro X11SSL-F. That motherboard, while awesome in many ways, has a “normal” BIOS. It is not a baremetal hypervisor.


If you want to run RouterOS on a real PC, you’re (currently) stuck with x86, which yeah, also means you can’t use all that RAM you have.

On the first frame of the video, we can see that CHR is booting directly on a Supermicro motherboard

CHR is not meant to run on baremetal, as boen_robot said, it must be installed in a virtual machine.

you have two choices :

type1 hypervisor (also called baremetal hypervisor) : runs directly on the hardware, for example Vmware ESXi, Xenserver, HyperV Core,…

type2 hypervisor : runs on top of a classic operating system, for example Vmware Workstation, Oracle Virtualbox, HyperV role on Windows Server,…

pick one hypervisor, install it and then install CHR inside a virtual machine

Sarcasm aside, I obviously want to run CHR directly on the machine, without any kind of needless overhead for hypervisors. From what I understand, standard x86 distribution is 32-bit? Is there any performance benefit of running CHR vs. x86 when there are 4x10G interfaces and 8x1G interfaces concerned?

Not really.

What affects performance most is the CPU, whereas the difference between x86 and x86_64 (and inherently, x86 vs. CHR) in general is the higher RAM capacity of x86_64.

The only place where you REALLY need to have a lot of RAM would be if you’re trying to run a virtual machine with RouterOS’s KVM, in order to turn your router into more than “just” a router (e.g. add a web server, FreeRADIUS, a billing system, etc.).

Then again, I’ve never dealt with a 10G interface (just 100M and 1G ones…), so it might turn out you need a little more if you have many of those, and constantly use them to their full potential. From personal experience, with two 100M cards, even a 800Mhz single core Pentium CPU and 512MB DDR400 RAM is more than enough (though again: no KVM in the mix…; also, no “crazy” firewall configurations - just basics like masquerading and whitelisting of key incoming traffic, while blocking everything else).

I don’t remember last time I used 100 mbit interface on any sensible router. Maybe ether6-10 on customer edge’s RB2011. I’ll install x86 and see how it goes. I don’t need memory. I need SMP; not sure if x86 has it. Guess I’ll find out :slight_smile:

I managed to install x86 version, tough it wasn’t easy.

Mikrotik doesn’t detect onboard network interfaces. It probably doesn’t detect the Intel-based 4xSFP adapter. It does detect 2x10G Intel-based adapter tough.

Oh – and it doesn’t seem to detect the KVM “usb” keyboard :wink:

Because of single-core performance issues with ccr1016/1036 and seeing the architecture probably as well 1072 we were forced to try an x86 approach.

As the normal x86 image doesn’t want to boot :

Looking for harddrives…
found harddrive as SATA1
FATAL ERROR: no CD-ROM found
Press ENTER to reboot

We tried running directly a CHR image on the system, we have an MBD-X11SSH-LN4F with E3-1230v5 and off course we are now seeing exactly the same problem

CHR can run only on x86_64 while this system is 64bit capable

How did you manage to install ‘regular’ x86 on it, we’ve tried 2 types of USB keyboards, including setting USB support for Windows7/8 in BIOS but don’t have the keyboard working to continue the installer