[Testing Update] 2022-01-24 - OpenSearch, Kernels, VirtualBox, Systemd, Firefox, Linux-Firmware

You can install linux-firmware-qlogic to get rid of those errors, but unless you actually have qlogic stuff, you shouldn’t be worried about those warnings.

4 Likes

Neither my keyboard nor my trackpad are working after the update.
Used Timeshift from a live USB to restore. Will check logs soon.

I also can reproduce that. Interesting though: These warnings only occur with the fallback initcpios not the regular ones. Shouldn’t the fallbacks include less stuff than the regular initcpios?

1 Like

nope, fallback skips autodetect hook (which only loads detected modules) and proceeds to load all modules, hence why you get these drivers as missing.

1 Like

Thanks a lot for clarification.

Meanwhile, I did some research and found a way to get rid of these warnings altogether: Arch Linux mkinitcpio: Possibly missing firmware for module · GitHub

Of course, this will only work if you are not using any SCSI hardware on your rig (which, probably, will be true for most of us here).

Small advantage: Leaving out all the SCSI drivers in the initcpio build process, will speed things up a little bit when running mkinitcpio -P.

For convenience, here’s a patch doing the changes discussed.

--- /usr/lib/initcpio/install/block	2021-12-03 16:06:50.000000000 +0100
+++ /usr/lib/initcpio/install/block	2022-01-24 12:55:17.792192681 +0100
@@ -5,8 +5,10 @@
 
     map add_module sd_mod? sr_mod? usb_storage? mmc_block? firewire-sbp2? virtio_blk?
 
-    # pata, sata, scsi, nvme
-    for filter in 'scsi/.*ata' '/(block|scsi|fusion|nvme)/' 'ata/[ps]ata_' \
+    # pata, sata, nvme
+    # scsi removed to avoid unnecessary missing firmware warnings
+    # on systems not using scsi
+    for filter in '/(block|fusion|nvme)/' 'ata/[ps]ata_' \
             'ata/(ahci|pdc_adma|ata_piix|ata_generic)'; do
         add_checked_modules "$filter"
     done
@@ -34,8 +36,11 @@
 help() {
     cat <<HELPEOF
 This hook loads the necessary modules for most block devices using pata, sata,
-scsi, firewire, usb, or mmc. Detection will take place at runtime. To minimize
+firewire, usb, or mmc. Detection will take place at runtime. To minimize
 the modules in the image, add the autodetect hook too.
+In this version of the hook, the scsi drivers have been omitted to avoid
+missing firmware warnings when running mkinitcpio -P.
+Hence, DO NOT use this hook if you are using SCSI in your system.
 HELPEOF
 }
 
3 Likes

FYI, older kernels were dropped because of

I have a 1660 and would ;like to know if need to be concerned about this right now, right? Thanks

I had to install the Renesas firmware in my case. → Renesas firmware for xhci_pci
The firmware is in the AUR.

What are your concerns? What is your issue?

in addition to the changes mentioned i also saw, “sd_mod? sr_mod?” being omitted in the SCSI-less configuration.

decided to keep things as is, building fallback-initramfs with less drivers will indeed take slightly less time and will make it smaller. however considering the frequency it takes place and meddling with driver configuration (applies globally) that i have no idea about, I’ll pass on this. great work finding this BTW

Please let me kindly ask you for your assistance. Where was “sd_mod? sr_mod” omitted in the SCSI-less config?
At least, all I wanted to do is remove

'scsi/.*ata'

entirely, as well as

scsi

from the second filter in that line, like below:

for filter in ‘scsi/.*ata’ ‘/(block|scsi|fusion|nvme)/’ ‘ata/[ps]ata_’ \

The line above that saying

map add_module sd_mod? sr_mod? usb_storage? mmc_block? firewire-sbp2? virtio_blk?

will be left unchanged; it is only there for patch to identify its entry point in the block file.

The kernel runs well here - only drawback is that the Nvidia driver 495 is not compatible with it:

In file included from /home/gerd/Downloads/nvidia-495xx/dkms/src/NVIDIA-Linux-x86_64-495.46-no-compat32/kernel/common/inc/nv-procfs.h:26,
                 from /home/gerd/Downloads/nvidia-495xx/dkms/src/NVIDIA-Linux-x86_64-495.46-no-compat32/kernel/nvidia/nv-procfs.c:31:
/home/gerd/Downloads/nvidia-495xx/dkms/src/NVIDIA-Linux-x86_64-495.46-no-compat32/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_open_gpu_info':
/home/gerd/Downloads/nvidia-495xx/dkms/src/NVIDIA-Linux-x86_64-495.46-no-compat32/kernel/common/inc/nv-procfs-utils.h:106:28: error: implicit declaration of function 'PDE' [-Werror=implicit-function-declaration]
  106 | #define NV_PDE_DATA(inode) PDE(inode)->data
      |                            ^~~
/home/gerd/Downloads/nvidia-495xx/dkms/src/NVIDIA-Linux-x86_64-495.46-no-compat32/kernel/common/inc/nv-procfs-utils.h:127:27: note: in expansion of macro 'NV_PDE_DATA'
  127 |                           NV_PDE_DATA(inode));                              \
      |                           ^~~~~~~~~~~

Looks like in this driver, some #includes are missing or set incorrectly.
The Nvidia beta driver 510.39.01 runs with kernel 5.17-rc1, without visible problems so far.

For driver 495.46, I have prepared a tentative patch and uploaded it here: Patch for compiling driver 495.46 for kernel... - 40848cd3
Feel free to test it and kindly provide feedback.

Fix my post. Just wanting to know if any of that affects the 1660 series?

But affected by what? You went digging for old issues and solution, for a problem that is explained, so what? Is your card in the list? Do you have an issue?

I kept seeing the error, “removing jack2 breaks dependency ‘jack2=1.9.20’ required by lib32-jack2” which would result in failure, came here, noticed and followed this subtle hint of a post and all’s well. :ok_hand:t4:

Only this warning appear on my System:

If you don’t have a hardware component that requires this firmware, it can be ignored.

==> WARNING: Possibly missing firmware for module: qla4xxx

And it depends which filesystem you use, on encrypted ones I see this warn.

Your question was already answered earlier in the thread.

1 Like

Hi, everyone,

it seems like nextcloud-client broke with this update:

zsh: segmentation fault (core dumped)  nextcloud
[  105.768843] nextcloud[1263]: segfault at 8 ip 00007feee95a1814 sp 00007ffddb72df08 error 4 in libQt5Core.so.5.15.2[7feee938d000+2c9000]
[  105.768885] audit: type=1701 audit(1643050572.144:85): auid=1000 uid=1000 gid=1000 ses=1 pid=1263 comm="nextcloud" exe="/usr/bin/nextcloud" sig=11 res=1
Here's my system info for reference:
System:
  Kernel: 5.15.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=d362e7cd-46c1-453d-ae76-8ec6ef81bc76 rw quiet
    udev.log_priority=3 "acpi_osi=Windows 2020" acpi_backlight=vendor
  Desktop: sway 1.6.1 info: swaybar dm: N/A Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP ProBook 430 G5 v: N/A serial: <filter>
    Chassis: type: 10 serial: <filter>
  Mobo: HP model: 8377 v: KBC Version 02.41.00 serial: <filter> UEFI: HP
    v: Q85 Ver. 01.18.00 date: 11/26/2021
Battery:
  ID-1: BAT0 charge: 27.1 Wh (100.0%) condition: 27.1/48.0 Wh (56.5%)
    volts: 11.9 min: 11.4 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: Full cycles: 372
CPU:
  Info: model: Intel Core i5-8250U socket: BGA1356 (U3E1) note: check bits: 64
    type: MT MCP arch: Coffee Lake family: 6 model-id: 0x8E (142)
    stepping: 0xA (10) microcode: 0xEC
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1205 high: 2565 min/max: 400/3400 base/boost: 1600/3400
    scaling: driver: intel_pstate governor: powersave volts: 0.7 V
    ext-clock: 100 MHz cores: 1: 800 2: 574 3: 800 4: 2565 5: 2033 6: 800
    7: 800 8: 1268 bogomips: 28808
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  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 generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
    v: kernel bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
  Device-2: Lite-On HP HD Camera type: USB driver: uvcvideo bus-ID: 1-6:2
    chip-ID: 04ca:706e class-ID: 0e02 serial: <filter>
  Display: server: N/A compositor: sway v: 1.6.1 driver: loaded: intel
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.16-1-MANJARO running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.43 running: yes
Network:
  Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
    bus-ID: 01:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:3 chip-ID: 8087:0a2b class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 372.55 GiB used: 16.41 GiB (4.4%)
  ID-1: /dev/mmcblk0 maj-min: 179:0 vendor: SanDisk model: SL16G
    size: 14.84 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> scheme: MBR
  SMART Message: Unknown smartctl error. Unable to generate data.
  ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKKW256G8
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 005C temp: 29.9 C scheme: GPT
  SMART: yes health: PASSED on: 59d 4h cycles: 1,913
    read-units: 1,698,841 [869 GB] written-units: 1,898,221 [971 GB]
  ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD6SB1M-128G-1006
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B sata: 3.1
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 706 temp: 27 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 2y 2d 11h cycles: 4027
Partition:
  ID-1: / raw-size: 238.17 GiB size: 233.43 GiB (98.01%)
    used: 16.33 GiB (7.0%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 77.8 MiB (26.0%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 39.0 C pch: 35.5 C mobo: 0.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 219 Uptime: 1h 33m wakeups: 1 Memory: 14.94 GiB
  used: 2.57 GiB (17.2%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 981 lib: 191 Shell: Zsh (doas) v: 5.8
  default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.12

Have a look at [Testing Update] 2022-01-24 - OpenSearch, Kernels, VirtualBox, Systemd, Firefox, Linux-Firmware - #14 by DAC324 and see if it helps.

On the KDE Breath Dark theme, Bluetooth device text is overlapping. Aside from this no bugs for me.