<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style id="-x-evo-quote-style" type="text/css">.-x-evo-quoted { -webkit-user-select: none; }</style>
    <style id="-x-evo-a-color-style" type="text/css">a { color: #1b6acb; }</style>
    <style id="-x-evo-a-color-style-visited" type="text/css">a.-x-evo-visited-link { color: #2e3436; }</style>
    <style id="-x-evo-style-a" type="text/css">a { cursor: text; }</style>
    <style id="-x-evo-composer-sheet" media="screen" type="text/css">body {
  font-family: 'Monospace';
  font-size: 11pt;
  font-weight: 400;
  font-style: normal;
 -webkit-line-break: after-white-space;
 -webkit-font-smoothing: antialiased;
}pre,code,.pre {
  font-family: 'Monospace';
  font-size: 11pt;
  font-weight: 400;
  font-style: normal;
}p,pre,code,address {
  margin: 0;
}h1,h2,h3,h4,h5,h6 {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}td:before {
 content: "​";}img {
  height: inherit; 
  width: inherit; 
}span.-x-evo-resizable-wrapper:hover {
  outline: 1px dashed red; 
  resize: both; 
  overflow: hidden; 
  display: inline-block; 
}td:hover {
  outline: 1px dotted red;
}body[data-evo-plain-text] {
  font-family: Monospace; 
}body[data-evo-plain-text] img.-x-evo-smiley-img, body:not([data-evo-plain-text]) span.-x-evo-smiley-text {
  display: none 
}[data-evo-paragraph] {
  white-space: pre-wrap; 
}body[data-evo-plain-text] [data-evo-paragraph] {
  word-wrap: break-word; 
  word-break: break-word; 
}.-x-evo-plaintext-table {
  border-collapse: collapse;
  width: 71ch;
}.-x-evo-plaintext-table td {
  vertical-align: top;
}td > * {
  display : inline-block;
}body[data-evo-plain-text] ul {
  list-style: outside none;
  -webkit-padding-start: 3ch; 
}body[data-evo-plain-text] ul > li {
  list-style-position: outside;
  text-indent: -2ch;
}body[data-evo-plain-text] ul > li::before {
  content: "* ";
}body[data-evo-plain-text] ul.-x-evo-indented {
  -webkit-padding-start: 3ch; 
}body:not([data-evo-plain-text]) ul > li.-x-evo-align-center,ol > li.-x-evo-align-center {
  list-style-position: inside;
}body:not([data-evo-plain-text]) ul > li.-x-evo-align-right, ol > li.-x-evo-align-right {
  list-style-position: inside;
}ol {
  -webkit-padding-start: 6ch; 
}ol.-x-evo-indented {
  -webkit-padding-start: 3ch; 
}.-x-evo-align-left {
  text-align: left; 
}.-x-evo-align-center {
  text-align: center; 
}.-x-evo-align-right {
  text-align: right; 
}ol,ul {
  -webkit-margin-before: 0em; 
  -webkit-margin-after: 0em; 
}blockquote {
  -webkit-margin-before: 0em; 
  -webkit-margin-after: 0em; 
}blockquote[type=cite] {
  padding: 0.0ex 0ex;
  margin: 0ex;
  -webkit-margin-start: 0em; 
  -webkit-margin-end : 0em; 
  color: #737373 !important; 
}.-x-evo-quote-character {
  color: rgb(114,159,207);
}.-x-evo-quote-character+.-x-evo-quote-character{
  color: rgb(173,127,168);
}.-x-evo-quote-character+.-x-evo-quote-character+.-x-evo-quote-character{
  color: rgb(138,226,52);
}.-x-evo-quote-character+.-x-evo-quote-character+.-x-evo-quote-character+.-x-evo-quote-character{
  color: rgb(252,175,62);
}.-x-evo-quote-character+.-x-evo-quote-character+.-x-evo-quote-character+.-x-evo-quote-character+.-x-evo-quote-character{
  color: rgb(233,185,110);
}body:not([data-evo-plain-text]) blockquote[type=cite] {
  padding: 0ch 1ch 0ch 1ch;
  margin: 0ch;
  border-width: 0px 2px 0px 2px;
  border-style: none solid none solid;
  border-radius: 2px;
}body:not([data-evo-plain-text]) blockquote[type=cite] {
  border-color: rgb(114,159,207);
}body:not([data-evo-plain-text]) blockquote[type=cite] blockquote[type=cite] {
  border-color: rgb(173,127,168);
}body:not([data-evo-plain-text]) blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] {
  border-color: rgb(138,226,52);
}body:not([data-evo-plain-text]) blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] {
  border-color: rgb(252,175,62);
}body:not([data-evo-plain-text]) blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] {
  border-color: rgb(233,185,110);
}</style>
  </head>
  <body data-evo-plain-text="" style="text-align: left; direction: ltr;
    word-wrap: break-word; -webkit-nbsp-mode: space; line-break:
    after-white-space;" data-evo-draft="" vlink="#2e3436" text="#2e3436"
    link="#1b6acb" bgcolor="#ffffff">
    <div data-evo-paragraph="" class="" style="width: 71ch;">OMG,
  I supposed it will enough to put a line like:</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;">       ucode=scan</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;">  As soon as I tried a line like:</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="Apple-tab-span" style="white-space:pre">        </span>GRUB_CMDLINE_XEN="ucode=scan"</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;">  The system behaviour changed

  I still have a couple de lines in /var/log/kern.log saying:</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;"><blockquote type="cite"> Jul  5 19:38:19 xuxa3 kernel: [   22.487806] VPMU disabled by hypervisor.
<div data-evo-paragraph="" class="" style="width: 71ch;">    | Jul  5 19:38:19 xuxa3 kernel: [   22.488166] Performance Events: unsupported p6 CPU model 79 no PMU driver, software events only.
</div></blockquote>
</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;"> But this seems another problem because while booting with standard kernel I got:
<blockquote type="cite"><div data-evo-paragraph="" class="" style="width: 71ch;">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.</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837427] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR 38d is 330)</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837504] Intel PMU driver.</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837508] ... version:                3</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837509] ... bit width:              48</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837510] ... generic registers:      8</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837511] ... value mask:             0000ffffffffffff</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837512] ... max period:             00007fffffffffff</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837513] ... fixed-purpose events:   3</div><div data-evo-paragraph="" class="" style="width: 71ch;">Jul  5 14:05:17 xuxa3 kernel: [    0.837514] ... event mask:             00000007000000ff</div></blockquote>
</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;">       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,<span id="-x-evo-selection-start-marker" data-anchor=""></span><span id="-x-evo-selection-end-marker"></span>


El lun, 05-07-2021 a las 14:35 +0000, Andy Smith escribió:</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;">
</div>
    <div data-evo-paragraph="" class="" style="width: 71ch;">
</div>
    <blockquote type="cite">
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>Hello,</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>On Mon, Jul 05, 2021 at 03:13:17PM +0200, José L. Fernández Jambrina<span data-hidden-space=""></span>
<span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>wrote:</div>
      <blockquote type="cite">
        <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span><span class="-x-evo-quote-character">> </span></span>When booting in Xen mode my system doen't load microcode,</div>
      </blockquote>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>It is my understanding that when booting the hypervisor it is the</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>hypervisor's job to load microcode, and it won't do so unless you</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>have something like:</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>    ucode=scan</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>in your hypervisor command line, e.g. by putting:</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>GRUB_CMDLINE_XEN="ucode=scan"</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>in /etc/default/grub.</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>Do you have something like that?</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>That will cause the hypervisor to scan the other boot files (kernel</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>and initramfs) for microcode to apply, like the kernel itself would</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>otherwise do.</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>It works for me, anyway.</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>
</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>Cheers,</div>
      <div data-evo-paragraph="" class="" style="width: 71ch;"><span class="-x-evo-quoted"><span class="-x-evo-quote-character">> </span></span>Andy</div>
    </blockquote>
    <div class="-x-evo-signature-wrapper"><span class="-x-evo-signature"
        id="none"></span></div>
  </body>
</html>