You are not logged in.

#1 2024-05-04 09:45:24

romch007
Member
From: France
Registered: 2023-02-08
Posts: 5

Kernel panic when starting VirtualBox VM

Today, I tried to start a VM and my computer just froze and rebooted. I didn't see any kernel panic logs using journalctl -b -1 -k but I was able to obtain logs using netconsole.

I currently have virtualbox 7.0.18-1, virtualbox-host-modules-arch 7.0.18-1 and linux 6.8.9.arch1-1 installed.

Here are the logs:

[  675.581087] BUG: unable to handle page fault for address: ffffba870ec56000
[  675.581115] #PF: supervisor write access in kernel mode
[  675.581126] #PF: error_code(0x0002) - not-present page
[  675.581134] PGD 100000067 P4D 100000067 PUD 100211067 PMD 187324067 PTE 0
[  675.581151] Oops: 0002 [#1] PREEMPT SMP NOPTI
[  675.581161] CPU: 12 PID: 0 Comm: swapper/12 Tainted: G           OE      6.8.9-arch1-1 #1 b1154d98cdfe0792477fb31da8bf552e17e27d3c
[  675.581172] Hardware name: LENOVO 20Y1CTO1WW/20Y1CTO1WW, BIOS R1BET77W(1.46 ) 10/24/2023
[  675.581180] RIP: 0010:0xffffba87102f1e1f
[  675.581232] Code: 48 8d 74 0e ff fd f3 a4 fc eb e4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa fc 48 89 d1 48 89 f8 48 c1 e9 03 <f3> 48 a5 f6 c2 04 74 01 a5 f6 c2 02 74 02 66 a5 f6 c2 01 74 01 a4
[  675.581241] RSP: 0018:ffffba8700364a60 EFLAGS: 00010012
[  675.581250] RAX: ffffba870ebf517e RBX: ffffba8700364c38 RCX: 000000000b6669f2
[  675.581258] RDX: 000000005b395e10 RSI: ffff96925ae8b680 RDI: ffffba870ec55ffe
[  675.581266] RBP: ffffba8700364ab8 R08: 0000000000000040 R09: 0000000000040130
[  675.581273] R10: 0000000000040000 R11: 0000000000000000 R12: ffffba870ebf5140
[  675.581280] R13: ffffba8769f8af8e R14: 000000005b395e10 R15: ffffba870ebf5010
[  675.581288] FS:  0000000000000000(0000) GS:ffff969751300000(0000) knlGS:0000000000000000
[  675.581297] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  675.581305] CR2: ffffba870ec56000 CR3: 00000003bf820000 CR4: 0000000000350ef0
[  675.581313] Call Trace:
[  675.581320]  <IRQ>
[  675.581328]  ? __die+0x23/0x70
[  675.581343]  ? page_fault_oops+0x171/0x4e0
[  675.581355]  ? srso_return_thunk+0x5/0x5f
[  675.581373]  ? exc_page_fault+0x175/0x180
[  675.581384]  ? asm_exc_page_fault+0x26/0x30
[  675.581406]  ? srso_return_thunk+0x5/0x5f
[  675.581423]  ? srso_return_thunk+0x5/0x5f
[  675.581440]  ? vboxNetFltLinuxForwardSegment.isra.0+0xdb/0x160 [vboxnetflt f13afea2c71f3f70853bfe5adf812e20699d18f2]
[  675.581463]  ? vboxNetFltLinuxPacketHandler+0x52b/0x530 [vboxnetflt f13afea2c71f3f70853bfe5adf812e20699d18f2]
[  675.581478]  ? skb_clone+0x59/0xd0
[  675.581494]  ? dev_queue_xmit_nit+0x291/0x2d0
[  675.581509]  ? dev_hard_start_xmit+0x40/0x1d0
[  675.581523]  ? sch_direct_xmit+0xa4/0x390
[  675.581537]  ? __dev_queue_xmit+0xa30/0xe10
[  675.581548]  ? eth_header+0x2a/0xc0
[  675.581562]  ? ip_finish_output2+0x18d/0x580
[  675.581576]  ? igmp_ifc_timer_expire+0x1d5/0x430
[  675.581588]  ? srso_return_thunk+0x5/0x5f
[  675.581599]  ? __pfx_igmp_ifc_timer_expire+0x10/0x10
[  675.581610]  ? call_timer_fn+0x24/0x130
[  675.581622]  ? __pfx_igmp_ifc_timer_expire+0x10/0x10
[  675.581632]  ? __run_timers+0x21f/0x2b0
[  675.581649]  ? run_timer_softirq+0x1d/0x40
[  675.581658]  ? __do_softirq+0xcc/0x2c8
[  675.581671]  ? __irq_exit_rcu+0xa3/0xc0
[  675.581683]  ? sysvec_apic_timer_interrupt+0x72/0x90
[  675.581695]  </IRQ>
[  675.581701]  <TASK>
[  675.581708]  ? asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  675.581725]  ? cpuidle_enter_state+0xcc/0x440
[  675.581739]  ? cpuidle_enter+0x2d/0x40
[  675.581751]  ? do_idle+0x1d8/0x230
[  675.581764]  ? cpu_startup_entry+0x2a/0x30
[  675.581773]  ? start_secondary+0x11e/0x140
[  675.581785]  ? secondary_startup_64_no_verify+0x184/0x18b
[  675.581805]  </TASK>
[  675.581812] Modules linked in: netconsole xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_addrtype iptable_filter br_netfilter bridge stp llc snd_seq_dummy snd_hrtimer snd_seq rfcomm overlay cmac algif_hash algif_skcipher af_alg bnep mousedev joydev snd_acp_legacy_mach snd_acp_mach snd_soc_nau8821 snd_acp3x_rn snd_soc_dmic snd_acp3x_pdm_dma snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_ctl_led snd_soc_core btusb snd_hda_codec_realtek snd_compress btrtl ac97_bus snd_hda_codec_generic btintel snd_hda_codec_hdmi snd_pcm_dmaengine btbcm snd_usb_audio btmtk snd_pci_ps snd_rpl_pci_acp6x snd_usbmidi_lib snd_hda_intel snd_acp_pci snd_ump snd_intel_dspcfg iwlmvm snd_acp_legacy_common bluetooth snd_intel_sdw_acpi snd_rawmidi snd_hda_codec snd_pci_acp6x intel_rapl_msr uas intel_rapl_common razerkbd(OE) usb_storage hid_generic
[  675.581974]  ecdh_generic snd_seq_device snd_hda_core snd_pci_acp5x snd_rn_pci_acp3x mac80211 snd_hwdep snd_acp_config uvcvideo snd_pcm snd_soc_acpi videobuf2_vmalloc snd_timer libarc4 snd_pci_acp3x uvc kvm_amd ptp videobuf2_memops pps_core videobuf2_v4l2 kvm videodev iwlwifi vfat fat videobuf2_common mc irqbypass r8169 tps6598x usbhid thinkpad_acpi cfg80211 realtek rapl ledtrig_audio psmouse platform_profile mdio_devres think_lmi ipmi_devintf wmi_bmof firmware_attributes_class snd rfkill acpi_cpufreq libphy k10temp soundcore ipmi_msghandler i2c_piix4 razermouse(OE) amd_pmc serial_multi_instantiate i2c_scmi mac_hid loop dm_mod nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 amdgpu crct10dif_pclmul crc32_pclmul amdxcp i2c_algo_bit crc32c_intel drm_ttm_helper polyval_clmulni ttm polyval_generic gf128mul drm_exec ghash_clmulni_intel serio_raw gpu_sched sha512_ssse3 atkbd drm_suballoc_helper sha256_ssse3 libps2 drm_buddy rtsx_pci_sdmmc sha1_ssse3 mmc_core vivaldi_fmap aesni_intel nvme
[  675.582228]  drm_display_helper ucsi_acpi crypto_simd typec_ucsi cryptd xhci_pci nvme_core roles cec ccp rtsx_pci xhci_pci_renesas video sp5100_tco i8042 nvme_auth typec serio wmi vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) pkcs8_key_parser sg crypto_user
[  675.582307] CR2: ffffba870ec56000
[  675.582316] ---[ end trace 0000000000000000 ]---
[  675.582324] RIP: 0010:0xffffba87102f1e1f
[  675.582337] Code: 48 8d 74 0e ff fd f3 a4 fc eb e4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa fc 48 89 d1 48 89 f8 48 c1 e9 03 <f3> 48 a5 f6 c2 04 74 01 a5 f6 c2 02 74 02 66 a5 f6 c2 01 74 01 a4
[  675.582346] RSP: 0018:ffffba8700364a60 EFLAGS: 00010012
[  675.582355] RAX: ffffba870ebf517e RBX: ffffba8700364c38 RCX: 000000000b6669f2
[  675.582363] RDX: 000000005b395e10 RSI: ffff96925ae8b680 RDI: ffffba870ec55ffe
[  675.582370] RBP: ffffba8700364ab8 R08: 0000000000000040 R09: 0000000000040130
[  675.582377] R10: 0000000000040000 R11: 0000000000000000 R12: ffffba870ebf5140
[  675.582385] R13: ffffba8769f8af8e R14: 000000005b395e10 R15: ffffba870ebf5010
[  675.582393] FS:  0000000000000000(0000) GS:ffff969751300000(0000) knlGS:0000000000000000
[  675.582401] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  675.582409] CR2: ffffba870ec56000 CR3: 00000003bf820000 CR4: 0000000000350ef0
[  675.582417] Kernel panic - not syncing: Fatal exception in interrupt
[  675.582639] Kernel Offset: 0x2d000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  675.582666] Rebooting in 10 seconds..

This is probably related to this bug, and according to VirtualBox changelog it was resolved in 7.0.18, but I didn't encounter this bug with earlier versions. Nevermind, it was for Windows hosts, although the guilty module seems to be the same.

Last edited by romch007 (2024-05-04 10:30:57)

Offline

#2 2024-05-04 11:42:50

fmc000
Member
Registered: 2020-05-12
Posts: 58

Re: Kernel panic when starting VirtualBox VM

May I suggest you run virtualbox-kvm from the AUR or from chaoric-aur? It's Virtualbox without the Oracle modules and using KVM as backend. Works perfectly fine with pre-existent VMs and it's totally open source.


Linux user since 1996. Currently running Arch on an I7 11th gen laptop with root on zfs with continuous snapshots and replication.

Offline

Board footer

Powered by FluxBB