Re: VirtualBox no longer working? Loads but gets error message.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



På Fri, 20 Dec 2024 19:25:46 +1000
"Michael D. Setzer II via users" <users@xxxxxxxxxxxxxxxxxxxxxxx> skrev:
> On 19 Dec 2024 at 23:50, Samuel Sieb wrote:
> 
> Date sent:      	Thu, 19 Dec 2024 23:50:29 -0800
> Subject:        	Re: VirtualBox no longer working? Loads but
> gets error message.
> To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
> From:           	Samuel Sieb <samuel@xxxxxxxx>
> Send reply to:  	Community support for Fedora users 
> <users@xxxxxxxxxxxxxxxxxxxxxxx>
> 
> > On 12/19/24 11:37 PM, Ron Yorston wrote:  
> > > The 6.12 kernel has changed the way virtualisation modules are
> > > loaded.  Some discussion, with workarounds, here:
> > > 
> > >     https://www.virtualbox.org/ticket/22248
> > >     https://lore.kernel.org/kvm/ZwQjUSOle6sWARsr@xxxxxxxxxx/T/
> > > 
> > > I was able to get VirtualBox to start by unloading the kvm_intel
> > > module with the command:
> > > 
> > >     rmmod kvm_intel
> > > 
> > > The above links also have a kernel command line fix which I
> > > haven't tried.
> > > 
> > > (I only use VirtualBox occasionally, to run a Windows XP VM which
> > > I've never managed to get working with KVM.  Otherwise I prefer
> > > Virtual Machine Manager.)  
> > 
> > I've run several XP VMs with no problem.  What wasn't working?
> >   
> 
> I use Virtual Box to to my G4L images with grub4dos, 
> grub4dos-uefi, syslinux , and memtest images.
> 
> With every kernel before 6.12.x it worked fine, but current 6.12.4 it 
> failes with error when trying to run any image (all linux).
> > VirtualBox can't operate in VMX root mode.
> > Please disable the KVM kernel extension, recompile your kernel 
> > and reboot.
> > (VERR_VMX_IN_VMX_ROOT_MODE).  
> 
> Rebooting machine and selecting the 6.11.11 kernel, it would run 
> everything fine.
> 
> I did also, find the doing the rmmod kvm_intel did also let the 
> VirtualBox run fine with 6.12.4?
> 
> Machines that I run it on are running Fedora 40. Have 4 other 
> machines with Fedora 41, but having tested it on those.
> 
> on one machine I removed both kvm and kvm_intel, but on other 
> just removed the kvm_intel? Both worked.
> 
> Not sure what creates the /sys/modules/kvm and 
> /sys/modules/kvm_intel?
> 
> Note sure what creates these directories. Tried reinstall kernel, but 
> the /sys/modules/kvm was not recreated?

Just create a VirtualBox.conf file in /etc/modprobe.d/

With this line inside:
blacklist kvm-intel

and the problem should be fixed

 
> 
> 
> 
> > -- 
> > _______________________________________________
> > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > 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/users@xxxxxxxxxxxxxxxxxxxxxxx
> > Do not reply to spam, report it:
> > https://pagure.io/fedora-infrastructure/new_issue  
> 
> 
> +------------------------------------------------------------+
>  Michael D. Setzer II - Computer Science Instructor (Retired)     
>  mailto:mikes@xxxxxxxx                            
>  mailto:msetzerii@xxxxxxxxx
>  mailto:msetzerii@xxxxxxx
>  Guam - Where America's Day Begins                        
>  G4L Disk Imaging Project maintainer 
>  http://sourceforge.net/projects/g4l/
> +------------------------------------------------------------+
> 
> 
> 



-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux