You are not logged in.

#1 2018-05-26 19:26:10

neutronst4r
Member
Registered: 2016-02-25
Posts: 31

[Solved]Upgrading to kernel 4.16.11-1 breaks UFW, won't find kernel...

Hello,
After updating the linux kernel to 4.16.11-1 and rebooting, I was dropped into recovery shell. It seems UFW can no longer find the kernel modules nf_conntrack_ftp, nf_nat_ftp, nf_conntrack_netbios_ns and ip_tables.

Journal Log

It seems to me, that these are the important messages:

May 26 19:56:34 archy systemd-modules-load[361]: Failed to lookup alias 'crypto_user': Function not implemented
May 26 19:56:34 archy systemd-modules-load[361]: Failed to lookup alias 'sg': Function not implemented
May 26 19:56:34 archy systemd-modules-load[361]: Failed to lookup alias 'vboxdrv': Function not implemented
May 26 19:56:34 archy systemd-modules-load[361]: Failed to lookup alias 'vboxpci': Function not implemented
May 26 19:56:34 archy systemd-modules-load[361]: Failed to lookup alias 'vboxnetadp': Function not implemented
May 26 19:56:34 archy systemd-modules-load[361]: Failed to lookup alias 'vboxnetflt': Function not implemented
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: iptables-restore v1.6.2: iptables-restore: unable to initialize table 'filter'
May 26 19:56:34 archy ufw-init[379]: Error occurred at line: 1
May 26 19:56:34 archy ufw-init[379]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: iptables-restore v1.6.2: iptables-restore: unable to initialize table 'filter'
May 26 19:56:34 archy ufw-init[379]: Error occurred at line: 1
May 26 19:56:34 archy ufw-init[379]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
May 26 19:56:34 archy systemd[1]: Starting Flush Journal to Persistent Storage...
-- Subject: Unit systemd-journal-flush.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-journal-flush.service has begun starting up.
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: iptables-restore v1.6.2: iptables-restore: unable to initialize table 'filter'
May 26 19:56:34 archy ufw-init[379]: Error occurred at line: 1
May 26 19:56:34 archy ufw-init[379]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
May 26 19:56:34 archy ufw-init[379]: modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.16.9-1-ARCH
May 26 19:56:34 archy ufw-init[379]: iptables-restore v1.6.2: iptables-restore: unable to initialize table 'filter'
May 26 19:56:34 archy ufw-init[379]: Error occurred at line: 1
May 26 19:56:34 archy ufw-init[379]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.

I downgraded the kernel back to 4.16.9-1 and I can boot normally now, but how do I fix this?

Thank you for your help

Last edited by neutronst4r (2018-05-26 21:34:25)


makepkg not war

Offline

#2 2018-05-26 19:33:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved]Upgrading to kernel 4.16.11-1 breaks UFW, won't find kernel...

Works for me. Your /boot was unmounted during the upgrade, therefore modules were not available (for more than just ufw).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-05-26 19:53:44

neutronst4r
Member
Registered: 2016-02-25
Posts: 31

Re: [Solved]Upgrading to kernel 4.16.11-1 breaks UFW, won't find kernel...

Okay,
I just tried upgrading again and made sure /boot was mounted... and it worked.
How did you figure that out from the journal log? I just double checked there was nothing in the pacman.log either:

