On 12 Mar 2026 at 13:20, Samuel Sieb wrote:

Date sent:              Thu, 12 Mar 2026 13:20:47 -0700
Subject:                Re: Fedora has broken VirtualBox with 6.19.6
To:                     Community support for Fedora users 
<[email protected]>
From:                   Samuel Sieb <[email protected]>
Send reply to:          Community support for Fedora users 
<[email protected]>

> On 3/12/26 12:20 PM, Michael D. Setzer II wrote:
> > On 12 Mar 2026 at 11:18, Samuel Sieb wrote:
> > 
> > Date sent:          Thu, 12 Mar 2026 11:18:27 -0700
> > Subject:            Re: Fedora has broken VirtualBox with 6.19.6
> > To:                 [email protected]
> > From:               Samuel Sieb <[email protected]>
> > Send reply to:      Community support for Fedora users
> > <[email protected]>
> > 
> >> On 3/12/26 10:21 AM, Michael D. Setzer II via users wrote:
> >>> Lines with error
> >>> cat  7.2.6-1-for-6.19.6-200.fc43.x86_64.failed.log | grep -i error
> >>> ERROR: modpost: module vboxdrv uses symbol cr4_update_irqsoff
> >>> from namespace module:kvm,kvm-amd,kvm-intel, but does not
> >>> import it.
> >>> ERROR: modpost: module vboxdrv uses symbol cr4_read_shadow
> >>> from namespace module:kvm,kvm-amd,kvm-intel, but does not
> >>> import it.
> >>> ERROR: modpost: module vboxdrv uses symbol __flush_tlb_all from
> >>> namespace module:kvm,kvm-amd,kvm-intel, but does not import it.
> >>
> >> This isn't Fedora blocking anything, this is a problem with the module.
> >>
> > 
> >  From what I've found. Works fine with Previous kernel with
> > Module? But information shows that latest kernel has Fedora
> > restricking access to only KVM, so VirtualBox can not work with
> > the restriction??
> 
> What information?  That doesn't make sense.

AI Overview
VirtualBox 7.1.x is currently incompatible with Linux kernel 6.19.6 on Fedora 43
due to a module building error, requiring either a downgrade to kernel 6.18.x 
or 
disabling KVM modules. To fix, add kvm.enable_virt_at_load=0 to your GRUB boot 
arguments, or temporarily remove modules using sudo modprobe -r kvm_intel or 
kvm_amd

I can confirm that if I boot with 6.18 kernel it works perfectly, but 
booting with 6.19.6 it runs the akmods but it fails, and manually 
trying to run it fails.

akmods
Checking kmods exist for 6.19.6-200.fc43.x86_64            [  OK  ]
Building and installing VirtualBox-kmod                    [FAILED]
Building rpms failed; see 
/var/cache/akmods/VirtualBox/7.2.6-1-for-6.19.6-200.fc43.x86_64.fa
iled.log for details

Figured I just downgrade kernel to g back to 6.18.16
booted to 6.18.16-200.fc43.x86_64
# dnf downgrade kernel-core*6.19.6*
Updating and loading repositories:
Repositories loaded.
The lowest available version of the "kernel-core.x86_64" package is 
already installed, cannot downgrade it.

Nothing to do.

tried to remove 6.19.6 and it comes with message that it is going to 
remove 77 packages?? 
dnf remove kernel*6.19.6*
Package                                      Arch      Version                  
                    
Repository                          Size
Removing:
 kernel                                      x86_64    6.19.6-200.fc43          
                    
updates                          0.0   B
 kernel-core                                 x86_64    6.19.6-200.fc43          
                    
updates                         98.9 MiB
 kernel-devel                                x86_64    6.19.6-200.fc43          
                    
updates                         87.5 MiB
 kernel-devel-matched                        x86_64    6.19.6-200.fc43          
                    
updates                          0.0   B
 kernel-headers                              x86_64    6.19.6-200.fc43          
                    
updates                          6.9 MiB
 kernel-modules                              x86_64    6.19.6-200.fc43          
                    
updates                         95.9 MiB
 kernel-modules-core                         x86_64    6.19.6-200.fc43          
                    
updates                         70.6 MiB
 kernel-modules-extra                        x86_64    6.19.6-200.fc43          
                    
updates                          4.2 MiB
 kernel-tools                                x86_64    6.19.6-200.fc43          
                    
updates                        918.1 KiB
 kernel-tools-libs                           x86_64    6.19.6-200.fc43          
                    
updates                         30.3 KiB
Removing dependent packages:
 akmod-VirtualBox                            x86_64    7.2.6-1.fc43             
                    
rpmfusion-free-updates          48.6 KiB
 akmods                                      noarch    0.6.2-9.fc43             
                    
updates                         66.0 KiB
 alien                                       noarch    8.95-28.fc43             
                    
fedora                         216.0 KiB
 annobin-plugin-gcc                          x86_64    12.99-1.fc43             
                    
fedora                           1.0 MiB
 boost-devel                                 x86_64    1.83.0-17.fc43           
                    
fedora                         143.0 MiB
 clang                                       x86_64    21.1.8-4.fc43            
                    
updates                         65.5 MiB
 clang18                                     x86_64    18.1.8-7.fc43            
                    
fedora                         612.3 KiB
 clang18-devel                               x86_64    18.1.8-7.fc43            
                    
fedora                          23.7 MiB
 debhelper                                   noarch    13.30-2.fc43             
                    
updates                          1.5 MiB
 dh-autoreconf                               noarch    21-1.fc43                
                    
fedora                          16.2 KiB
 dkms                                        noarch    3.3.0-1.fc43             
                    
updates                        217.0 KiB
 dpkg-dev                                    noarch    1.23.5-2.fc43            
                    
updates                          2.2 MiB
 gcc                                         x86_64    15.2.1-7.fc43            
                    
updates                        112.0 MiB
 gcc-c++                                     x86_64    15.2.1-7.fc43            
                    
updates                         41.4 MiB
 gcc-gfortran                                x86_64    15.2.1-7.fc43            
                    
updates                         40.4 MiB
 gcc-plugin-annobin                          x86_64    15.2.1-7.fc43            
                    
updates                         57.2 KiB
 glibc-devel                                 i686      2.42-10.fc43             
                    
updates                          2.3 MiB
 glibc-devel                                 x86_64    2.42-10.fc43             
                    
updates                          2.3 MiB
 glibc-static                                x86_64    2.42-10.fc43             
                    
updates                         42.3 MiB
 gnulib-devel                                noarch    0-55.20251223git.fc43    
                    
updates                         48.9 MiB
 gstreamer1-plugins-bad-free-devel           x86_64    1.26.10-1.fc43           
                    
updates                          3.8 MiB
 gstreamer1-plugins-base-devel               x86_64    1.26.10-1.fc43           
                    
updates                          6.0 MiB
 hawtjni                                     noarch    1.18-17.fc43             
                    
fedora                         142.0 KiB
 httpd-devel                                 x86_64    2.4.66-1.fc43            
                    
updates                        918.1 KiB
 kernel-devel                                x86_64    6.18.16-100.fc42         
                    
updates                         80.9 MiB
 kernel-devel                                x86_64    6.18.16-200.fc43         
                    
updates                         84.5 MiB
 kmod-VirtualBox                             x86_64    7.2.6-1.fc43             
                    
rpmfusion-free-updates           0.0   B
 lcov                                        noarch    2.0-6.fc43               
                    
fedora                         930.9 KiB
 libattr-devel                               i686      2.5.2-6.fc43             
                    
fedora                          21.7 KiB
 libattr-devel                               x86_64    2.5.2-6.fc43             
                    
fedora                          21.7 KiB
 libdrm-devel                                x86_64    2.4.131-1.fc43           
                    
updates                        741.5 KiB
 libtool                                     x86_64    2.5.4-8.fc43             
                    
updates                          2.7 MiB
 libxcrypt-devel                             i686      4.5.2-1.fc43             
                    
updates                         31.1 KiB
 libxcrypt-devel                             x86_64    4.5.2-1.fc43             
                    
updates                         31.1 KiB
 libxcrypt-static                            x86_64    4.5.2-1.fc43             
                    
updates                          1.4 MiB
 mate-applets                                x86_64    1.28.1-3.fc43            
                    
fedora                          39.1 MiB
 mesa-libGL-devel                            i686      25.3.6-2.fc43            
                    
updates                         80.8 KiB
 mesa-libGL-devel                            x86_64    25.3.6-2.fc43            
                    
updates                         80.8 KiB
 mod_perl-devel                              x86_64    2.0.13-11.fc43           
                    
fedora                         917.8 KiB
 net-snmp-devel                              x86_64    1:5.9.4-18.fc43          
                    
updates                        769.6 KiB
 perl                                        x86_64    4:5.42.0-521.fc43        
                    
updates                          0.0   B
 perl-CPAN                                   noarch    2.38-521.fc43            
                    
fedora                           1.9 MiB
 perl-ExtUtils-CBuilder                      noarch    1:0.280242-520.fc43      
                    
fedora                          97.3 KiB
 perl-ExtUtils-Embed                         noarch    1.35-521.fc43            
                    
updates                         15.6 KiB
 perl-ExtUtils-Miniperl                      noarch    1.14-521.fc43            
                    
updates                          8.3 KiB
 perl-devel                                  x86_64    4:5.42.0-521.fc43        
                    
updates                          3.8 MiB
 pocl                                        x86_64    7.0-5.fc43               
                    
fedora                         122.9 MiB
 qt-devel                                    x86_64    1:4.8.7-81.fc43          
                    
fedora                          51.2 MiB
 qt5-qtbase-devel                            x86_64    5.15.18-1.fc43           
                    
updates                         19.1 MiB
 qt5-qtdeclarative-devel                     x86_64    5.15.18-1.fc43           
                    
updates                          8.8 MiB
 qt5-rpm-macros                              noarch    5.15.18-1.fc43           
                    
updates                          1.6 KiB
 systemtap                                   x86_64    5.4-1.fc43               
                    
updates                          0.0   B
 systemtap-devel                             x86_64    5.4-1.fc43               
                    
updates                          9.3 MiB
Removing unused dependencies:
 clang20-libs                                x86_64    20.1.8-2.fc43            
                    
fedora                         118.6 MiB
 clang20-resource-filesystem                 x86_64    20.1.8-2.fc43            
                    
fedora                          14.8 KiB
 compiler-rt20                               x86_64    20.1.8-2.fc43            
                    
fedora                          37.9 MiB
 libomp20                                    x86_64    20.1.8-2.fc43            
                    
fedora                           2.2 MiB
 libomp20-devel                              x86_64    20.1.8-2.fc43            
                    
fedora                           1.5 MiB
 libquadmath-devel                           x86_64    15.2.1-7.fc43            
                    
updates                         22.2 KiB
 llvm20-filesystem                           x86_64    20.1.8-2.fc43            
                    
fedora                           0.0   B
 llvm20-libs                                 x86_64    20.1.8-2.fc43            
                    
fedora                         139.7 MiB
 perl-Capture-Tiny                           noarch    0.50-3.fc43              
                    
fedora                          70.7 KiB
 perl-Module-CoreList-tools                  noarch    
1:5.20260119-1.fc43                          updates                         
18.6 
KiB
 perl-Pod-Functions                          noarch    1.14-521.fc43            
                    
updates                         14.4 KiB
 perl-ph                                     x86_64    5.42.0-521.fc43          
                    
updates                        277.1 KiB
 perl-utils                                  noarch    5.42.0-521.fc43          
                    
updates                         97.0 KiB
 python3-gnulib                              noarch    0-55.20251223git.fc43    
                    
updates                        878.6 KiB

Transaction Summary:
 Removing:          77 packages

After this operation, 2 GiB will be freed (install 0 B, remove 2 GiB).
Is this ok [y/N]: n

So left with having to manually reboot machine and manually select 
the 6.18.16 to be able to use virtualbox?


rpm -qa | grep kernel-core
kernel-core-6.18.16-200.fc43.x86_64
kernel-core-6.17.1-300.fc43.x86_64
kernel-core-6.19.6-200.fc43.x86_64

Not sure why it rather than just removing the 10 6.19.6 packages, 
it has 67 others to remove.


Known Issues with Kernel 6.19.x 
Specifically for kernel 6.19.6, some users have reported that 
VirtualBox kernel modules (vboxdrv) may fail to build entirely 
because of symbol moves in the upstream kernel. If the above fixes 
do not work: 

Never really used KVM. Think I tired on another machine, but it 
didn't work at all. So, kept what has worked for like 20 years.

Has worked with up to 6.18.16, just broken with 6.19.6?




> 
> > So, module can't build because of restriction Fedora just installed?
> > Perhaps they will find a way to get around issue with an update.
> > 
> > So, works with 6.18.16 but fails with 6.19.6, so only change is
> > Fedora Kernel. So currently have to boot with 6.18.16 to have it
> > work?
> > 
> > So change in 6.19.6 causes problem.
> 
> That's more likely to be a kernel change that the module needs to be 
> adjusted for.
> 
> And again, why aren't you just using the supplied VM anyway instead of 
> trying to make virtualbox work?
> 
> -- 
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it: 
> https://forge.fedoraproject.org/infra/tickets/issues/new


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+



-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to