soft lockup when enabling VirtualBox 3d Accel driver for a windows guest - likely a host NVIDIA GPU driver issue

Bug #2026783 reported by beadon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
nvidia-graphics-drivers-535 (Ubuntu)
New
Undecided
Unassigned
virtualbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using VirtualBox on the main host, with the "3d Acceleration" enabled for the windows 10 guest, I somehow triggered a bug. I suspect this is a bug in handling for the NVIDIA driver, it has an impact on the kernel because of the loaded module.

Soft Lockups repeatedly occur, please see the dmesg logfile attached.

Here is the spinlock --

[Mon Jul 10 18:37:39 2023] CPU: 4 PID: 90 Comm: irq/126-pciehp Tainted: P OEL 6.2.0-24-generic #24-Ubuntu
[Mon Jul 10 18:37:39 2023] Hardware name: LENOVO 20XY0027US/20XY0027US, BIOS N32ET84W (1.60 ) 04/05/2023
[Mon Jul 10 18:37:39 2023] RIP: 0010:_raw_spin_unlock_irqrestore+0x21/0x60
[Mon Jul 10 18:37:39 2023] Code: 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 55 49 89 f0 48 89 e5 c6 07 00 0f 1f 00 41 f7 c0 00 02 00 00 74 06 fb 0f 1f 44 00 00 <65> ff 0d 90 a5 95 73 74 13 5d 31 c0 31 d2 31 c9 31 f6 31 ff 45 31
[Mon Jul 10 18:37:39 2023] RSP: 0018:ffffab64005ef780 EFLAGS: 00000206
[Mon Jul 10 18:37:39 2023] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[Mon Jul 10 18:37:39 2023] RDX: 000000000003d268 RSI: 0000000000000202 RDI: ffff9d86d183f668
[Mon Jul 10 18:37:39 2023] RBP: ffffab64005ef780 R08: 0000000000000202 R09: 0000000000000000
[Mon Jul 10 18:37:39 2023] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000010
[Mon Jul 10 18:37:39 2023] R13: 000000000003d258 R14: ffffab64020b0008 R15: 0000000000000002
[Mon Jul 10 18:37:39 2023] FS: 0000000000000000(0000) GS:ffff9d8a0f700000(0000) knlGS:0000000000000000
[Mon Jul 10 18:37:39 2023] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Mon Jul 10 18:37:39 2023] CR2: 000000000153dfa8 CR3: 00000002e5210006 CR4: 0000000000772ee0
[Mon Jul 10 18:37:39 2023] PKRU: 55555554
[Mon Jul 10 18:37:39 2023] Call Trace:
[Mon Jul 10 18:37:39 2023] <TASK>
[Mon Jul 10 18:37:39 2023] os_release_spinlock+0x1a/0x30 [nvidia]
[Mon Jul 10 18:37:39 2023] _nv038078rm+0xd9/0x100 [nvidia]
[Mon Jul 10 18:37:39 2023] WARNING: kernel stack frame pointer at 00000000c662e071 in irq/126-pciehp:90 has bad value 00000000a30f4baf
[

See the rest of the logs in the attached file.

The VirtualBox Guest no longer responded. The host machine also became unstable.
---
ProblemType: Bug
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 23.04
InstallationDate: Installed on 2023-01-09 (225 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: LENOVO 20XY0027US
NonfreeKernelModules: nvidia_modeset nvidia
Package: virtualbox 7.0.6-dfsg-1
PackageArchitecture: amd64
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-27-generic root=UUID=1cae8af8-977f-4853-9106-9169f34c4bc2 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.2.0-27.28-generic 6.2.15
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-27-generic N/A
 linux-backports-modules-6.2.0-27-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.5
Tags: lunar
Uname: Linux 6.2.0-27-generic x86_64
UpgradeStatus: Upgraded to lunar on 2023-04-26 (117 days ago)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 06/12/2023
dmi.bios.release: 1.61
dmi.bios.vendor: LENOVO
dmi.bios.version: N32ET85W (1.61 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20XY0027US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.34
dmi.modalias: dmi:bvnLENOVO:bvrN32ET85W(1.61):bd06/12/2023:br1.61:efr1.34:svnLENOVO:pn20XY0027US:pvrThinkPadX1YogaGen6:rvnLENOVO:rn20XY0027US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:skuLENOVO_MT_20XY_BU_Think_FM_ThinkPadX1YogaGen6:
dmi.product.family: ThinkPad X1 Yoga Gen 6
dmi.product.name: 20XY0027US
dmi.product.sku: LENOVO_MT_20XY_BU_Think_FM_ThinkPad X1 Yoga Gen 6
dmi.product.version: ThinkPad X1 Yoga Gen 6
dmi.sys.vendor: LENOVO

Revision history for this message
beadon (bryant-eadon) wrote :
Revision history for this message
beadon (bryant-eadon) wrote :

nvidia logfile added after a reboot -- forgot to add it at the time of the problem. May not be as useful.

beadon (bryant-eadon)
tags: added: 3d
summary: - soft lockup - likely NVIDIA GPU
+ soft lockup when enabling VirtualBox 3d Accel driver for a windows guest
+ - likely a host NVIDIA GPU driver issue
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2026783

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
beadon (bryant-eadon) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected lunar
description: updated
Revision history for this message
beadon (bryant-eadon) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : CRDA.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : CurrentDmesg.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : Dependencies.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : IwConfig.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : LsMod.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : Lspci.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : Lspci-vt.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : Lsusb.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : Lsusb-t.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : Lsusb-v.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : ProcInterrupts.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : ProcModules.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : RfKill.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : UdevDb.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : VirtualBox.DpkgList.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : VirtualBox.ModInfo.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : WifiSyslog.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote : acpidump.txt

apport information

Revision history for this message
beadon (bryant-eadon) wrote :

Details added as requested.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.