-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.9.3-76060903 breaks various modules (especially dm_crypt) #3383
Comments
Looks like it has to do with the proprietary AMD VGA driver somehow. |
Indeed. This is the problem: amdgpu-install --usecase=rocm depmod... amdgpu-install --usecase=graphics or dkms didn't work either. so I went full uninstall of the proprietary AMD driver amdgpu-install --uninstall triggered dkms rebuild but still dm_crypt is missing in 6.9.3-76060903-generic, also tried kernel reinstall. Still dm_crypt isn't loaded. I've added it to /etc/modules but: [ 59.557174] BPF: type_id=66 bits_offset=904 |
i'm getting similar results with an nvidia gpu. i'm running an oryx 10p, so unless it's being caused by a misconfiguration on my part I have no clue how system76 could have missed this, unless they don't test on devices older than a year or two. more info about that's over here: geoffreybennett/linux-fcp#25 |
it appears to be something to do with this. whoever's in charge of maintaining the kernel ought to enable CONFIG_MODULE_ALLOW_BTF_MISMATCH so that people's driver's aren't constantly failing to load. i think having people's computers not break when a stiff breeze comes sailing in from the repos outweighs any security benefits disabling that option could have. |
Something has changed after the update I've done this morning. firmware has been auto-downgraded by apt. dm_crypt now working, I can at least login now with 6.9.3. Still some other modules are broken. Wifi, bluetooth are still not working. dmesg [ 0.000000] Linux version 6.9.3-76060903-generic (jenkins@warp.pop-os.org) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1 lsmod uid=0 uname -a |
There was a new kernel upgrade today
But still the same problem. Interestingly it only surfaces on my AMD thinkpad T14s Gen3, my Boss Intel thinkpad works fine with 6.9.3. |
modprobe dm_crypt
[ 545.478686] BPF: type_id=66 bits_offset=904
[ 545.479277] BPF:
[ 545.479718] BPF: Invalid name
[ 545.480232] BPF:
[ 545.480666] failed to validate module [dm_crypt] BTF: -22
dmesg:
[ 57.422210] BPF:
[ 57.422213] BPF: Invalid name
[ 57.422214] BPF:
[ 57.422217] failed to validate module [dm_crypt] BTF: -22
[ 57.453157] BPF: type_id=66 bits_offset=904
[ 57.453163] BPF:
[ 57.453165] BPF: Invalid name
[ 57.453166] BPF:
[ 57.453168] failed to validate module [dm_crypt] BTF: -22
[ 57.501106] BPF: type_id=66 bits_offset=904
[ 57.501112] BPF:
[ 57.501114] BPF: Invalid name
[ 57.501115] BPF:
[ 57.501118] failed to validate module [dm_crypt] BTF: -22
[ 57.523405] device-mapper: table: 252:0: crypt: unknown target type
[ 57.523416] device-mapper: ioctl: error adding target to table
[ 57.526646] BPF: type_id=66 bits_offset=904
[ 57.526651] BPF:
[ 57.526655] BPF: Invalid name
[ 57.526658] BPF:
[ 57.526662] failed to validate module [dm_crypt] BTF: -22
[ 57.579027] BPF: type_id=66 bits_offset=904
[ 57.579033] BPF:
[ 57.579035] BPF: Invalid name
[ 57.579036] BPF:
[ 57.579039] failed to validate module [dm_crypt] BTF: -22
also various other modules fail:
[ 0.377389] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[ 0.508579] pci 0000:04:03.0: bridge window [io size 0x1000]: failed to assign
[ 0.508590] pci 0000:04:01.0: bridge window [io size 0x1000]: failed to assign
[ 5.797519] hub 6-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 9.351265] system76_acpi: module verification failed: signature and/or required key missing - tainting kernel
[ 10.828169] failed to validate module [autofs4] BTF: -22
[ 10.868679] systemd[1]: Failed to insert module 'autofs4': Invalid argument
[ 10.872388] failed to validate module [x_tables] BTF: -22
[ 11.218102] failed to validate module [parport] BTF: -22
[ 11.218104] failed to validate module [sunrpc] BTF: -22
[ 11.278370] failed to validate module [parport] BTF: -22
[ 11.314246] failed to validate module [parport] BTF: -22
[ 11.359239] failed to validate module [msr] BTF: -22
[ 11.387069] failed to validate module [acpi_tad] BTF: -22
[ 11.387571] failed to validate module [amd_pmc] BTF: -22
[ 11.389493] failed to validate module [fjes] BTF: -22
[ 11.389588] failed to validate module [kyber_iosched] BTF: -22
[ 11.391405] failed to validate module [nfc] BTF: -22
[ 11.466901] failed to validate module [kyber_iosched] BTF: -22
[ 11.479092] failed to validate module [ecc] BTF: -22
[ 11.479841] failed to validate module [snd_pci_acp3x] BTF: -22
[ 11.480901] failed to validate module [wmi_bmof] BTF: -22
[ 11.480907] failed to validate module [mc] BTF: -22
[ 11.481060] failed to validate module [k10temp] BTF: -22
[ 11.482934] failed to validate module [nfc] BTF: -22
[ 11.483005] failed to validate module [acpi_tad] BTF: -22
[ 11.483155] failed to validate module [amd_pmc] BTF: -22
[ 11.484502] failed to validate module [mhi] BTF: -22
[ 11.487406] failed to validate module [ccp] BTF: -22
[ 11.488051] failed to validate module [hid_multitouch] BTF: -22
[ 11.492584] failed to validate module [think_lmi] BTF: -22
[ 11.492743] failed to validate module [snd] BTF: -22
[ 11.494650] failed to validate module [sch_fq_codel] BTF: -22
[ 11.496066] failed to validate module [joydev] BTF: -22
[ 11.739808] failed to validate module [snd_soc_acpi] BTF: -22
[ 11.740090] failed to validate module [rapl] BTF: -22
[ 11.740373] failed to validate module [ecc] BTF: -22
[ 11.740428] failed to validate module [joydev] BTF: -22
[ 11.742035] failed to validate module [snd] BTF: -22
[ 11.847550] failed to validate module [kvm] BTF: -22
[ 11.893399] failed to validate module [snd_soc_acpi] BTF: -22
[ 11.894110] failed to validate module [parport] BTF: -22
[ 11.894230] failed to validate module [joydev] BTF: -22
[ 11.894304] failed to validate module [edac_mce_amd] BTF: -22
[ 11.895574] failed to validate module [intel_rapl_common] BTF: -22
[ 11.918194] failed to validate module [sunrpc] BTF: -22
[ 12.017295] failed to validate module [intel_rapl_common] BTF: -22
[ 12.017700] failed to validate module [edac_mce_amd] BTF: -22
[ 12.018210] failed to validate module [parport] BTF: -22
[ 12.018529] failed to validate module [amd_atl] BTF: -22
[ 12.019470] failed to validate module [snd] BTF: -22
[ 12.092108] failed to validate module [snd_soc_acpi] BTF: -22
[ 12.092312] failed to validate module [amd_atl] BTF: -22
[ 12.092432] failed to validate module [intel_rapl_common] BTF: -22
[ 12.093188] failed to validate module [parport] BTF: -22
[ 12.146129] failed to validate module [msr] BTF: -22
[ 12.146722] failed to validate module [amd_atl] BTF: -22
[ 12.151553] failed to validate module [snd] BTF: -22
[ 12.228868] failed to validate module [kyber_iosched] BTF: -22
[ 12.234784] failed to validate module [snd] BTF: -22
[ 12.287280] failed to validate module [snd] BTF: -22
[ 12.333033] failed to validate module [snd] BTF: -22
[ 12.386033] failed to validate module [snd] BTF: -22
[ 15.178015] failed to validate module [mii] BTF: -22
[ 15.218292] failed to validate module [mii] BTF: -22
[ 15.243049] failed to validate module [mii] BTF: -22
[ 15.281827] failed to validate module [mii] BTF: -22
[ 15.653408] failed to validate module [mc] BTF: -22
[ 15.664306] failed to validate module [snd] BTF: -22
[ 19.072219] failed to validate module [dm_crypt] BTF: -22
[ 19.114214] failed to validate module [dm_crypt] BTF: -22
[ 19.156083] failed to validate module [dm_crypt] BTF: -22
[ 19.213920] failed to validate module [dm_crypt] BTF: -22
[ 19.265483] failed to validate module [dm_crypt] BTF: -22
[ 19.405525] failed to validate module [zram] BTF: -22
[ 19.641918] pci 0000:03:00.0: bridge window [io size 0x5000]: failed to assign
[ 19.641967] pci 0000:04:00.0: bridge window [io size 0x1000]: failed to assign
[ 19.641974] pci 0000:04:01.0: bridge window [io size 0x1000]: failed to assign
[ 19.641980] pci 0000:04:02.0: bridge window [io size 0x1000]: failed to assign
[ 19.641987] pci 0000:04:03.0: bridge window [io size 0x1000]: failed to assign
[ 19.641993] pci 0000:04:04.0: bridge window [io size 0x1000]: failed to assign
[ 20.520584] failed to validate module [snd] BTF: -22
[ 20.573773] failed to validate module [snd] BTF: -22
[ 20.622256] failed to validate module [snd] BTF: -22
[ 20.673532] failed to validate module [snd] BTF: -22
[ 31.707779] failed to validate module [dm_crypt] BTF: -22
[ 31.738036] failed to validate module [dm_crypt] BTF: -22
[ 31.783843] failed to validate module [dm_crypt] BTF: -22
[ 31.842244] failed to validate module [dm_crypt] BTF: -22
[ 31.893032] failed to validate module [dm_crypt] BTF: -22
[ 46.437924] failed to validate module [dm_crypt] BTF: -22
[ 46.493957] failed to validate module [dm_crypt] BTF: -22
[ 46.537386] failed to validate module [dm_crypt] BTF: -22
[ 46.582571] failed to validate module [dm_crypt] BTF: -22
[ 46.626196] failed to validate module [dm_crypt] BTF: -22
[ 57.422217] failed to validate module [dm_crypt] BTF: -22
[ 57.453168] failed to validate module [dm_crypt] BTF: -22
[ 57.501118] failed to validate module [dm_crypt] BTF: -22
[ 57.526662] failed to validate module [dm_crypt] BTF: -22
[ 57.579039] failed to validate module [dm_crypt] BTF: -22
apt-get install --reinstall linux-image-6.9.3-76060903-generic
apt install --reinstall system76-dkms
did not help dm_crypt keeps to be broken with that kernel. This old-kern works tho
6.8.0-76060800daily20240311-generic
also it did break tailscale.
Best, Tom
The text was updated successfully, but these errors were encountered: