11-29-2023 10:56 AM - edited 11-29-2023 11:27 AM
We use Alma Linux 9.1 with NI-488.2 Q32023 installed. This is on a system that talks to an Agilent DVM via GPIB using an NI PCIE-GPIB card installed.If we use our native compiled software application to control the DVM, we have no problems.
However, we do have to support our previous software for legacy customers that is compiled on Centos 7.2. To do this, we run podman containers under Alma Linux 9.1 in a Centos 7 environment to run the older software.
When we do this, upon trying to later shutdown or reboot the workstation, the kernel panics pointing to the nipalk module as follows. Any help would be appreciated.
Thank you.
Nov 24 14:51:55 hostname [366511.435295] BUG: kernel NULL pointer dereference, address: 0000000000000008
Nov 24 14:51:55 hostname [366511.435321] #PF: supervisor read access in kernel mode
Nov 24 14:51:55 hostname [366511.435329] #PF: error_code(0x0000) - not-present page
Nov 24 14:51:55 hostname [366511.435337] PGD 1e0d7a067 P4D 1e0d7a067 PUD 106d91067 PMD 0
Nov 24 14:51:55 hostname [366511.435348] Oops: 0000 [#1] PREEMPT SMP NOPTI
Nov 24 14:51:55 hostname [366511.435356] CPU: 21 PID: 3326 Comm: gpibenumsvc Tainted: P B OE --------- --- 5.14.0-162.6.1.el9_1.x86_64 #1
Nov 24 14:51:55 hostname [366511.435367] Hardware name: Supermicro Super Server/X11SPA-TF, BIOS T20191113152019 11/13/2019
Nov 24 14:51:55 hostname [366511.435375] RIP: 0010:nipalk0001247+0x26/0x3a [nipalk]
Nov 24 14:51:55 hostname [366511.435485] Code: 5b 5d c3 90 89 f8 55 48 8b 3c c5 20 e9 12 c1 48 c7 04 c5 20 a9 12 c1 00 00 00 00 48 c7 04 c5 20 e9 12 c1 00 00 00 00 48 89 e5 <48> 8b 57 08 48 c7 47 08 00 00 00 00 e8 9d ff ff ff 5d c3 90 55 48
Nov 24 14:51:55 hostname [366511.435494] RSP: 0018:ffffb94a00f57c60 EFLAGS: 00010246
Nov 24 14:51:55 hostname [366511.435499] RAX: 0000000000000001 RBX: ffffb94a00f57cbc RCX: 0000000000000004
Nov 24 14:51:55 hostname [366511.435505] RDX: 0000000000000000 RSI: 0000000000050018 RDI: 0000000000000000
Nov 24 14:51:55 hostname [366511.435510] RBP: ffffb94a00f57c60 R08: 0000000000000000 R09: 0000000000000004
Nov 24 14:51:55 hostname [366511.435514] R10: 0000000000000000 R11: 0000000000000000 R12: ffffb94a00f57cc0
Nov 24 14:51:55 hostname [366511.435519] R13: ffffb94a00f57ce0 R14: ffffb94a00f57d00 R15: 0000000000000024
Nov 24 14:51:55 hostname [366511.435525] FS: 00007f0ffd820740(0000) GS:ffff9f4f51140000(0000) knlGS:0000000000000000
Nov 24 14:51:55 hostname [366511.435531] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 24 14:51:55 hostname [366511.435536] CR2: 0000000000000008 CR3: 00000001502aa002 CR4: 00000000007706e0
Nov 24 14:51:55 hostname [366511.435544] PKRU: 55555554
Nov 24 14:51:55 hostname [366511.435547] Call Trace:
Nov 24 14:51:55 hostname [366511.435553] ? nipalk0000582+0x71/0x9b [nipalk]
Nov 24 14:51:55 hostname [366511.435629] ? nipalk0000537+0x11b/0x212 [nipalk]
Nov 24 14:51:55 hostname [366511.435702] ? _Z11threadGetIDPi+0x9/0xd [nipalk]
Nov 24 14:51:55 hostname [366511.435798] ? _ZNV14tSyncAtomicU32aSEj+0x9/0xe [nipalk]
Nov 24 14:51:55 hostname [366511.435893] ? nipalk0001227+0x55/0x168 [nipalk]
Nov 24 14:51:55 hostname [366511.435981] ? __check_object_size.part.0+0x35/0x140
Nov 24 14:51:55 hostname [366511.435990] ? _copy_from_user+0x28/0x60
Nov 24 14:51:55 hostname [366511.435997] ? nipalk0001229+0xe9/0x179 [nipalk]
Nov 24 14:51:55 hostname [366511.436084] ? nipalk0001229+0x94/0x179 [nipalk]
Nov 24 14:51:55 hostname [366511.436170] ? blk_finish_plug+0x25/0x40
Nov 24 14:51:55 hostname [366511.436179] ? nNIKAL100_unlockedIoctl+0x24/0x50 [nikal]
Nov 24 14:51:55 hostname [366511.436200] ? __x64_sys_ioctl+0x87/0xc0
Nov 24 14:51:55 hostname [366511.436208] ? do_syscall_64+0x59/0x90
Nov 24 14:51:55 hostname [366511.436216] ? syscall_exit_to_user_mode+0x12/0x30
Nov 24 14:51:55 hostname [366511.436221] ? do_syscall_64+0x69/0x90
Nov 24 14:51:55 hostname [366511.436226] ? do_syscall_64+0x69/0x90
Nov 24 14:51:55 hostname [366511.436230] ? syscall_exit_work+0xb0/0x150
Nov 24 14:51:55 hostname [366511.436237] ? syscall_exit_to_user_mode+0x12/0x30
Nov 24 14:51:55 hostname [366511.436242] ? do_syscall_64+0x69/0x90
Nov 24 14:51:55 hostname [366511.436247] ? __irq_exit_rcu+0x46/0xe0
Nov 24 14:51:55 hostname [366511.436255] ? sysvec_apic_timer_interrupt+0x3c/0x90
Nov 24 14:51:55 hostname [366511.436260] ? entry_SYSCALL_64_after_hwframe+0x63/0xcd
Nov 24 14:51:55 hostname [366511.436270] Modules linked in: vfat msdos fat tun nf_tables nfnetlink tls overlay xsk_diag nfsv3 rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache netfs snd_seq_dummy snd_hrtimer NiViPciK(POE) rpcrdma rdma_cm iw_cm ib_cm ib_core nipxirmk(POE) nimru2k(POE) nimxdfk(POE) nimdbgk(POE) nidimk(POE) niorbk(POE) ni488k(POE) netconsole nipalk(POE) nikal(POE) rfkill qrtr binfmt_misc ext4 mbcache jbd2 intel_rapl_msr intel_rapl_common snd_hda_codec_realtek snd_hda_codec_generic isst_if_common ledtrig_audio snd_hda_codec_hdmi skx_edac snd_hda_intel nfit snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec libnvdimm x86_pkg_temp_thermal snd_hda_core intel_powerclamp coretemp snd_hwdep snd_seq kvm_intel snd_seq_device snd_pcm kvm snd_timer iTCO_wdt snd joydev iTCO_vendor_support soundcore irqbypass i2c_i801 ioatdma mei_me ipmi_ssif sgshost(OE) mei intel_pch_thermal pcspkr i2c_smbus rapl intel_cstate intel_uncore lpc_ich acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter acpi_pad nfsd nfs_a
Nov 24 14:51:55 hostname [366511.436325] lockd dm_mod grace auth_rpcgss sunrpc xfs libcrc32c sd_mod t10_pi sg nouveau ast mxm_wmi video drm_vram_helper drm_dp_helper drm_ttm_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops crct10dif_pclmul ahci crc32_pclmul crc32c_intel drm libahci igb atlantic ghash_clmulni_intel libata cec dca macsec i2c_algo_bit wmi fuse [last unloaded: phoenixItf]
Nov 24 14:51:55 hostname [366511.436390] CR2: 0000000000000008
Nov 24 14:51:55 hostname [366511.436395] ---[ end trace 6e9bdd556c8f3da6 ]---
Nov 24 14:51:55 hostname [366511.443402] RIP: 0010:nipalk0001247+0x26/0x3a [nipalk]
Nov 24 14:51:55 hostname [366511.443529] Code: 5b 5d c3 90 89 f8 55 48 8b 3c c5 20 e9 12 c1 48 c7 04 c5 20 a9 12 c1 00 00 00 00 48 c7 04 c5 20 e9 12 c1 00 00 00 00 48 89 e5 <48> 8b 57 08 48 c7 47 08 00 00 00 00 e8 9d ff ff ff 5d c3 90 55 48
Nov 24 14:51:55 hostname [366511.443539] RSP: 0018:ffffb94a00f57c60 EFLAGS: 00010246
Nov 24 14:51:55 hostname [366511.443545] RAX: 0000000000000001 RBX: ffffb94a00f57cbc RCX: 0000000000000004
Nov 24 14:51:55 hostname [366511.443551] RDX: 0000000000000000 RSI: 0000000000050018 RDI: 0000000000000000
Nov 24 14:51:55 hostname [366511.443556] RBP: ffffb94a00f57c60 R08: 0000000000000000 R09: 0000000000000004
Nov 24 14:51:55 hostname [366511.443562] R10: 0000000000000000 R11: 0000000000000000 R12: ffffb94a00f57cc0
Nov 24 14:51:55 hostname [366511.443567] R13: ffffb94a00f57ce0 R14: ffffb94a00f57d00 R15: 0000000000000024
Nov 24 14:51:55 hostname [366511.443572] FS: 00007f0ffd820740(0000) GS:ffff9f4f51140000(0000) knlGS:0000000000000000
Nov 24 14:51:55 hostname [366511.443579] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 24 14:51:55 hostname [366511.443584] CR2: 0000000000000008 CR3: 00000001502aa002 CR4: 00000000007706e0
Nov 24 14:51:55 hostname [366511.443593] PKRU: 55555554
Nov 24 14:51:55 hostname [366511.443598] Kernel panic - not syncing: Fatal exception
Nov 24 14:51:55 hostname [366511.443614] Kernel Offset: 0x30600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Nov 24 14:51:55 hostname [366511.449881] ---[ end Kernel panic - not syncing: Fatal exception ]---