Kernel files in the september-release

First; Congratulations to the team for releasing both the x64 and ARM versions! :clap: :clap: :clap:

I noticed there’s only a initramfs-linux.img file in the /boot directory of the september-version in a fresh/new installation of EndeavourOS and no amd-ucode.img or intel-ucode.img anymore. Is this correct?

With kind regards,
Peter.

Welcome aboard!

Welcome to the community !

Thank you!

Thank you! Glad to be part of it!

1 Like

Now as to your question. I found this: https://www.reddit.com/r/archlinux/comments/hdrron/amd_microcode_not_loading/

Did you update bios recently or build a new machine? How old is the system?

2020-09-20_13-242020-09-20_13-27

1 Like

It’s a new laptop (the old one from 2009 broke down), an AMD Ryzen 7.
I tested it too with a new installation of the latest release of Manjaro and that distribution did install amd-ucode.img in the /boot directory.
Just wondering why EndeavourOS did not?

Thank you Joe!
Yes, I do know that specific grub-line. I have a multi-boot setup and always use an Arch-based distribution to update grub whenever there is a kernel-update in a not-Arch-based distribution. That way I know that special grub-line for Arch-based distributions stays correct.

Please return inxi -Fxxxza --no-host If you do not have inxi installed, please install it.
In Terminal do: yay inxi

1 Like
System:    Kernel: 5.8.10-arch1-1 x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/boot/vmlinuz-linux 
           root=UUID=a7f02862-15e2-403f-af21-de9a98acf7fc rw loglevel=3 quiet nowatchdog 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 
           Distro: EndeavourOS 
Machine:   Type: Laptop System: MECHREVO product: S2 Air Series PF4NU1F v: Standard 
           serial: <superuser/root required> 
           Mobo: MECHREVO model: PF5NU1G v: Standard serial: <superuser/root required> 
           UEFI: American Megatrends v: N.1.06MRO03 date: 08/04/2020 
Battery:   ID-1: BAT0 charge: 83.4 Wh condition: 91.6/91.6 Wh (100%) volts: 12.6/11.6 
           model: standard type: Li-ion serial: 00001 status: Discharging 
CPU:       Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600103 
           L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92656 
           Speed: 1399 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 1: 1395 
           2: 1397 3: 1394 4: 1391 5: 1393 6: 1382 7: 1397 8: 1396 9: 1397 10: 1397 11: 1395 
           12: 1391 13: 1397 14: 1393 15: 1397 16: 1393 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Renoir vendor: Tongfang Hongkong Limited driver: amdgpu v: kernel 
           bus ID: 04:00.0 chip ID: 1002:1636 
           Device-2: Chicony HD Webcam type: USB driver: uvcvideo bus ID: 1-3:2 
           chip ID: 04f2:b68b serial: 01.00.00 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           display ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
           diag: 395mm (15.5") 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: AMD vendor: Tongfang Hongkong Limited driver: snd_hda_intel v: kernel 
           bus ID: 04:00.1 chip ID: 1002:1637 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
           vendor: Tongfang Hongkong Limited driver: snd_rn_pci_acp3x v: kernel 
           alternate: snd_pci_acp3x bus ID: 04:00.5 chip ID: 1022:15e2 
           Device-3: AMD Family 17h HD Audio vendor: Tongfang Hongkong Limited 
           driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.8.10-arch1-1 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0 
           chip ID: 8086:2723 
           IF: wlan0 state: down mac: 9e:0a:ad:78:ac:15 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Tongfang Hongkong Limited driver: r8169 v: kernel modules: r8168 port: f000 
           bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: b0:25:aa:3a:fd:95 
Drives:    Local Storage: total: 465.76 GiB used: 22.94 GiB (4.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB 
           block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           serial: S5H7NJ0N703926W rev: 2B2QEXE7 temp: 27 C scheme: GPT 
Partition: ID-1: / raw size: 48.83 GiB size: 47.81 GiB (97.92%) used: 8.44 GiB (17.6%) fs: ext4 
           dev: /dev/nvme0n1p6 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 37.5 C mobo: N/A gpu: amdgpu temp: 37.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 326 Uptime: 23m Memory: 30.85 GiB used: 1.19 GiB (3.8%) Init: systemd 
           v: 246 Compilers: gcc: 10.2.0 Packages: 883 pacman: 878 lib: 229 flatpak: 5 
           Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.06

Can you go back and edit that output with 3 ``` before and after the text? It is easier to read.

1 Like

And pacman says it’s installed:

[peter@LLAMD ~]$ pacman -Ss microcode

core/amd-ucode 20200817.7a30af1-1 [installert]
Microcode update image for AMD CPUs

Should I then re-install it or do I get in trouble then? I know I have to re-install grub again after that
.

Do in terminal:

sudo pacman -Ql amd-ucode

amd-ucode /boot/
amd-ucode /boot/amd-ucode.img
amd-ucode /usr/
amd-ucode /usr/share/
amd-ucode /usr/share/licenses/
amd-ucode /usr/share/licenses/amd-ucode/
amd-ucode /usr/share/licenses/amd-ucode/LICENSE.amd-ucode

But I get this when listing the contents of /boot:
[peter@LLAMD ~]$ ls -lga /boot
totalt 36436
drwxr-xr-x 3 root 4096 19 sep 21:36 .
drwxr-xr-x 18 root 4096 19 sep 15:56 …
drwxr-xr-x 3 root 4096 19 sep 21:36 grub
-rw------- 1 root 22453072 19 sep 23:35 initramfs-linux-fallback.img
-rw------- 1 root 7297792 19 sep 23:34 initramfs-linux.img
-rw-r–r-- 1 root 7541344 19 sep 21:34 vmlinuz-linux

Can you find where amd-ucode is located?

  find / -name amd-ucode.img
1 Like

First of all, Welcome! :smile:

And thanks for the report!
We are investigating this and can confirm that the offline install seems to have this problem. We are fixing it as soon as possible.

Meanwhile, simply installing package amd-ucode and updating grub.cfg is the recommended workaround:

  sudo pacman -S amd-ucode
  sudo grub-mkconfig -o /boot/grub/grub.cfg
  reboot

As a general rule, it is always recommended to make a backup of any personal data you might have on the machine before making any changes.

Also, the online install looks like not having this issue, so currently users are urged to make only online installs.

3 Likes

I tested it on my Ryzen 3800X which is a desktop with AMD RX590 Graphics.

[ricklinux@eos-plasma ~]$ sudo pacman -Ql amd-ucode
[sudo] password for ricklinux: 
amd-ucode /boot/
amd-ucode /boot/amd-ucode.img
amd-ucode /usr/
amd-ucode /usr/share/
amd-ucode /usr/share/licenses/
amd-ucode /usr/share/licenses/amd-ucode/
amd-ucode /usr/share/licenses/amd-ucode/LICENSE.amd-ucode


[ricklinux@eos-plasma ~]$ ls -lga /boot
total 47708
drwxr-xr-x 1 root      160 Sep 19 00:06 .
drwxr-xr-x 1 root      150 Sep  8 22:16 ..
-rw-r--r-- 1 root    40960 Aug 20 00:43 amd-ucode.img
drwx------ 3 root     4096 Dec 31  1969 efi
drwxr-xr-x 1 root      112 Sep 20 12:09 grub
-rw-r--r-- 1 root 31228241 Sep 19 00:06 initramfs-linux-fallback.img
-rw-r--r-- 1 root 10028417 Sep 19 00:06 initramfs-linux.img
-rw-r--r-- 1 root  7541344 Sep 19 00:06 vmlinuz-linux
[ricklinux@eos-plasma ~]$ 

Edit: I am running the Btrfs set up without luks on this one with snap shots using timeshift.

2 Likes

Thank you @manuel for your solution!

I indeed used the offline xfce installation.
Will apply your solution shortly and inform you about the result.

1 Like
elloquin@elloquin-elloquin ~]$ Fresh metal cinnamon
bash: Fresh: command not found
[elloquin@elloquin-elloquin ~]$ sudo pacman -Ql amd-ucode
[sudo] password for elloquin: 
amd-ucode /boot/
amd-ucode /boot/amd-ucode.img
amd-ucode /usr/
amd-ucode /usr/share/
amd-ucode /usr/share/licenses/
amd-ucode /usr/share/licenses/amd-ucode/
amd-ucode /usr/share/licenses/amd-ucode/LICENSE.amd-ucode
[elloquin@elloquin-elloquin ~]$ ls -lga /boot
total 35492
drwxr-xr-x  4 root     4096 Sep 20 08:24 .
drwxr-xr-x 17 root     4096 Sep 20 08:17 ..
-rw-r--r--  1 root    40960 Aug 20 00:43 amd-ucode.img
drwx------  3 root     4096 Dec 31  1969 efi
drwxr-xr-x  6 root     4096 Sep 20 08:24 grub
-rw-------  1 root 21787700 Sep 20 08:24 initramfs-linux-fallback.img
-rw-------  1 root  6948420 Sep 20 08:23 initramfs-linux.img
-rw-r--r--  1 root  7541344 Sep 20 08:17 vmlinuz-linux
[elloquin@elloquin-elloquin ~]$ 
1 Like