Can't go back to kernel 6.11

My Fedora 41 install is broken when using my iGPU with the 6.12 kernel. I’d like to go back to 6.11, however after following this guide, I get the following errors:

Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem 1: conflicting requests
  - nothing provides libperl.so.5.38()(64bit) needed by perf-6.11.11-200.fc40.x86_64 from @commandline
 Problem 2: conflicting requests
  - nothing provides python(abi) = 3.12 needed by python3-perf-6.11.11-200.fc40.x86_64 from @commandline
  - nothing provides libperl.so.5.38()(64bit) needed by python3-perf-6.11.11-200.fc40.x86_64 from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages

Solved.

I used sudo dnf --repo fedora downgrade "kernel*" instead.
If anyone is interested, here’s the kernel log.

[  246.889491] INFO: task plasmashell:3622 blocked for more than 122 seconds.
[  246.889497]       Tainted: P           OE      6.12.6-cb1.0.fc41.x86_64 #1
[  246.889499] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  246.889500] task:plasmashell     state:D stack:0     pid:3622  tgid:3622  ppid:1847   flags:0x00000006
[  246.889505] Call Trace:
[  246.889507]  <TASK>
[  246.889510]  __schedule+0x419/0x21e0
[  246.889516]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889518]  ? path_lookupat+0x176/0x400
[  246.889524]  schedule_preempt_disabled+0x2e/0x100
[  246.889527]  __mutex_lock.constprop.0+0x3e0/0x710
[  246.889530]  uevent_show+0x97/0x120
[  246.889534]  dev_attr_show+0x19/0x40
[  246.889537]  sysfs_kf_seq_show+0xa8/0xf0
[  246.889540]  seq_read_iter+0x11b/0x460
[  246.889544]  vfs_read+0x33b/0x470
[  246.889549]  __x64_sys_read+0x72/0xf0
[  246.889552]  do_syscall_64+0x82/0x190
[  246.889555]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889557]  ? syscall_exit_to_user_mode+0x10/0x210
[  246.889560]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889561]  ? do_syscall_64+0x8e/0x190
[  246.889563]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889565]  ? do_syscall_64+0x8e/0x190
[  246.889567]  ? exc_page_fault+0x81/0x190
[  246.889569]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[  246.889573] RIP: 0033:0x740921af394a
[  246.889607] RSP: 002b:00007fff331bbbf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  246.889610] RAX: ffffffffffffffda RBX: 00005dd561068770 RCX: 0000740921af394a
[  246.889611] RDX: 0000000000001000 RSI: 00005dd56120ce70 RDI: 0000000000000010
[  246.889613] RBP: 00007fff331bbc10 R08: 0000000000000000 R09: 0000000000000001
[  246.889614] R10: 0000000000000004 R11: 0000000000000246 R12: 0000740921bf4fd0
[  246.889615] R13: 0000740921bf4e80 R14: 0000000000000000 R15: 00000000fbad2488
[  246.889620]  </TASK>
[  246.889623] INFO: task konsole:3961 blocked for more than 122 seconds.
[  246.889625]       Tainted: P           OE      6.12.6-cb1.0.fc41.x86_64 #1
[  246.889626] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  246.889627] task:konsole         state:D stack:0     pid:3961  tgid:3961  ppid:1847   flags:0x00000002
[  246.889630] Call Trace:
[  246.889631]  <TASK>
[  246.889633]  __schedule+0x419/0x21e0
[  246.889636]  ? avc_has_perm_noaudit+0xb3/0x140
[  246.889640]  schedule_preempt_disabled+0x2e/0x100
[  246.889643]  __mutex_lock.constprop.0+0x3e0/0x710
[  246.889646]  uevent_show+0x97/0x120
[  246.889649]  dev_attr_show+0x19/0x40
[  246.889651]  sysfs_kf_seq_show+0xa8/0xf0
[  246.889653]  seq_read_iter+0x11b/0x460
[  246.889656]  vfs_read+0x33b/0x470
[  246.889660]  __x64_sys_read+0x72/0xf0
[  246.889663]  do_syscall_64+0x82/0x190
[  246.889665]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889667]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889669]  ? cp_new_stat+0x131/0x170
[  246.889673]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889675]  ? __do_sys_newfstat+0xc4/0x100
[  246.889679]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889681]  ? syscall_exit_to_user_mode+0x10/0x210
[  246.889683]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889685]  ? do_syscall_64+0x8e/0x190
[  246.889687]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889688]  ? mntput+0x65/0x3e0
[  246.889692]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889694]  ? __x64_sys_readlink+0x131/0x190
[  246.889696]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889697]  ? syscall_exit_to_user_mode+0x10/0x210
[  246.889700]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889701]  ? do_syscall_64+0x8e/0x190
[  246.889703]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889704]  ? syscall_exit_to_user_mode+0x10/0x210
[  246.889707]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889708]  ? do_syscall_64+0x8e/0x190
[  246.889710]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889711]  ? do_syscall_64+0x8e/0x190
[  246.889713]  ? srso_alias_return_thunk+0x5/0xfbef5
[  246.889715]  ? do_syscall_64+0x8e/0x190
[  246.889717]  ? exc_page_fault+0x81/0x190
[  246.889719]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[  246.889721] RIP: 0033:0x7388e70f394a
[  246.889725] RSP: 002b:00007ffcd9fda380 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  246.889727] RAX: ffffffffffffffda RBX: 00005579aae551b0 RCX: 00007388e70f394a
[  246.889728] RDX: 0000000000001000 RSI: 00005579aafce0c0 RDI: 0000000000000010
[  246.889729] RBP: 00007ffcd9fda3a0 R08: 0000000000000000 R09: 0000000000000001
[  246.889731] R10: 0000000000000004 R11: 0000000000000246 R12: 00007388e71f4fd0
[  246.889732] R13: 00007388e71f4e80 R14: 0000000000000000 R15: 00000000fbad2488
[  246.889736]  </TASK>
[  273.962688] fbcon: Taking over console
[  273.970593] Console: switching to colour frame buffer device 160x50

For problem 1, see below

$ sudo dnf provides */libperl.so*
Updating and loading repositories:
Repositories loaded.
perl-devel-4:5.40.0-512.fc41.x86_64 : Header files for use in perl development
Repo         : @System
Matched From : 
Filename     : /usr/lib64/libperl.so

perl-libs-4:5.40.0-512.fc41.x86_64 : The libraries for the perl run-time
Repo         : @System
Matched From : 
Filename     : /usr/lib64/libperl.so.5.40
Filename     : /usr/lib64/libperl.so.5.40.0
Filename     : /usr/lib64/perl5/CORE/libperl.so

As you can see f41 has libperl.so.5.40 and whatever you are trying to do wants libperl.so.5.38 which is not available for f41.
A search shows that the package perl-libs-4.5.38.2-506.fc40.x86_64 contains that library file.

For problem 2 the python version in f41 is currently 3.13.1 and the python3-perf package is asking for python 3.12 as well as the libperl.so library.

I suggest that one solution may be to remove both those packages (perf, and python3-perf) then do the update.

A better option may be to run
sudo dnf install perf-6.11.11-300.fc41.x86_64 python3-perf-6.11.11-300.x86_64 --allowerasing --enablerepo updates-archive

Both those packages are in the fedora updates-archive repo for f41.

$ sudo dnf install perf-6.11.11-* python3-perf-6.11.11*
Updating and loading repositories:
Repositories loaded.
Package                                        Arch        Version                                        Repository                       Size
Downgrading:
 python3-perf                                  x86_64      6.11.11-300.fc41                               updates-archive               8.6 MiB
   replacing python3-perf                      x86_64      6.12.6-200.fc41                                updates                       8.7 MiB
Installing:
 perf                                          x86_64      6.11.11-300.fc41                               updates-archive              10.5 MiB

Transaction Summary:
 Installing:         1 package
 Replacing:          1 package
 Downgrading:        1 package

Total size of inbound packages is 4 MiB. Need to download 4 MiB.
After this operation, 10 MiB extra will be used (install 19 MiB, remove 9 MiB).
Is this ok [y/N]: 
2 Likes