[Bug 1938588] Re: intel-microcode not included 20.04 initrd

2021-08-19 Thread Chris Iverach-Brereton
Yeah, I knew I'd need to rebuild the initrd to include the microcode vs
just including it in the ISO.  It would be really nice if Ubuntu's non-
live ISOs included the microcode in initrd like the Live ISOs do though.

I'm trying to get a hold of someone from the manufacturer and see if
they can update their firmware to address the problem, but no luck so
far, unfortunately.

In the meantime I'll give FreeDOS a shot and see if that works.  I
already know that doing a full Ubuntu Desktop installation fixes it too,
but that obviously takes a long time.  If FreeDOS works we can probably
use that as a work-around for now until (hopefully) the manufacturer
addresses their board problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938588

Title:
  intel-microcode not included 20.04 initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1938588/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1938588] Re: Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to errata

2021-08-05 Thread Chris Iverach-Brereton
That's disappointing, but understandable.  Is there any chance you could
provide me with a link to a guide to explain how I could edit the ISO on
my own to make a custom ISO for these boards?  I've already got some
customized preseed files anyway, so making further modifications to the
base Ubuntu Server image isn't a big deal.  I just don't know what the
exact process for adding the microcode would be.

My previous efforts using the example script from
https://www.kernel.org/doc/html/latest/x86/microcode.html to add the
microcode to initrd weren't successful.  But I'm not even sure if that's
the correct process, or if there's an easier/better way to do it.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938588

Title:
  Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to
  errata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1938588/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1938588] Re: Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to errata

2021-08-02 Thread Chris Iverach-Brereton
Are there plans to modify the server ISO for 18.04 and 20.04 to address
this limitation?  Or will I need to modify the initrd file myself and
create a customized image for these boards?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938588

Title:
  Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to
  errata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1938588/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1938588] Re: Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to errata

2021-07-30 Thread Chris Iverach-Brereton
If I boot off the ISO in a VM and use alt+Left I can get to a terminal.
`uname -a` reports:

```
Linux (none) 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 
x86_64 GNU/Linux
```

I couldn't find that specific kernel package with the search tool, so
please feel free to change the package as necessary to something more
specific than just "linux"

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938588

Title:
  Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to
  errata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1938588/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1938588] [NEW] Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to errata

2021-07-30 Thread Chris Iverach-Brereton
Public bug reported:

We have several factory-fresh Mitac industrial motherboards
(https://www.mitacmct.com/IndustrialMotherboard_PH13FEI_PH13FEI) that we
are unable to install Ubuntu Server 18.04.5 on.  When we boot from the
installation media we get the following error and the installation hangs
(see attached screenshot, I've transcribed the error below too)

```
[0.00] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update 
microcode to version: 0x52 (or later)
[0.157025] ACPI Exception: AE_BAD_PARAMETER, Could not install PciConfig 
handler for Root Bridge PCI0 (20170831/evrgnini-241)
```

Googling the microcode bug, the normal advice appears to be "boot into
an older, functioning kernel, update the `intel-microcode` package, and
then reboot."  But in this situation there is no older kernel to boot
into; there is no OS installed _at all_ on these boards yet.  I'm
booting from a USB drive loaded with the latest version of Ubuntu Server
18.04.

The only work-around I've found that works so far is to install Ubuntu
Desktop 18.04, which can boot successfully on these boards, perform the
minimal desktop installation, then use the desktop install to update the
`intel-microcode` package, reboot, and then finally install Ubuntu
Server.  This is obviously not convenient needing to install a complete
desktop OS just so I can update the microcode, and then immediately
wiping it to install what I wanted in the first place.

I have not tried Ubuntu 20.x or 21.x; I need to use Ubuntu 18.04 because
these motherboards are being installed into robots that will be running
ROS Melodic (ROS Noetic runs on 20.04, but these robots don't have
Noetic support yet).

I have tried the following to modify the Ubuntu Server ISO, without
success:

1- Adding the microcode to initrd
---

I unpacked the contents of the Ubuntu Server ISO, decompressed
install/initrd.gz, and used the bash script here
https://www.kernel.org/doc/html/latest/x86/microcode.html to add the
intel-microcode firmware to the image.  Then I recompressed initrd.gz,
and rebuild the ISO using xorisso.  This did not have any effect: Ubuntu
Server still encountered the same error when trying to install.


2- Using initrd from Ubuntu Desktop 18.04.5
--

I downloaded & unpacked Ubuntu Desktop 18.04.5 and replaced Ubuntu
Server's install/initrd.gz with Ubuntu Desktop's casper/initrd (updating
txt.cfg and grub.cfg to load the uncompressed initrd instead of the .gz
that Ubuntu Server normally uses).  Then I rebuilt the Ubuntu Server
with xorisso again.

The resulted in the system booting, but immediately dropping into an
initramfs busybox shell, saying boot files were missing.  I assume this
is because Ubuntu Server uses the `boot=casper` flag in order to boot
into the live desktop session.


At this point I'm running out of ideas for how to be able to make Ubuntu 
Server's installation media work with these boards.  Ubuntu Desktop has no 
problem booting on them, so it's obviously something specific to the Ubuntu 
Server image, but I'm not sure exactly what or how to fix it.

If you need any additional information/logs/etc... please let me know
and I'll be happy to provide them.

Thanks!

** Affects: ubuntu
 Importance: Undecided
 Status: New


** Tags: intel-microcode kernel-bug ubuntu-server

** Attachment added: "Photo of the error I get when I try to install Ubuntu 
Server on this motherboard"
   
https://bugs.launchpad.net/bugs/1938588/+attachment/5514915/+files/IMG_20210712_164623.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938588

Title:
  Ubuntu Server 18.04.5 install fails: TSC_DEADLINE disabled due to
  errata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1938588/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs