# Nvidia Kernel 6

**URL:** <https://forums.developer.nvidia.com/t/nvidia-kernel-6/235138>\
**Category:** Linux\
**Created:** [November 22, 2022, 5:34pm UTC](https://forums.developer.nvidia.com/t/nvidia-kernel-6/235138 "2022-11-22T17:34:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tos.pimentel](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tos.pimentel/32/209946_2.png) [@tos.pimentel](https://forums.developer.nvidia.com/u/tos.pimentel)\
**Post date:** [November 22, 2022, 5:34pm UTC](https://forums.developer.nvidia.com/t/nvidia-kernel-6/235138/1 "2022-11-22T17:34:35Z")

</div>

Hi everybody,  
i recently test to install a kernel 6 on my manjaro. But il always crash at boot.  
Friends tells me that there is a incompatibily on my Nvidia card (GTX 1650) and Linux Kernel 6.  
You can see a log here : [nov. 18 21:55:08 nicolas-nv4xmbmemz kernel: ENERGY\_PERF\_BIAS: Set to 'normal', w - Pastebin.com](https://pastebin.com/VDvXdALC)  
Thanks for any helps and sorry for my poor english

---

<div class="post-metadata">

**Author:** ![sL1pKn07](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sl1pkn07/32/12213_2.png) [@sL1pKn07](https://forums.developer.nvidia.com/u/sL1pKn07)\
**Post date:** [November 22, 2022, 6:02pm UTC](https://forums.developer.nvidia.com/t/nvidia-kernel-6/235138/2 "2022-11-22T18:02:22Z")

</div>

try put `ibt=off` in your kernel command line

> <https://github.com/NVIDIA/open-gpu-kernel-modules/issues/256>
>
> \### NVIDIA Open GPU Kernel Modules Version
> 
> 515.43.04
> 
> \### Does this happen with… the proprietary driver (of the same version) as well?
> 
> Yes
> 
> \### Operating System and Version
> 
> Arch Linux
> 
> \### Kernel Release
> 
> 5.18.0-arch1-1
> 
> \### Hardware: GPU
> 
> RTX 3070 laptop (System 76 Oryx 8)
> 
> \### Describe the bug
> 
> Since upgrading to Kernel 5.18, loading the nvidia driver (Or proprietary one) fails with the same kernel log:
> 
> \`\`\`
> \[5.429675\] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
> 
> \[5.429718\] traps: Missing ENDBR: \_portMemAllocatorAllocNonPagedWrapper+0x0/0x10 \[nvidia\]
> \[5.429816\] ------------\[cut here \]------------
> \[5.429817\] kernel BUG at arch/x86/kernel/traps.c:252!
> \[5.429828\] invalid opcode: 0000 \[#1\] PREEMPT SMP NOPTI
> \[5.429830\] CPU: 9 PID: 948 Comm: modprobe Tainted: G OE 5.18.0-arch1-1 #1 b71a70fe104889aac2f32556bc52f649da2881d2
> \[5.429832\] Hardware name: System76 Oryx Pro/Oryx Pro, BIOS 2021-09-23\_b9b0e89 09/23/2021
> \[5.429833\] RIP: 0010:exc\_control\_protection+0xc2/0xd0
> \[5.429837\] Code: 8b 93 80 00 00 00 be f9 00 00 00 48 c7 c7 d3 ab 66 b5 e8 d1 01 50 ff e9 72 ff ff ff 48 c7 c7 ba ab 66 b5 e8 c7 31 fb ff 0f 0b \<0f\> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 55 53 48 89
> \[5.429838\] RSP: 0018:ffffa9c3413b3bb8 EFLAGS: 00010002
> \[5.429839\] RAX: 000000000000004d RBX: ffffa9c3413b3bd8 RCX: 0000000000000027
> \[5.429840\] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff9d195fa616a0
> \[5.429841\] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffa9c3413b39d8
> \[5.429842\] R10: 0000000000000003 R11: ffffffffb5ecaa08 R12: 0000000000000000
> \[5.429842\] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
> \[5.429843\] FS: 00007f0aa9bbe740(0000) GS:ffff9d195fa40000(0000) knlGS:0000000000000000
> \[5.429844\] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> \[5.429845\] CR2: 00007f0aa8382000 CR3: 00000001063ce002 CR4: 0000000000f70ee0
> \[5.429846\] PKRU: 55555554
> \[5.429847\] Call Trace:
> \[5.429848\] \<TASK\>
> \[5.429849\] asm\_exc\_control\_protection+0x22/0x30
> \[5.429852\] RIP: 0010:\_portMemAllocatorAllocNonPagedWrapper+0x0/0x10 \[nvidia\]
> \[5.429920\] Code: 08 48 89 d0 48 89 0f 48 c1 e0 17 48 31 c2 48 89 c8 48 c1 e8 05 48 31 c8 48 31 d0 48 c1 ea 12 48 31 d0 48 89 47 08 01 c8 c3 90 \<48\> 89 f7 e9 38 0f 00 00 0f 1f 84 00 00 00 00 00 48 89 f7 e9 88 0f
> \[5.429921\] RSP: 0018:ffffa9c3413b3c80 EFLAGS: 00010202
> \[5.429922\] RAX: ffffffffc1eae5f0 RBX: 0000000000000010 RCX: 0000000000000000
> \[5.429923\] RDX: 0000000000000000 RSI: 000000000000002c RDI: ffffffffc20f7b70
> \[5.429923\] RBP: ffffa9c3413b3c98 R08: 0000000000000020 R09: ffffffffc20f7bf0
> \[5.429924\] R10: ffffffffc20f55d0 R11: 0000000000000000 R12: ffffffffc20f7b70
> \[5.429925\] R13: 00007f0aa8382dc0 R14: 000055916224ef30 R15: ffffa9c3413b3e20
> \[5.429926\] ? portCryptoPseudoRandomGeneratorGetU32+0x30/0x30 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.429991\] \_portMemAllocatorAlloc+0x2e/0x170 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430054\] portCryptoPseudoRandomGeneratorCreate+0x16/0xb0 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430117\] portCryptoInitialize+0x2a/0x40 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430182\] portInitialize+0x2b/0x40 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430246\] coreInitializeRm+0x24/0x90 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430324\] RmInitRm+0x9/0x20 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430399\] rm\_init\_rm+0x9/0x10 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430472\] nvidia\_init\_module+0x22e/0x5b0 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430517\] ? nvidia\_init\_module+0x5b0/0x5b0 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430565\] nvidia\_frontend\_init\_module+0x50/0x91 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430616\] ? nvidia\_init\_module+0x5b0/0x5b0 \[nvidia 5737a4bc014c2c47af46ebdec30e9ee078e09f14\]
> \[5.430663\] do\_one\_initcall+0x5a/0x220
> \[5.430667\] do\_init\_module+0x4a/0x240
> \[5.430670\] \_\_do\_sys\_init\_module+0x138/0x1b0
> \[5.430672\] do\_syscall\_64+0x5c/0x90
> \[5.430674\] ? exc\_page\_fault+0x74/0x170
> \[5.430676\] entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
> \[5.430677\] RIP: 0033:0x7f0aa9512c3e
> \[5.430679\] Code: 48 8b 0d 5d b1 0e 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2a b1 0e 00 f7 d8 64 89 01 48
> \[5.430680\] RSP: 002b:00007fff39f3cc58 EFLAGS: 00000246 ORIG\_RAX: 00000000000000af
> \[5.430681\] RAX: ffffffffffffffda RBX: 000055916224ebd0 RCX: 00007f0aa9512c3e
> \[5.430682\] RDX: 000055916224ef30 RSI: 00000000008f1db0 RDI: 00007f0aa7a91010
> \[5.430682\] RBP: 00007f0aa7a91010 R08: 000055916224eae0 R09: 0000000000000000
> \[5.430683\] R10: 0000000000000005 R11: 0000000000000246 R12: 000055916224ef30
> \[5.430684\] R13: 000055916224ed00 R14: 000055916224ebd0 R15: 000055916224ef60
> \[5.430685\] \</TASK\>
> \[5.430685\] Modules linked in: pcc\_cpufreq(-) nvidia(OE+) acpi\_cpufreq(-) bnep bridge stp llc btusb btrtl btbcm btintel uvcvideo btmtk videobuf2\_vmalloc bluetooth videobuf2\_memops videobuf2\_v4l2 videobuf2\_common ecdh\_generic videodev mc snd\_sof\_pci\_intel\_tgl snd\_sof\_intel\_hda\_common soundwire\_intel soundwire\_generic\_allocation soundwire\_cadence snd\_hda\_codec\_realtek snd\_sof\_intel\_hda snd\_hda\_codec\_generic snd\_sof\_pci snd\_sof\_xtensa\_dsp snd\_sof snd\_sof\_utils snd\_soc\_hdac\_hda iwlmvm snd\_hda\_ext\_core snd\_soc\_acpi\_intel\_match snd\_soc\_acpi joydev intel\_tcc\_cooling soundwire\_bus mousedev ledtrig\_audio mac80211 x86\_pkg\_temp\_thermal intel\_powerclamp snd\_soc\_core coretemp snd\_compress ac97\_bus kvm\_intel libarc4 hid\_multitouch snd\_hda\_codec\_hdmi 8250\_dw spi\_nor mei\_pxp snd\_pcm\_dmaengine mei\_hdcp ee1004 mtd i915 iTCO\_wdt snd\_hda\_intel kvm intel\_pmc\_bxt snd\_intel\_dspcfg iTCO\_vendor\_support intel\_rapl\_msr iwlwifi irqbypass snd\_intel\_sdw\_acpi snd\_hda\_codec crct10dif\_pclmul crc32\_pclmul
> \[5.430709\] ghash\_clmulni\_intel snd\_hda\_core iwlmei vfat aesni\_intel processor\_thermal\_device\_pci\_legacy processor\_thermal\_device pmt\_telemetry snd\_hwdep crypto\_simd pmt\_class cryptd fat intel\_cstate r8169 drm\_buddy cfg80211 intel\_uncore snd\_pcm processor\_thermal\_rfim realtek psmouse ttm processor\_thermal\_mbox mei\_me snd\_timer rfkill pcspkr i2c\_i801 mdio\_devres processor\_thermal\_rapl intel\_lpss\_pci spi\_intel\_pci intel\_rapl\_common snd libphy intel\_lpss drm\_dp\_helper spi\_intel i2c\_smbus soundcore int340x\_thermal\_zone thunderbolt mei i2c\_hid\_acpi idma64 intel\_gtt intel\_vsec intel\_soc\_dts\_iosf i2c\_hid intel\_hid video intel\_scu\_pltdrv sparse\_keymap system76\_acpi mac\_hid coreboot\_table dm\_multipath dm\_mod ipmi\_devintf ipmi\_msghandler crypto\_user acpi\_call(OE) fuse bpf\_preload ip\_tables x\_tables ext4 crc32c\_generic crc16 mbcache jbd2 serio\_raw atkbd uas libps2 usb\_storage usbhid vivaldi\_fmap nvme xhci\_pci nvme\_core crc32c\_intel i8042 xhci\_pci\_renesas serio
> \[5.430736\] ---\[end trace 0000000000000000 \]---
> \`\`\`
> 
> \### To Reproduce
> 
> 1. Upgrade to kernel 5.18
> 2. Reboot
> 3. Observe nvidia module won't load and check kernel logs for the same error
> 
> \### Bug Incidence
> 
> Always
> 
> \### nvidia-bug-report.log.gz
> 
> \[nvidia-bug-report.log.gz\](https://github.com/NVIDIA/open-gpu-kernel-modules/files/8768756/nvidia-bug-report.log.gz)
> 
> 
> \### More Info
> 
> Originally I thought this issue was to do with optimus-manager (As I am using a hybrid setup I use that utility to switch between intel and nvidia mode), but after uninstalling optimus manager the same issue occurs

this still affected on kernels 6
