You are not logged in.

#1 2022-10-24 16:13:20

Fomalhaut
Member
Registered: 2020-06-29
Posts: 8

VirtualBox can't start a virtual machine since updated kernel to 5.18

Since I updated kernel (linux-zen) to 5.18 or later, virtualbox can't start any virtual machine. I tried to use package 'linux', but can't solve this problem. The newest version without this problem is 5.17.9.

dmesg output (linux-zen-6.0.2):

[   13.247229] SUPR0GipMap: fGetGipCpu=0x1b
[   13.997649] traps: Missing ENDBR: 0xffffa78d432411b0
[   13.997655] ------------[ cut here ]------------
[   13.997656] kernel BUG at arch/x86/kernel/traps.c:253!
[   13.997661] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[   13.997663] CPU: 0 PID: 1698 Comm: EMT-0 Tainted: G           OE      6.0.2-zen1-1-zen #1 b9ce8440acf3a52c0b26b896c3f99e94f51248b6
[   13.997665] Hardware name: LENOVO 20XWA003CD/20XWA003CD, BIOS N32ET63W (1.39 ) 05/14/2021
[   13.997666] RIP: 0010:exc_control_protection+0xc2/0xd0
[   13.997669] Code: fa ff 45 31 c9 49 89 d8 b9 09 00 00 00 48 8b 93 80 00 00 00 be fa 00 00 00 48 c7 c7 cc 1d 69 98 e8 53 10 2c ff e9 64 ff ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 41 54 55 53
[   13.997671] RSP: 0018:ffffa78d430dbbb8 EFLAGS: 00010002
[   13.997672] RAX: 0000000000000028 RBX: ffffa78d430dbbd8 RCX: 0000000000000000
[   13.997673] RDX: 0000000000000000 RSI: ffff9a11df421660 RDI: ffff9a11df421660
[   13.997674] RBP: 0000000000000003 R08: 0000000000000001 R09: 00000000ffffffea
[   13.997675] R10: ffffffff98e5b520 R11: 0000000000000002 R12: 0000000000000000
[   13.997676] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[   13.997676] FS:  00007f63bbfff6c0(0000) GS:ffff9a11df400000(0000) knlGS:0000000000000000
[   13.997678] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   13.997678] CR2: ffffa78d43241870 CR3: 000000012bdd8005 CR4: 0000000000f70ef0
[   13.997679] PKRU: 55555554
[   13.997680] Call Trace:
[   13.997682]  <TASK>
[   13.997683]  asm_exc_control_protection+0x26/0x30
[   13.997686] RIP: 0010:0xffffa78d432411b0
[   13.997687] Code: 81 e1 ff 7f 00 00 41 81 e0 ff 7f 00 00 48 8d 3d 86 1b 08 00 e8 7e 3e ef ff e9 ad fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 <55> 48 89 e5 41 54 53 83 fe 0f 0f 87 88 00 00 00 83 ce 10 c7 07 29
[   13.997688] RSP: 0018:ffffa78d430dbc80 EFLAGS: 00010246
[   13.997689] RAX: 0000000000000000 RBX: ffffa78d434e6010 RCX: 0000000000000001
[   13.997690] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffa78d434e6060
[   13.997691] RBP: ffffa78d430dbd58 R08: ffffa78d4324b70c R09: 0000000000000040
[   13.997691] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9a0eaabd0610
[   13.997692] R13: ffff9a0eaabd0610 R14: 0000000000000004 R15: ffffffffc06d98a0
[   13.997695]  ? exc_page_fault+0xce/0x170
[   13.997697]  ? asm_exc_page_fault+0x26/0x30
[   13.997699]  ? supdrvIOCtl+0x2ffb/0x33b0 [vboxdrv 200f2c2fb51fb5f885d61ad08f554993c93937c8]
[   13.997713]  ? _copy_from_user+0x47/0x60
[   13.997716]  ? VBoxDrvLinuxIOCtl_6_1_40+0x162/0x250 [vboxdrv 200f2c2fb51fb5f885d61ad08f554993c93937c8]
[   13.997723]  ? __x64_sys_ioctl+0x91/0xd0
[   13.997726]  ? do_syscall_64+0x5c/0x90
[   13.997728]  ? syscall_exit_to_user_mode+0x2c/0x1d0
[   13.997729]  ? do_syscall_64+0x6b/0x90
[   13.997730]  ? exc_page_fault+0x74/0x170
[   13.997731]  ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
[   13.997734]  </TASK>
[   13.997734] Modules linked in: ccm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device uvcvideo videobuf2_vmalloc videobuf2_memops cdc_mbim videobuf2_v4l2 cdc_wdm videobuf2_common cdc_ncm cdc_ether videodev usbnet mii mc hid_sensor_custom_intel_hinge hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common industrialio usbhid hid_sensor_custom hid_sensor_hub intel_ishtp_hid snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_sof_probes snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils intel_tcc_cooling snd_soc_hdac_hda x86_pkg_temp_thermal intel_powerclamp snd_hda_ext_core coretemp snd_soc_acpi_intel_match kvm_intel snd_soc_acpi soundwire_bus kvm snd_soc_core irqbypass crct10dif_pclmul snd_compress crc32_pclmul vfat ac97_bus
[   13.997762]  iTCO_wdt polyval_clmulni fat joydev snd_pcm_dmaengine polyval_generic mousedev intel_pmc_bxt gf128mul spi_nor iwlmvm iTCO_vendor_support ghash_clmulni_intel mtd hid_multitouch think_lmi snd_hda_intel aesni_intel mei_hdcp snd_intel_dspcfg pmt_telemetry mei_pxp crypto_simd snd_intel_sdw_acpi firmware_attributes_class wmi_bmof intel_rapl_msr pmt_class cryptd mac80211 snd_hda_codec intel_cstate snd_hda_core spi_intel_pci i2c_i801 intel_uncore libarc4 pcspkr psmouse iwlwifi snd_hwdep i2c_smbus spi_intel ucsi_acpi snd_pcm mei_me intel_lpss_pci typec_ucsi snd_timer thinkpad_acpi cfg80211 intel_lpss mei ledtrig_audio idma64 typec intel_ish_ipc platform_profile intel_ishtp roles rfkill wmi snd mac_hid i2c_hid_acpi i2c_hid soundcore tpm_crb i915 soc_button_array int3403_thermal tpm_tis tpm_tis_core processor_thermal_device_pci_legacy tpm processor_thermal_device rng_core video processor_thermal_rfim ip6t_REJECT drm_buddy processor_thermal_mbox processor_thermal_rapl ttm
[   13.997795]  nf_reject_ipv6 drm_display_helper intel_rapl_common intel_hid sparse_keymap int340x_thermal_zone int3400_thermal xt_hl cec acpi_tad acpi_thermal_rel acpi_pad intel_soc_dts_iosf intel_vsec ip6t_rt intel_gtt thunderbolt ipt_REJECT igen6_edac nf_reject_ipv4 xt_LOG nf_log_syslog xt_recent xt_comment xt_multiport xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip6table_filter ip6_tables iptable_filter vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) pkcs8_key_parser crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 vivaldi_fmap nvme nvme_core crc32c_intel xhci_pci xhci_pci_renesas nvme_common i8042 serio
[   13.997820] Unloaded tainted modules: acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 fjes():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1 fjes():1 pcc_cpufreq():1 fjes():1 pcc_cpufreq():1 acpi_cpufreq():1 fjes():1 acpi_cpufreq():1 pcc_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 pcc_cpufreq():1 acpi_cpufreq():1 acpi_cpufreq():1
[   13.997850]  fjes():1 pcc_cpufreq():1 acpi_cpufreq():1
[   13.997854] ---[ end trace 0000000000000000 ]---
[   13.997855] RIP: 0010:exc_control_protection+0xc2/0xd0
[   13.997857] Code: fa ff 45 31 c9 49 89 d8 b9 09 00 00 00 48 8b 93 80 00 00 00 be fa 00 00 00 48 c7 c7 cc 1d 69 98 e8 53 10 2c ff e9 64 ff ff ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 41 54 55 53
[   13.997859] RSP: 0018:ffffa78d430dbbb8 EFLAGS: 00010002
[   13.997860] RAX: 0000000000000028 RBX: ffffa78d430dbbd8 RCX: 0000000000000000
[   13.997861] RDX: 0000000000000000 RSI: ffff9a11df421660 RDI: ffff9a11df421660
[   13.997862] RBP: 0000000000000003 R08: 0000000000000001 R09: 00000000ffffffea
[   13.997863] R10: ffffffff98e5b520 R11: 0000000000000002 R12: 0000000000000000
[   13.997864] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[   13.997864] FS:  00007f63bbfff6c0(0000) GS:ffff9a11df400000(0000) knlGS:0000000000000000
[   13.997865] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   13.997866] CR2: ffffa78d43241870 CR3: 000000012bdd8005 CR4: 0000000000f70ef0
[   13.997867] PKRU: 55555554
[   15.981793] kauditd_printk_skb: 17 callbacks suppressed

My laptop is lenovo thinkpad, with 11th-gen core i7-1165G7 CPU.

Offline

#2 2022-10-24 16:14:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,206

Re: VirtualBox can't start a virtual machine since updated kernel to 5.18

Add ibt=off to your kernel parameters.

Offline

#3 2022-10-25 05:02:11

Fomalhaut
Member
Registered: 2020-06-29
Posts: 8

Re: VirtualBox can't start a virtual machine since updated kernel to 5.18

V1del wrote:

Add ibt=off to your kernel parameters.

It works.
Thanks.

Offline

Board footer

Powered by FluxBB