You are not logged in.

#26 2024-03-30 11:24:35

cedricmc
Member
From: Madrid, Spain
Registered: 2011-11-20
Posts: 51

Re: [SOLVED] mkinitcpio exits with code 1 after upgrade from 36 to 37

Thread title says "solved" but bug regression is still present in mkinitcpio 38.1-1, which still returns an error output when non-error warnings are present.

(7/9) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-rpi.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k 6.6.23-1-rpi -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: '6.6.23-1-rpi'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
==> WARNING: architecture 'armv7l' not supported, skipping hook
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error:  command failed to execute correctly

Offline

#28 2024-04-03 08:27:41

shelter
Member
Registered: 2024-02-28
Posts: 2

Re: [SOLVED] mkinitcpio exits with code 1 after upgrade from 36 to 37

seth wrote:

Empty loop?
Try to wrap the entire function

find_module_from_symbol() {
set -x
…
set +x
}

Here's what you requested.

++ directories=('=drivers/platform')
++ local moduledir symbols=drm_privacy_screen_register directories
++ for dir in "${directories[@]}"
++ case "${dir::1}" in
++ moduledir=/lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform
++ read -r -d '' mod
+++ LC_ALL=C.UTF-8
+++ find /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform -name '*.ko*' -print0
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/inspur_platform_profile.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/classmate-laptop.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/meraki-mx100.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/nvidia-wmi-ec-backlight.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/asus-wireless.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel_scu_pltdrv.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel_scu_ipcutil.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-smbios.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-rbtn.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-wmi-ddv.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-wmi-descriptor.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dcdbas.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/alienware-wmi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-wmi-led.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-laptop.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-wmi-sysman/dell-wmi-sysman.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-wmi-aio.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-smo8800.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell_rbu.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/dell/dell-wmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/asus-wmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/gigabyte-wmi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/hp/hp_accel.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/hp/hp-bioscfg/hp-bioscfg.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/hp/hp-wmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/msi-ec.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/sel3350-platform.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/wmi-bmof.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/uv_sysfs.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/winmate-fm07-keys.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/gpd-pocket-fan.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/samsung-q10.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/pmt/pmt_crashlog.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/pmt/pmt_telemetry.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/pmt/pmt_class.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/telemetry/intel_telemetry_pltdrv.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/telemetry/intel_telemetry_core.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/telemetry/intel_telemetry_debugfs.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_crystal_cove_charger.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/int3472/intel_skl_int3472_discrete.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/int3472/intel_skl_int3472_tps68470.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_punit_ipc.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_sdsi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/pmc/intel_pmc_core.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/pmc/intel_pmc_core_pltdrv.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel-hid.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_bxtwc_tmu.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/ishtp_eclite.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/speed_select_if/isst_if_mmio.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/speed_select_if/isst_if_common.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/speed_select_if/isst_tpmi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel-vbtn.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_mrfld_pwrbtn.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_chtwc_int33fe.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_int0002_vgpio.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/uncore-frequency/intel-uncore-frequency.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/uncore-frequency/intel-uncore-frequency-tpmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/uncore-frequency/intel-uncore-frequency-common.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel-smartconnect.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/wmi/intel-wmi-thunderbolt.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/wmi/intel-wmi-sbl-fw-update.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/atomisp2/intel_atomisp2_pm.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/atomisp2/intel_atomisp2_led.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_chtdc_ti_pwrbtn.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_oaktrail.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/int1092/intel_sar.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_bytcrc_pwrsrc.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_vsec_tpmi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel-rst.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/intel_vsec.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel/ifs/intel_ifs.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/barco-p50-gpio.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/eeepc-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/think-lmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/siemens/simatic-ipc-batt.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/siemens/simatic-ipc-batt-f7188x.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/siemens/simatic-ipc-batt-elkhartlake.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/siemens/simatic-ipc.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/siemens/simatic-ipc-batt-apollolake.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/system76_acpi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/panasonic-laptop.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/fujitsu-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/lenovo-ymc.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/amd/amd_hsmp.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/amd/pmf/amd-pmf.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/amd/pmc/amd-pmc.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/apple-gmux.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/wireless-hotkey.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/serial-multi-instantiate.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/asus-laptop.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/fujitsu-tablet.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/huawei-wmi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/compal-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/mxm-wmi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/acerhdf.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/xiaomi-wmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/firmware_attributes_class.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/msi-laptop.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/adv_swbutton.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/lg-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/sony-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/wmi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/msi-wmi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/toshiba_haps.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/acer-wmi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/asus-tf103c-dock.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/intel_ips.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/amilo-rfkill.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/toshiba_bluetooth.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/asus-nb-wmi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/x86-android-tablets/x86-android-tablets.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/eeepc-wmi.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/hdaps.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/topstar-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/ibm_rtl.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/silicom-platform.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/pcengines-apuv2.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/mlx-platform.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/toshiba_acpi.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/thinkpad_acpi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/lenovo-yogabook.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/acer-wireless.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/samsung-laptop.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/ideapad-laptop.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/wilco_ec/wilco_ec_events.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/wilco_ec/wilco_ec_telem.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/wilco_ec/wilco_ec.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/wilco_ec/wilco_ec_debugfs.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_sysfs.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_kbd_led_backlight.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_ishtp.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/chromeos_laptop.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_lpcs.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_chardev.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_typec_switch.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/chromeos_pstore.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_i2c.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_debugfs.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_lightbar.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/chromeos_tbmc.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_spi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros-ec-typec.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/chromeos_acpi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros-ec-sensorhub.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/chromeos_privacy_screen.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_ec_uart.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_usbpd_notify.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_hps_i2c.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/cros_usbpd_logger.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/mellanox/mlxreg-lc.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/mellanox/mlxreg-hotplug.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/mellanox/nvsw-sn2201.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/mellanox/mlxreg-io.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface3_power.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_aggregator_tabletsw.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_aggregator_registry.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_gpe.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface3-wmi.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_platform_profile.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_aggregator_cdev.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_aggregator_hub.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/aggregator/surface_aggregator.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_acpi_notify.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_dtx.ko
++ case "$1" in
++ grep -Eq '^(drm_privacy_screen_register)'
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surface_hotplug.ko
++ grep -Eq '^(drm_privacy_screen_register)'
++ case "$1" in
+++ ((  0  ))
++ read -r -d '' mod
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/surface/surfacepro3_button.ko
++ case "$1" in
+++ ((  0  ))
++ grep -Eq '^(drm_privacy_screen_register)'
++ read -r -d '' mod
++ set +x
 

Offline

#29 2024-04-03 16:19:42

seth
Member
Registered: 2012-09-03
Posts: 51,081

Re: [SOLVED] mkinitcpio exits with code 1 after upgrade from 36 to 37

++ directories=('=drivers/platform')
…
+++ find /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform -name '*.ko*' -print0
…
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/x86/thinkpad_acpi.ko
…
++ decomp_to_stdout /lib/modules/6.8.1-x64v3-xanmod1/kernel/drivers/platform/chrome/chromeos_privacy_screen.ko

It scans 170 modules for "drm_privacy_screen_register" but doesn't match in any because that would be in drivers/gpu/drm - ie. it searches the wrong path (only)

Offline

#30 2024-04-03 18:25:51

jb.1234abcd
Member
Registered: 2013-10-14
Posts: 45

Re: [SOLVED] mkinitcpio exits with code 1 after upgrade from 36 to 37

I discovered what seems to be a related problem.
https://bbs.archlinux.org/viewtopic.php?id=294545

Offline

#31 2024-04-03 22:08:37

seth
Member
Registered: 2012-09-03
Posts: 51,081

Re: [SOLVED] mkinitcpio exits with code 1 after upgrade from 36 to 37

What kind of kernel is '/boot/initramfs-6.8.3.img' ?

Since the parameter is wrong or wrongly applied it would be good  to instead of the "set -x" just have

find_module_from_symbol() {
echo $@
…
}

in https://gitlab.archlinux.org/archlinux/ … ions#L1165
Your local copy is in /usr/lib/initcpio/functions

Offline

Board footer

Powered by FluxBB