NI-Sync 2023 Q4 Bug Fixes

Overview

The following items are notable issues fixed between the release of NI-Sync 2023 Q1 and NI-Sync 2023 Q4, including additional patches and service packs. If you have an issue ID, you can search this list to validate that the issue has been fixed. This is not an exhaustive list of issues fixed in the current version of NI-Sync.

Bug Number

Legacy ID

Description

Details

2457461, 2467958, 2492765

NI-Sync fails to install on RHEL 8.8 and RHEL 9.2

In the installation process for the ni-sync package at the "dkms autoinstall" step, it fails with a message such as:

dkms autoinstall on 4.18.0-477.10.1.el8_8.x86_64/x86_64 failed for ni-sync-pxi6683(10)

Workaround:

Make the following changes: 

in /var/lib/dkms/ni-sync-pxi6683/23.0/source/src/Makefile

Replace line 127 (empty line), with:

ifneq ($(shell grep -s "netif_napi_add_weight" $(KERNELDIR)/include/linux/netdevice.h),)
EXTRA_CFLAGS += -DNETDEVICE_H_HAS_NETIF_NAPI_ADD_WEIGHT
endif
# Get lines between "(*set_termios)(" and ";)" with awk then grep to see if old pointer is const in serial core's definition of set_termios
ifneq ($(shell awk "/\(\*set_termios\)\(/, /\);/" $(KERNELDIR)/include/linux/serial_core.h | grep "const struct ktermios \*old"),)
EXTRA_CFLAGS += -DSERIAL_CORE_H_SET_TERMIOS_HAS_CONST_STRUCT_POINTER_OLD
endif


in /var/lib/dkms/ni-sync-pxi6683/23.0/source/src/nisync_enet.c

Replace line 1687:
netif_napi_add(ndev, &edev->napi, nisync_napi_poll, 64);

with:
#ifdef NETDEVICE_H_HAS_NETIF_NAPI_ADD_WEIGHT
netif_napi_add_weight(ndev, &edev->napi, nisync_napi_poll, 64);
#else
netif_napi_add(ndev, &edev->napi, nisync_napi_poll, 64);
#endif


in /var/lib/dkms/ni-sync-pxi6683/23.0/source/src/nisync_tns_main.c

Replace lines 2144-2145:
static void nisync_gps_uart_set_termios(struct uart_port *port,
                  struct ktermios *termios, struct ktermios *old)

with:
static void nisync_gps_uart_set_termios(
struct uart_port *port,
struct ktermios *termios,
#ifdef SERIAL_CORE_H_SET_TERMIOS_HAS_CONST_STRUCT_POINTER_OLD
const struct ktermios *old)
#else
struct ktermios *old)
#endif

Reported Version:

NI-Sync 2023 Q1

Resolved Version:

NI-Sync 2023 Q4

Added:

N/A

Additional Patch Information

Installing some patches may require certain additional steps or considerations. Please refer to the following table for more information about patches for this release.

These patches currently do not have any special instructions.

Glossary of Terms

 

  • Bug ID - When an issue is reported to NI, you may be given this ID or find it on ni.com.  You may also find IDs posted by NI on the discussion forums or in KnowledgeBase articles.
  • Legacy ID – An older issue ID that refers to the same issue.  You may instead find this issue ID in older known issues documents.
  • Description - A few sentences which describe the problem. The brief description given does not necessarily describe the problem in full detail.
  • Workaround - Possible ways to work around the problem.
  • Reported Version - The earliest version in which the issue was reported.
  • Resolved Version - Version in which the issue was resolved or was no longer applicable. "N/A" indicates that the issue has not been resolved.
  • Date Added - The date the issue was added to the document (not the reported date).