SOLVED-Kernel(module) problems after restore boot partition

This forum is for discussion about general software issues.

SOLVED-Kernel(module) problems after restore boot partition

Postby bassie127 » Thu Feb 21, 2019 9:31 pm

Running arch linux on RPI3 (boot on SD-card, root on hard disk)
  • My system was up-to-date
  • I messed up my boot partition
  • I had a backup (via fsarchiver) of the boot partition that was 3 months old
  • I restored this boot partition via fsarchiver
  • Now I had problems with missing kernel modules (for example fuse, needed for encfs)
  • $this->bbcode_second_pass_code('', 'pacman -Q linux') gives: 4.19.23-1
  • $this->bbcode_second_pass_code('', 'uname -r') gives: 4.14.56-1-ARCH
  • $this->bbcode_second_pass_code('', 'journalctl -b -p0..3') gives "eb 21 14:45:34 RPI3 systemd-modules-load[231]: Failed to lookup module alias 'fuse': Function not implemented
    "
  • I tried: $this->bbcode_second_pass_code('', '#pacman -S linux'), but after that I got an kernel panic

Any tips how to solve this?
Last edited by bassie127 on Fri Feb 22, 2019 10:11 am, edited 1 time in total.
bassie127
 
Posts: 4
Joined: Sun Apr 03, 2016 7:59 pm

Re: Kernel(module) problems after restore of boot partition

Postby bassie127 » Fri Feb 22, 2019 10:10 am

I have solved the problem myself, by first downgrading the kernel, header files and kernel module from /var/cache/pacman/pkg.

$this->bbcode_second_pass_code('', 'pacman -U linux-raspberrypi-4.14.56-1-armv7h.pkg.tar.xz linux-api-headers-4.14.8-1-any.pkg.tar.xz fuse-common-3.2.4-2-armv7h.pkg.tar.xz iptables-1.8.0-1-armv7h.pkg.tar.xz')
$this->bbcode_second_pass_code('', 'pacman -Q linux') => 4.14.56
$this->bbcode_second_pass_code('', 'uname -r') -> 4.14.56-1-ARCH
So, now installed and loaded kernel are the same
reboot; everything works
$this->bbcode_second_pass_code('', 'pacman -Suy') #updates kernel, header and modules
reboot: everything still OK
bassie127
 
Posts: 4
Joined: Sun Apr 03, 2016 7:59 pm


Return to General

Who is online

Users browsing this forum: No registered users and 12 guests