[2018-05-26 19:31] [PACMAN] Running 'pacman -Syu'
[2018-05-26 19:31] [PACMAN] synchronizing package lists
[2018-05-26 19:31] [PACMAN] starting full system upgrade
[2018-05-26 19:31] [ALPM] transaction started
[2018-05-26 19:31] [ALPM] upgraded babl (0.1.46-2 -> 0.1.50-1)
[2018-05-26 19:32] [ALPM] upgraded linux-firmware (20180507.8fc2d4e-1 -> 20180518.2a9b2cf-1)
[2018-05-26 19:32] [ALPM] upgraded linux (4.16.9-1 -> 4.16.11-1)
[2018-05-26 19:32] [ALPM] upgraded bbswitch (0.8-135 -> 0.8-137)
[2018-05-26 19:32] [ALPM] upgraded ca-certificates-mozilla (3.37-1 -> 3.37.1-1)
[2018-05-26 19:32] [ALPM] upgraded lm_sensors (3.4.0-3 -> 3.4.0-4)
[2018-05-26 19:32] [ALPM] upgraded qt5-base (5.10.1-8 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded pyqt5-common (5.10.1-2 -> 5.10.1-3)
[2018-05-26 19:32] [ALPM] upgraded python2-pyqt5 (5.10.1-2 -> 5.10.1-3)
[2018-05-26 19:32] [ALPM] upgraded qt5-xmlpatterns (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-declarative (5.10.1-4 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-location (5.10.1-2 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-sensors (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-webchannel (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-webkit (5.212.0alpha2-14 -> 5.212.0alpha2-15)
[2018-05-26 19:32] [ALPM] upgraded qt5-svg (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded libbytesize (1.2-1 -> 1.3-1)
[2018-05-26 19:32] [ALPM] upgraded nss (3.37-1 -> 3.37.1-1)
[2018-05-26 19:32] [ALPM] upgraded calibre (3.23.0-1 -> 3.24.0-1)
[2018-05-26 19:32] [ALPM] upgraded file (5.33-1 -> 5.33-3)
[2018-05-26 19:32] [ALPM] upgraded fuse-common (3.2.2-2 -> 3.2.3-1)
[2018-05-26 19:32] [ALPM] upgraded fuse3 (3.2.2-2 -> 3.2.3-1)
[2018-05-26 19:32] [ALPM] upgraded gegl (0.4.0-2 -> 0.4.2-1)
[2018-05-26 19:32] [ALPM] upgraded glib-networking (2.56.0-1 -> 2.56.1-1)
[2018-05-26 19:32] [ALPM] upgraded ilmbase (2.2.1-1 -> 2.2.1-2)
[2018-05-26 19:32] [ALPM] upgraded gimp (2.10.0-6 -> 2.10.2-1)
[2018-05-26 19:32] [ALPM] upgraded lib32-libepoxy (1.5.1-1 -> 1.5.2-1)
[2018-05-26 19:32] [ALPM] upgraded libidn2 (2.0.4-2 -> 2.0.5-1)
[2018-05-26 19:32] [ALPM] upgraded lib32-libidn2 (2.0.4-1 -> 2.0.5-1)
[2018-05-26 19:32] [ALPM] upgraded lib32-wayland (1.14.0-1 -> 1.15.0-1)
[2018-05-26 19:32] [ALPM] upgraded lib32-mesa (18.0.4-1 -> 18.0.4-2)
[2018-05-26 19:32] [ALPM] upgraded libcue (2.2.0-1 -> 2.2.1-1)
[2018-05-26 19:32] [ALPM] upgraded libgphoto2 (2.5.17-1 -> 2.5.18-1)
[2018-05-26 19:32] [ALPM] upgraded libmediainfo (18.03.1-1 -> 18.05-2)
[2018-05-26 19:32] [ALPM] upgraded linux-headers (4.16.9-1 -> 4.16.11-1)
[2018-05-26 19:32] [ALPM] upgraded mediainfo (18.05-1 -> 18.05-2)
[2018-05-26 19:32] [ALPM] upgraded mpd (0.20.19-1 -> 0.20.20-1)
[2018-05-26 19:32] [ALPM] upgraded nodejs (10.1.0-1 -> 10.2.1-1)
[2018-05-26 19:32] [ALPM] upgraded npm (6.0.1-1 -> 6.1.0-1)
[2018-05-26 19:32] [ALPM] upgraded nvidia (396.24-3 -> 396.24-5)
[2018-05-26 19:32] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2018-05-26 19:32] [ALPM] upgraded pacman-mirrorlist (20180517-1 -> 20180524-1)
[2018-05-26 19:32] [ALPM] upgraded perl-error (0.17025-2 -> 0.17026-1)
[2018-05-26 19:32] [ALPM] upgraded php (7.2.5-2 -> 7.2.6-1)
[2018-05-26 19:32] [ALPM] upgraded php-fpm (7.2.5-2 -> 7.2.6-1)
[2018-05-26 19:32] [ALPM] upgraded php-gd (7.2.5-2 -> 7.2.6-1)
[2018-05-26 19:32] [ALPM] upgraded postgresql-libs (10.4-2 -> 10.4-3)
[2018-05-26 19:32] [ALPM] upgraded python-logbook (1.2.1-1 -> 1.4.0-1)
[2018-05-26 19:32] [ALPM] upgraded python-pyqt5 (5.10.1-2 -> 5.10.1-3)
[2018-05-26 19:32] [ALPM] upgraded python-xdg (0.25-4 -> 0.26-1)
[2018-05-26 19:32] [ALPM] upgraded python2-logbook (1.2.1-1 -> 1.4.0-1)
[2018-05-26 19:32] [ALPM] upgraded python2-pyopenssl (17.5.0-2 -> 18.0.0-1)
[2018-05-26 19:32] [ALPM] upgraded python2-twisted (17.9.0-1 -> 18.4.0-1)
[2018-05-26 19:32] [ALPM] upgraded python2-xdg (0.25-4 -> 0.26-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-multimedia (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-script (5.10.1-1 -> 5.11.0-2)
[2018-05-26 19:32] [ALPM] upgraded qt5-speech (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded qt5-webengine (5.10.1-2 -> 5.11.0-2)
[2018-05-26 19:32] [ALPM] upgraded qt5-x11extras (5.10.1-1 -> 5.11.0-1)
[2018-05-26 19:32] [ALPM] upgraded remmina (1:1.2.0rcgit.29-2 -> 1:1.2.30-1)
[2018-05-26 19:32] [ALPM] upgraded rubygems (2.7.6-1 -> 2.7.7-1)
[2018-05-26 19:32] [ALPM] upgraded tor (0.3.2.10-1 -> 0.3.3.6-1)
[2018-05-26 19:32] [ALPM] upgraded vim-runtime (8.0.1838-1 -> 8.1.0022-1)
[2018-05-26 19:32] [ALPM] upgraded vim (8.0.1838-1 -> 8.1.0022-1)
[2018-05-26 19:32] [ALPM] upgraded virtualbox-host-modules-arch (5.2.12-2 -> 5.2.12-4)
[2018-05-26 19:32] [ALPM] upgraded wine (3.8-1 -> 3.9-1)
[2018-05-26 19:32] [ALPM] transaction completed
[2018-05-26 19:32] [ALPM] running '60-linux.hook'...
[2018-05-26 19:32] [ALPM] running '90-linux.hook'...
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Starting build: 4.16.11-1-ARCH
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Image generation successful
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Starting build: 4.16.11-1-ARCH
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2018-05-26 19:32] [ALPM-SCRIPTLET]   -> Running build hook: [shutdown]
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2018-05-26 19:32] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2018-05-26 19:32] [ALPM] running 'cacheclean.hook'...
[2018-05-26 19:32] [ALPM] running 'detect-old-perl-modules.hook'...
[2018-05-26 19:32] [ALPM] running 'gio-querymodules.hook'...
[2018-05-26 19:32] [ALPM] running 'gtk-update-icon-cache.hook'...
[2018-05-26 19:32] [ALPM] running 'reflector.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-binfmt.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-daemon-reload.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-hwdb.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-sysusers.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-tmpfiles.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-udev-reload.hook'...
[2018-05-26 19:33] [ALPM] running 'systemd-update.hook'...
[2018-05-26 19:33] [ALPM] running 'texinfo-install.hook'...
[2018-05-26 19:33] [ALPM] running 'update-ca-trust.hook'...
[2018-05-26 19:33] [ALPM] running 'update-desktop-database.hook'...
[2018-05-26 19:33] [ALPM] running 'update-mime-database.hook'...
[2018-05-26 19:55] [PACMAN] Running 'pacman -Syuu'
[2018-05-26 19:55] [PACMAN] synchronizing package lists

Last edited by neutronst4r (2018-05-26 20:01:06)


makepkg not war

Offline

#4 2018-05-26 20:35:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved]Upgrading to kernel 4.16.11-1 breaks UFW, won't find kernel...

You reported 4.16.11 as broken, but the modules were being sourced from 4.16.9


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB