Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

kernel upgrade

Featured Replies

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

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.