[coreboot] Lenovo G505s AMD Hardware Virtualization

awokd awokd at elude.in
Tue Nov 28 13:48:58 CET 2017


Have been struggling for the past couple months to get Xen hardware
virtualization working on this Corebooted laptop. Paravirtualized VMs
work, but whenever I start a fully virtualized VM (HVM) it hard freezes
the entire system- no keyboard or mouse response. No related output is
showing in any logs, maybe because it's freezing too fast.

I'm not entirely sure if this is a Coreboot or Xen issue so I'm trying to
rule out Coreboot. Would anyone on the list be able to provide a known
good G505s Coreboot .config that is working with fully hardware
virtualized VMs, preferably under Xen 4.8.2 or another recent version? KVM
or ESXi might be OK too; should also let me narrow down the problem
domain.

One odd thing found from boot logs is:

[    6.744165] microcode: CPU0: patch_level=0x00000000
[    6.744205] microcode: CPU1: patch_level=0x00000000
[    6.744220] microcode: CPU2: patch_level=0x00000000
[    6.744227] microcode: CPU3: patch_level=0x00000000
[    6.744290] microcode: Microcode Update Driver: v2.01

and the cpu_microcode_blob is 0 bytes even though I set the menuconfig
options:

CONFIG_USE_BLOBS=y
CONFIG_CPU_MICROCODE_CBFS_GENERATE=y

Name                           Offset     Type           Size   Comp
cbfs master header             0x0        cbfs header        32 none
cpu_microcode_blob.bin         0x80       microcode           0 none
fallback/ramstage              0x100      stage          129898 none
payload_revision               0x1fcc0    raw               239 none
(empty)                        0x1fe00    null              152 none
apu/amdfw                      0x1fec0    raw            131072 none
fallback/romstage              0x3ff00    stage          320844 none
config                         0x8e4c0    raw               528 none
revision                       0x8e740    raw               568 none
cmos_layout.bin                0x8e9c0    cmos_layout      1164 none
pci1002,990b.rom               0x8eec0    optionrom       61952 none
fallback/postcar               0x9e140    stage           13268 none
fallback/dsdt.aml              0xa1580    raw              9435 none
img/coreinfo                   0xa3ac0    payload        102264 none
img/nvramcui                   0xbca80    payload        141596 none
fallback/payload               0xdf400    payload         63860 none
payload_config                 0xeedc0    raw              1563 none
img/memtest                    0xef440    payload        180268 none
(empty)                        0x11b4c0   null          2968024 none
s3nv                           0x3efec0   raw             32768 none
(empty)                        0x3f7f00   null            31192 none
bootblock                      0x3ff900   bootblock        1424 none

Is that normal for an A10-5750M APU? This is the first machine I've
attempted to Coreboot so maybe I'm missing something obvious.





More information about the coreboot mailing list