• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Blog
  • Now
    • .plan
  • Resources
    • Tools List
    • Artists
  • Projects
  • Contact

M▵RK

TECHNOGENESIS // ON THE NATURE OF THINGS

Archives for May 2020

May 28, 2020 by Mark Hamilton Leave a Comment

As if I didn’t write enough

I am starting a microblog. John Carmack famously used his .plan file to record his thoughts and plans and progress. I’ll use mine in much the same way.

Made with Ubuntu

Ubuntu 20.04 LTS feels like an experimental OS. They’ve truly lost more than 6 years of progress by switching to GNOME. Dragging a damn file from the file explorer onto my desktop and Ctrl+C/V to copy files are universal PC conventions but they’ve lost these basic features after ditching Unity. I may install a different desktop environment at some point to cure this tedium. The base system has always been solid for me though and that’s what counts.

SP

This coming week I will be working more with Electron and the SandwichPhysics bot. Iterating UI changes and application evolution has been much faster than Qt, which has been my go-to for desktop applications for the past 4 years. The edge in personal efficiency is alluring and in most cases it overrules raw application performance that C++ gives me for the type of work that I do.

More to come.

Filed Under: .plan

May 26, 2020 by Mark Hamilton 9 Comments

Installation issues on Ubuntu 20.04 LTS

Last week I was given a free secondhand HP 17-x051nr, an inexpensive Intel i3-based laptop. For the price of a $30 replacement battery and an SSD I had on-hand I now have a newish laptop to use.

Getting the 20.04 LTS release of Ubuntu running on it had some issues, so here’s a guide to working around these and getting the latest Ubuntu LTS installed.

Symptoms

The installation screen would become unresponsive around the Installation type screen where I would select how I wanted to format my drive. I was able to open a terminal and run top and I noticed that systemd takes up 100% CPU usage. Eventually the whole system would freeze and leaving it overnight to finish installing didn’t help.

Switching over to the Try Ubuntu option wasn’t much better. I would see a TTY screen with flashing error messages that were scrolling too fast to read and it would eventually lock up entirely.

PCIe Bus Error Message
It would hang here forever.
pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
pcieport 0000:00:1c.5:    [ 0] RxErr

This laptop was released in August, 2016, which is not that old for a PC. It should still run a new Ubuntu version just fine. It turns out this is a relatively common issue on laptops.

The Fix

The first step is to change the GRUB boot line for the live Linux boot media. When the GRUB menu opens up press ‘e’ to edit the launch commands.

You’ll want to add pcie_aspm=off following directly after the splash parameter on the linux line.

Once you’re able to boot use the Try Ubuntu option. Maybe the regular installer works for some people but I wasn’t able to get it to run. You should not see any PCI express errors flashing on the screen at this point. Once the desktop environment opens, launch the installer from there. Do not connect to WiFi, and do not install any extra packages because it will cause the installation to fail. (I.e., use the Normal Installation option, but don’t install the third party software and do not download updates. You can do both of these later.)

As a side-note, I would recommend keeping UEFI enabled.

Once you finish the installation you may reboot and remove the installation medium. You’ll be getting PCIe errors again but it will eventually boot. Log in and use your favorite editor to open up /etc/default/grub as admin. We want to change this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"

Save and then update GRUB:

sudo update-grub

I would recommend rebooting after this. Everything should be working smoothly now. Please drop a comment if this helps or if you’re still having issues.

Filed Under: Linux

Primary Sidebar

Get updates

  • Sign up for my newsletter

Recent Posts

  • Headless NVIDIA 4K@120Hz Streaming on Ubuntu 24.04
  • Portfolio in Progress
  • Installation issues on Ubuntu 20.04 LTS
  • Thoughts after a year of daily Japanese practice
  • Added a now page

Archives

  • March 2025
  • May 2023
  • May 2020
  • March 2020
  • November 2019
  • September 2019
  • August 2019
  • August 2017
  • July 2017

Categories

  • .plan
  • Creative
  • Linux
  • Meta
  • Personal

Footer

Thanks for visiting

Say hello,

I’m a designer, software engineer, and CTO living in
North Dakota.

Contact form
Tools I use
Github
Instagram

Page Last Modified: May 26, 2020 • © 2013–2025 • Log in

 

Loading Comments...