You are not logged in.

#1 2022-07-06 20:39:31

nkoppel
Member
Registered: 2022-07-06
Posts: 2

[SOLVED] "modprobe nvidia" Segfaults and hangs on subsequent runs

The first time 'modprobe nvidia" is run, the "insmod" command it runs segfaults, and when either "modprobe nvidia" or "insmod /lib/modules/5.18.9-arch1-1/extramodules/nvidia.ko.xz" is run after that, it hangs indefinitely.
I've tried replacing the "nvidia" package with "nvidia-dkms", which has the exact same issue, and downgrading "nvidia" and "nvidia-utils" to version 510.68.02, which causes an executable format error. I believe that this has been an issue ever since I upgraded to version 515 of the nvidia drivers, but I am not certain when exactly this became an issue.

Here are some relevant package versions:

$ pacman -Q | grep -E '(nvidia|^linux )'
lib32-nvidia-utils 515.57-1
linux 5.18.9.arch1-1
nvidia 515.57-3
nvidia-settings 515.57-1
nvidia-utils 515.57-1
opencl-nvidia 515.57-1

GPU information:

$ lspci -nnk | grep -i 3d -A2
01:00.0 3D controller [0302]: NVIDIA Corporation TU117GLM [Quadro T500 Mobile] [10de:1fbb] (rev a1)
        Subsystem: Lenovo Device [17aa:22cb]
        Kernel modules: nouveau, nvidia_drm, nvidia

dmesg logs:

[    0.067045] Kernel command line: archisobasedir=arch archisolabel=ARCH_202106 cryptdevice=UUID=0e762542-9ae4-4373-b6e5-7b17b93e07b4:cryptroot root=/dev/mapper/cryptroot lsm=yama,apparmor,bpf iommu=pt intel_iommu=on pcie_acs_override=downstream,multifunction msr.allow_writes=on nvidia-drm.modeset=1 initrd=\initramfs-linux.img
[  507.079754] nvidia: module license 'NVIDIA' taints kernel.
[  507.405082] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[  507.405158] traps: Missing ENDBR: _nv011433rm+0x0/0x10 [nvidia]
[  507.406021] RIP: 0010:_nv011433rm+0x0/0x10 [nvidia]
[  507.406789]  ? _nv034913rm+0x20/0x20 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.407554]  _nv011431rm+0x24/0xe0 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.408296]  _nv034914rm+0xe/0xa0 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.409060]  _nv034917rm+0x1d/0x30 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.409787]  _nv034919rm+0x2f/0x40 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.410552]  _nv015567rm+0x15/0x70 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.411130]  _nv000642rm+0x9/0x20 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.411721]  rm_init_rm+0x17/0x60 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.412342]  nvidia_init_module+0x242/0x613 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.412916]  ? nvidia_init_module+0x613/0x613 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.413481]  nvidia_frontend_init_module+0x50/0x91 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.414054]  ? nvidia_init_module+0x613/0x613 [nvidia e4fb2a9b4fdc415eb98b95abf549b5eaf94e2052]
[  507.414706] Modules linked in: nvidia(POE+) rfcomm nft_fib_ipv4 nft_ct nft_fib_ipv6 nft_fib wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nf_conntrack_netlink xt_addrtype br_netfilter dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio loop ccm cmac algif_hash algif_skcipher af_alg xt_CHECKSUM bnep snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes btusb uvcvideo btrtl videobuf2_vmalloc btbcm videobuf2_memops btintel videobuf2_v4l2 btmtk videobuf2_common bluetooth snd_hda_codec_hdmi videodev snd_hda_codec_realtek snd_hda_codec_generic mc joydev ecdh_generic mousedev xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 snd_soc_dmic iTCO_wdt spi_nor intel_pmc_bxt ee1004 mtd iTCO_vendor_support mei_hdcp mei_pxp think_lmi wmi_bmof firmware_attributes_class intel_rapl_msr snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel uas

Last edited by nkoppel (2022-07-06 21:52:28)

Offline

#2 2022-07-06 21:32:55

loqs
Member
Registered: 2014-03-06
Posts: 18,893

Re: [SOLVED] "modprobe nvidia" Segfaults and hangs on subsequent runs

Offline

#3 2022-07-06 21:33:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED] "modprobe nvidia" Segfaults and hangs on subsequent runs

[  507.405158] traps: Missing ENDBR: _nv011433rm+0x0/0x10 [nvidia]

Add  "ibt=off" to the kernel parametes, see the note on https://wiki.archlinux.org/title/NVIDIA#Installation

Edit: fuck.

Last edited by seth (2022-07-06 21:34:10)

Offline

#4 2022-07-06 21:50:26

nkoppel
Member
Registered: 2022-07-06
Posts: 2

Re: [SOLVED] "modprobe nvidia" Segfaults and hangs on subsequent runs

seth wrote:

Add  "ibt=off" to the kernel parametes, see the note on https://wiki.archlinux.org/title/NVIDIA#Installation

Thank you, this worked for me! Sorry for not looking at the arch wiki page closer, I didn't think to look in the "Installation" section too closely, as before this, I had it installed an working fine.

Offline

Board footer

Powered by FluxBB