Raspberry Pi 3 ARMv7 - nostalgic arch

Ask questions about Arch Linux ARM. Please search before making a new topic.

Raspberry Pi 3 ARMv7 - nostalgic arch

Postby captain » Fri Sep 23, 2016 6:07 pm

Hi all,
I recently installed archlinuxarm on the latest Raspberry Pi and all was well until I did the usual pacman -ySu.
It seems that for some reason, the newly installed arch version isn't properly integrated. SSHing into the machine works without any issues, but I get this error:
$this->bbcode_second_pass_code('', '[root@rapiserv ~]# iptables -L
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.19-1-ARCH
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.')
It's actually not a great surprise, since that folder does not exist, but a newer version:
$this->bbcode_second_pass_code('', '[root@rapiserv ~]# ls /lib/modules/
4.4.21-1-ARCH extramodules-4.4.21--raspberrypi')
Uname also shows the wrong version:
$this->bbcode_second_pass_code('', '
[root@rapiserv ~]# uname -a
Linux rapiserv 4.4.19-1-ARCH #1 SMP Tue Aug 23 19:18:03 MDT 2016 armv7l GNU/Linux')

The suggestions found on the internet mostly suggested a reboot, which didn't help.
I also did $this->bbcode_second_pass_code('', 'pacman -Qnq | pacman -S -'), rebooted and still same error.

I'd be greatful for any further suggestions :D

------------------------------------------------------------------------------------------------------------------------------
EDIT:
downgrading like so:
$this->bbcode_second_pass_code('', 'pacman -U /var/cache/pacman/pkg/linux-raspberrypi-4.4.19-1-armv7h.pkg.tar.xz')
worked as a temporary solution to the issue.
I'd still prefer to stay on the regular update cycle... if anyone has suggestion, that'd be grand!
Last edited by captain on Fri Sep 23, 2016 9:52 pm, edited 2 times in total.
captain
 
Posts: 15
Joined: Sun Jun 03, 2012 6:31 pm

Re: Raspberry Pi 3 ARM7 - nostalgic arch

Postby WarheadsSE » Fri Sep 23, 2016 9:46 pm

Make sure /boot is mounted when you update.

Also, it is not ARM7, its is ARMv7 (small letter, huge difference)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby captain » Fri Sep 23, 2016 9:56 pm

$this->bbcode_second_pass_quote('WarheadsSE', ' ')it is not ARM7, its is ARMv7

thanks, all fixed.

Thanks for your recommendation. Unfortunately, it didn't make a difference. I ran a full system upgrade and it installed and updated the module dependencies without any errors.
$this->bbcode_second_pass_code('', '>>> Updating module dependencies. Please wait ...')

after rebooting, iptables was broken again, same error message..
downgrading fixed the issue again, without reboot.
captain
 
Posts: 15
Joined: Sun Jun 03, 2012 6:31 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby WarheadsSE » Sun Sep 25, 2016 3:45 pm

Your used boot partition is not properly mounted at the time of kernel package install.

Thus, the kernel being booted is 4.4.19, and the installed modules are 4.4.21
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby captain » Mon Sep 26, 2016 8:08 pm

ok, thanks.
so, please tell me, how do I mount boot properly?
captain
 
Posts: 15
Joined: Sun Jun 03, 2012 6:31 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby WarheadsSE » Tue Sep 27, 2016 5:36 pm

Where is your boot partition? Does it show in `mount` ?

Default instructions, should be /dev/mmcblk0p1 on /boot
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby captain » Tue Sep 27, 2016 7:57 pm

thanks again!
It worked this time. After checking with 'mount', there was no specific entry for boot, although it was read/writable by root.
mounting boot manually, updating and rebooting resulted in a system in working order as far as I can tell.
Should I add the boot partition to fstab? On an older raspberry I noticed there is one for boot..
captain
 
Posts: 15
Joined: Sun Jun 03, 2012 6:31 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby modul » Tue Sep 27, 2016 9:30 pm

Strange, my Arch install some month ago created an entry in fstab.

$this->bbcode_second_pass_code('', '/dev/mmcblk0p1 /boot vfat defaults 0 0')
modul
 
Posts: 20
Joined: Thu May 05, 2016 6:31 pm

Re: Raspberry Pi 3 ARMv7 - nostalgic arch

Postby captain » Wed Sep 28, 2016 11:26 am

$this->bbcode_second_pass_quote('modul', 'S')trange

Yeah, my other pi has the exact same line as well. I suppose something must have gone wrong during install, or - more likely - I accidentally deleted that line when adding things to fstab :shock:
captain
 
Posts: 15
Joined: Sun Jun 03, 2012 6:31 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 17 guests