Jump to content

kernel upgrade


a--k

Recommended Posts

Hi,

I use a cubieboard2 and have (due several SD crashes) added a small SSD using the nand-sata-install script.

I wanted now to install iptables - but it complains about

 

iptables -nL
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.10.12-sunxi/modules.dep.bin'
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.10.12-sunxi
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

 

 

Checking for the version I get uname -a
Linux cubie2 4.10.12-sunxi #7 SMP Wed Apr 26 02:44:12 CEST 2017 armv7l armv7l armv7l GNU/Linux

 

while I thought I have a more recent one. So in /usr/src

# ll
total 24
drwxr-xr-x  6 root root 4096 Feb 13 20:54 ./
drwxr-xr-x 10 root root 4096 Jun 20  2016 ../
drwxr-xr-x  3 root root 4096 Nov 26 17:26 linux-headers-4.11.6-sunxi/
drwxr-xr-x  3 root root 4096 Jan 31 22:32 linux-headers-4.13.16-sunxi/
drwxr-xr-x  3 root root 4096 Feb 13 20:58 linux-headers-4.14.15-sunxi/
drwxr-xr-x 24 root root 4096 Feb 13 20:59 linux-headers-4.14.18-sunxi/

 

while under /boot I find

# ll
total 42348
drwxr-xr-x  6 root root    4096 Nov 26 19:08 ./
drwxr-xr-x 22 root root    4096 Dec 18  2016 ../
-rw-r--r--  1 root root       0 May  3  2017 .next
-rw-r--r--  1 root root 2767704 Apr 26  2017 System.map-4.10.12-sunxi

...

 

 

ok - mount | grep \/dev | sort
/dev/mmcblk0p1 on /boot type ext4 (rw,relatime)
/dev/mmcblk0p1 on /media/mmc type ext4 (rw,relatime)
/dev/sda1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600)
 

which should be mmc (the SD card) and sda1 my SSD.

 

How to fix this and in future best to automatically upgrade the kernel which is to be used/booted?

 

 

thanks

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines