Skip to content

Instantly share code, notes, and snippets.

@Chester-Gillon
Chester-Gillon / Secure_boot_SRAT_Revocations.md
Last active September 1, 2024 21:06
Secure boot SRAT Revocations

1. PC dual booting Windows 11 and AlmaLinux 8.10

A HP Z4 G4 had:

  • Secure boot enabled
  • Windows 11 home installed on a NVMe
  • AlmaLinux 8.10 installed on a SATA HDD
  • Grub from AlmaLinux used, where defaults to booting AlmaLinux but can select the Windows boot manager from the grub menu
  • A write protected SD card to test booting Linux live images, selected by manually entering the BIOS boot menu

1.1. AlmaLinux 9.3 live image stopped booting

@Chester-Gillon
Chester-Gillon / AlmaLinux_9_install_on_HP_Pavilion_590-p0053na.md
Last active August 10, 2024 18:24
AlmaLinux 9 install on HP Pavilion 590-p0053na

0. Introduction

Describes notes about installing and configuring AlmaLinux 9 on a HP Pavilion 590-p0053na desktop.

The Processor is a AMD Ryzen 5 2400G with Radeon Vega Graphics, 3600 Mhz, 4 Core(s), 8 Logical Processor(s)

1. Initial install from AlmaLinux 9.3 live USB image

The initial state of the HP Pavilion desktop was:

  1. Windows 11 Home installed on a 256 GB SSD M.2
@Chester-Gillon
Chester-Gillon / HP_Pavilion_590-p0053na_BIOS_settings.md
Last active August 4, 2024 17:30
HP Pavilion 590-p0053na BIOS settings

0. Introduction

Some notes about BIOS settings for a HP Pavilion 590-p0053na

This for the following BIOS version, as reported from a user PowerShell in Windows 11 home:

PS C:\Users\mr_halfword> wmic bios get smbiosbiosversion
SMBIOSBIOSVersion
F.59
@Chester-Gillon
Chester-Gillon / Notes_about_XCKU5P_PCIE_3.0_QSFP_X2.md
Last active August 26, 2024 09:48
Notes about XCKU5P PCIE 3.0 QSFP X2
@Chester-Gillon
Chester-Gillon / AlmaLinux_old_SCSI_support.md
Last active June 22, 2024 20:47
AlmaLinux old SCSI support

0. Introduction

This contains notes about trying to use some old SCSI hardware with AlmaLinux.

Found an old Adaptec AHA-2940AU 5 V PCI card. This has an external 50-pin high-density SE SCSI connector.

Inserted the AHA-2940AU in a Intel® Desktop Board DH67BL with a Intel(R) Core(TM) i5-2310 CPU. The card was shown as present by the BIOS. The option ROM reports version 1.34.2 from 1998.

1. AlmaLinux 8.10

@Chester-Gillon
Chester-Gillon / Linux_driver_support_with_IOMMU_enabled.md
Last active June 22, 2024 22:36
Linux driver support with IOMMU enabled

0. Introduction

Some notes about Linux driver support with the IOMMU enabled

1. HP Z640

A HP Z640 with:

  • Dual Intel Xeon E5-2620 v3 processors
  • Secure boot enabled
@Chester-Gillon
Chester-Gillon / Windows_11_install_on_HP_Z640.md
Last active September 15, 2024 22:19
Windows 11 install on HP Z640

0. Introduction

This looks at installing Windows 11 on a HP Z640.

1. Starting point

The PC had Windows 10 Pro Version 22H2 (OS Build 19045.4474) installed.

Updated the BIOS to the latest version M60 v02.62 01/04/2024 and enabled secure boot.

@Chester-Gillon
Chester-Gillon / HP_Z4_G4_not_booting_with_after_update_to_AlmaLinux_8_10.md
Last active July 6, 2024 07:30
HP Z4 G4 not booting with after update to AlmaLinux 8.10

1. HP Z4 G4 not booting with after update to AlmaLinux 8.10

A HP Z4 G4 using a Xeon(R) W-2123 CPU was updated from AlmaLinux 8.9 to AlmaLinux 8.10, which updated the Kernel version. Following the update the boot hung. After the GRUB menu timeout when when to boot the default Kernel just got a black screen with a non-flashing text cursor at the top left of the screen. Didn't respond to the keyboard, so had to hold the the power button to force a power off. Hung in the same way in multiple boot attempts.

Secure boot is enabled.

2. Initial work-around to boot previous Kernel by default

As an initial work-around in the GRUB menu selected the previous Kernel version and when had booted used grubby to change the default Kernel to the previous version.

@Chester-Gillon
Chester-Gillon / Debug_CMake_CHECK_SYMBOL_EXISTS_not_finding_function.md
Created May 26, 2024 19:35
Debug CMake CHECK_SYMBOL_EXISTS not finding function

With CMake 3.26.5 attempted to add the following to check for the pci_get_string_property function being supprted in the pciutils-devel package:

CHECK_SYMBOL_EXISTS ("pci_get_string_property" pci/pci.h HAVE_PCI_GET_STRING_PROPERTY)

With pciutils-devel-3.7.0-3.el8.x86_64 installed on AlmaLinux 8.9 the function exists, but CMake reported:

-- Looking for pci_get_string_property
-- Looking for pci_get_string_property - not found

The stack overflow CMake check_symbol_exists doesn't work because of missing -pthread explains CMake tries to compile a program to check the symbol exists, which can fail due to an unresolved symbol from the linker for a test program.

@Chester-Gillon
Chester-Gillon / intel_oneAPI_base_toolkit.md
Created May 19, 2024 21:12
intel oneAPI base toolkit

From Get the Intel® oneAPI Base Toolkit got the offline installer for Linux:

mr_halfword@Haswell-Ubuntu:~/Downloads$ wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/fdc7a2bc-b7a8-47eb-8876-de6201297144/l_BaseKit_p_2024.1.0.596_offline.sh
--2024-05-19 20:50:48--  https://registrationcenter-download.intel.com/akdlm/IRC_NAS/fdc7a2bc-b7a8-47eb-8876-de6201297144/l_BaseKit_p_2024.1.0.596_offline.sh
Resolving registrationcenter-download.intel.com (registrationcenter-download.intel.com)... 213.123.242.35, 213.123.242.32, 213.123.242.25, ...
Connecting to registrationcenter-download.intel.com (registrationcenter-download.intel.com)|213.123.242.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2847229013 (2.7G) [application/octet-stream]
Saving to: ‘l_BaseKit_p_2024.1.0.596_offline.sh’