I needed to add iptables_nat module to the kernel on PXIe-8880 so I followed the steps in the following tutorial to add that module to the kernel. More specifically here's a list of commands I used: (i was recompiling the kernel on the PXIe-8880 (10.0.36.19) itself and I already installed squashfs4.4.tar.gz on the machine)
opkg install packagegroup-core-sdk-dev
git clone https://github.com/ni/linux.git
git checkout nilrt/19.0/4.14
make -j6 ni-pkg
scp boot/bzImage firstname.lastname@example.org:/boot/runmode/
tar czf - lib/ | ssh email@example.com "tar xzvf - -C /"
scp headers/module-versioning-image.squashfs firstname.lastname@example.org:/usr/local/natinst/tools/
versioning_call /usr/local/natinst/nikal/bin/updateNIDrivers $(kernel_version)
I ran into an issue on the very last command. "updateNIDrivers" application wasn't found on the PXIe-8880, so naturally when i rebooted the controller none of the NI Drivers were recognizing the new kernel. Does anyone know if there's a way to install that utility on PXIe-8880? (I've installed all possible software i could through MAX on the PXIe-8880, but it doesn't seem to update NI-KAL which I think is the package that has "updateNIDrivers")
Solved! Go to Solution.
For Linux Real-Time *.ipk-based installations of NI Software (such as PXI Linux Real-Time) we no longer use updateNIDrivers. Instead, DKMS is used. I *think* DKMS is supposed to rebuild the modules automatically after a kernel upgrade but you can manually try to do so via:
That resolved the issue.