Closed ros2torial closed 1 year ago
In this case you need to rebuild and reinstall your kernel modules as they are not present in the newly installed kernel. To do so, just redo the first configuration steps from the installation:
$ ./configure --prefix=/usr/local/etherlab --disable-8139too --enable-generic # Ethernet driver e1000e not supported for kernels 4.X
$ make all modules
$ sudo make modules_install install
$ sudo depmod
Ok. The above commands are working. By the way can we do something so that the kernel update doesn't affect it.
You will need to do it every time you get a new kernel. So either you prevent automatic kernel updates on your system, or i can imagine you can do a script but this looks dangerous.
If the linux kernel is upgraded to new kernel(i.e. from 5.15.0-57 to 5.15.0-58) and we run
then we get error