[Pkg-xen-devel] Bug#990717: Bug#990717: xen-system-amd64: Microcode isn't loaded when booting in xen mode

José Luis Fernández Jambrina j.fdez.jambrina at gr.ssr.upm.es
Mon Jul 5 19:42:50 BST 2021


OMG, I supposed it will enough to put a line like:
ucode=scan
As soon as I tried a line like:
GRUB_CMDLINE_XEN="ucode=scan"
The system behaviour changed I still have a couple de lines in 
/var/log/kern.log saying:
> Jul  5 19:38:19 xuxa3 kernel: [   22.487806] VPMU disabled by hypervisor.
> | Jul  5 19:38:19 xuxa3 kernel: [   22.488166] Performance Events: 
> unsupported p6 CPU model 79 no PMU driver, software events only. 
  But this seems another problem because while booting with standard 
kernel I got:
> Jul  5 14:05:17 xuxa3 kernel: [    0.837414] Performance Events: PEBS 
> fmt2+, Broadwell events, full-width counters, Broken BIOS detected, 
> complain to your hardware vendor.
> Jul  5 14:05:17 xuxa3 kernel: [    0.837427] [Firmware Bug]: the BIOS 
> has corrupted hw-PMU resources (MSR 38d is 330)
> Jul  5 14:05:17 xuxa3 kernel: [    0.837504] Intel PMU driver.
> Jul  5 14:05:17 xuxa3 kernel: [    0.837508] ... version:                3
> Jul  5 14:05:17 xuxa3 kernel: [    0.837509] ... bit 
> width:              48
> Jul  5 14:05:17 xuxa3 kernel: [    0.837510] ... generic registers:      8
> Jul  5 14:05:17 xuxa3 kernel: [    0.837511] ... value 
> mask:             0000ffffffffffff
> Jul  5 14:05:17 xuxa3 kernel: [    0.837512] ... max 
> period:             00007fffffffffff
> Jul  5 14:05:17 xuxa3 kernel: [    0.837513] ... fixed-purpose events:   3
> Jul  5 14:05:17 xuxa3 kernel: [    0.837514] ... event 
> mask:             00000007000000ff
I don't know if you could help me with this, but as long I see the 
microcode has been loaded and this bugs can be closed Thanks very 
much,El lun, 05-07-2021 a las 14:35 +0000, Andy Smith escribió:
> > Hello,
> > 
> > On Mon, Jul 05, 2021 at 03:13:17PM +0200, José L. Fernández Jambrina> 
> wrote:
>> > > When booting in Xen mode my system doen't load microcode,
> > 
> > It is my understanding that when booting the hypervisor it is the
> > hypervisor's job to load microcode, and it won't do so unless you
> > have something like:
> > 
> >     ucode=scan
> > 
> > in your hypervisor command line, e.g. by putting:
> > 
> > GRUB_CMDLINE_XEN="ucode=scan"
> > 
> > in /etc/default/grub.
> > 
> > Do you have something like that?
> > 
> > That will cause the hypervisor to scan the other boot files (kernel
> > and initramfs) for microcode to apply, like the kernel itself would
> > otherwise do.
> > 
> > It works for me, anyway.
> > 
> > Cheers,
> > Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20210705/3a417dd9/attachment-0001.htm>


More information about the Pkg-xen-devel mailing list