Re: How to run acrn on my Intel PC?


Geoffroy Van Cutsem
 

Thanks Jacky. We’ll be limited in what we can try as I assume you do not have a serial port on that platform, do you? This would be the most efficient way to debug this as it’s the only output for debug info from the hypervisor at that point.

 

But we can verify and try a couple of things still:

* Make sure you have VT (Intel Virtualization) enabled in your bios

* Disable secure boot in your bios

 

I see your bios is from 2017. I would also recommend to upgrade to the latest version if there is a newer one.

 

The pre-defined config we have is for 16GB of memory, we may need to change that to 8GB and rebuild it. There is some information on how to configure ACRN for a specific platform here: https://projectacrn.github.io/latest/tutorials/acrn_configuration_tool.html (note: we’re in the process of changing that tool but this is valid for the 2.3 release that you are using).

 

Thanks!
Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jacky Lau
Sent: Thursday, January 21, 2021 3:34 PM
To: acrn-users@...
Subject: Re: [acrn-users] How to run acrn on my Intel PC?

 

There are 8G DRAM(4Gx2) installed on my computer.

 

Jacky Lau <i90091e@...> 2021121日周四 下午10:28写道:

Thank you, Geoffroy.

 

I rebuild acrn-hypervisor using "make BOARD=nuc7i7dnb SCENARIO=industry", install to /boot/acrn.

After reboot, the screen show "loading ACRN..." and nothing happens, my computer just hang.

 

I'm using ubuntu 20.04, the kernel version is 5.4.0-64-generic, and I built release_v2.3 branch of acrn-hypervisor and acrn-kernel.

This is part of lshw output on my system:

acrn                 
    description: Desktop Computer
    product: MS-7A69 (Default string)
    vendor: MSI
    version: 1.0
    serial: Default string
    width: 64 bits
    capabilities: smbios-3.0.0 dmi-3.0.0 smp vsyscall32
    configuration: boot=normal chassis=desktop family=Default string sku=Default string uuid=00000000-0000-0000-0000-309C231D2897
  *-core
       description: Motherboard
       product: B250M MORTAR (MS-7A69)
       vendor: MSI
       physical id: 0
       version: 1.0
       serial: H616541189
       slot: Default string
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 2.40
          date: 11/17/2017
          size: 64KiB
          capacity: 16MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: 3c
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: [empty]
             physical id: 0
             slot: ChannelA-DIMM0
        *-bank:1
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)

 

Geoffroy Van Cutsem <geoffroy.vancutsem@...> 2021121日周四 下午9:02写道:

Hi!

 

You may need to “port” it to your hardware. But in general, this is a Kaby Lake processor and we already use that on the NUCs so we may be able to get this to work without too much effort (famous last words… 😉)

 

Can you describe in more details what happens after you’ve followed all the instructions in the Getting Started Guide? Any logs/errors that you see on the screen?

 

One thing I would already do as well is switch to the industrial scenario, that is the one we have focused most of our efforts on over the last year (since the 1.0 release). So I’d recommend building ACRN using “make BOARD=nuc7i7dnb SCENARIO=industry”.

 

Give us more information about your system too, e.g.:
* Memory installed

* ACRN and kernel version you are using

And anything else you believe may be relevant.

 

Thanks,

Geoffroy

 

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jacky Lau
Sent: Thursday, January 21, 2021 1:43 PM
To: acrn-users@...
Subject: [acrn-users] How to run acrn on my Intel PC?

 

Hi, all.

I have a PC which have Intel i3-7100 CPU and MSI B250M MORTAR main board.

I want to run acrn on my PC, I follow acrn Getting Started document, and build the SDC scenario on the nuc7i7dnb (make all BOARD_FILE=$PWD/misc/vm_configs/xmls/board-xmls/nuc7i7dnb.xml SCENARIO_FILE=$PWD/misc/vm_configs/xmls/config-xmls/nuc7i7dnb/sdc.xml), but acrn can't boot to SOS (ubuntu 20.04).

I want to know how to run acrn on my PC? Do I need to port it to my hardware?

 

Regards

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.