LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-20-2020, 06:03 AM   #226
Lockywolf
Member
 
Registered: Jul 2007
Posts: 731

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308

Not sure it is not an "everyone knows" question, but on my Raspberry PI 4B Sarpi64+slarm64 seems to only display 1Gb of RAM instead of 8Gb.

Code:
root@darkstar:/boot# free -h
              total        used        free      shared  buff/cache   available
Mem:          924Mi        58Mi       660Mi       0.0Ki       205Mi       850Mi
Swap:            0B          0B          0B
root@darkstar:/boot# uname -a
Linux darkstar.example.net 5.4.40-v8-aarch64 #1 SMP PREEMPT Wed May 13 16:01:06 BST 2020 aarch64 GNU/Linux
As far as I know, there were no RPi versions with 1G of RAM, so it is unlikely that I have bought a counterfeit version.
Is there some trick that reclaims the rest of the 7G from whatever is holding it? (Video card?)

UPD:Ah, my bad. /boot/config.txt had the memory=1024 line. I don't remember writing it there, but perhaps I just forgot.

Last edited by Lockywolf; 12-20-2020 at 08:04 AM.
 
Old 12-20-2020, 02:13 PM   #227
wowbaggerHU
Member
 
Registered: Feb 2017
Location: Hungary
Distribution: Slackware
Posts: 304

Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
slarm64.org website
Congratulations on opening the website! Hopefully it will help to grow your project in popularity.
 
Old 12-20-2020, 02:15 PM   #228
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wowbaggerHU View Post
Congratulations on opening the website! Hopefully it will help to grow your project in popularity.
Thanks, let's see.
 
Old 12-21-2020, 08:19 PM   #229
Lockywolf
Member
 
Registered: Jul 2007
Posts: 731

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Has anyone successfully compiled wireguard-linux-compat on slarm64?

The slackbuild works for me, but the resulting module does not load: "could not insert 'wireguard': Exec format error", although the arch seems to be the same, arm-v8.
 
Old 12-22-2020, 01:14 AM   #230
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
which kernel and board?
this module is included in the official kernel
 
Old 12-22-2020, 01:17 AM   #231
Lockywolf
Member
 
Registered: Jul 2007
Posts: 731

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Sarpi64 kernel, the last one. Doesn't seem to have the module.

Board is Raspberry Pi 4B
 
Old 12-22-2020, 01:22 AM   #232
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
you have to look at mistakes.
in the kernel 5.9.12 it is enabled.
Code:
filename:       /lib/modules/5.9.12/kernel/drivers/net/wireguard/wireguard.ko
alias:          net-pf-16-proto-16-family-wireguard
alias:          rtnl-link-wireguard
version:        1.0.0
author:         Jason A. Donenfeld <Jason@zx2c4.com>
description:    WireGuard secure network tunnel
license:        GPL v2
srcversion:     DC625E07ADB8583C33035A8
depends:        libcurve25519-generic,ipv6,libblake2s,udp_tunnel,libchacha20poly1305,ip6_udp_tunnel
intree:         Y
name:           wireguard
vermagic:       5.9.12 SMP preempt mod_unload modversions aarch64
 
Old 12-22-2020, 01:26 AM   #233
Lockywolf
Member
 
Registered: Jul 2007
Posts: 731

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
I looked at the official website, where it has 5.4.70

https://sarpi64.fatdog.eu/index.php?p=rpi4downloads

https://sarpi64.fatdog.eu/index.php?p=rpi4getcurk5

Last edited by Lockywolf; 12-22-2020 at 01:30 AM.
 
Old 12-22-2020, 01:31 AM   #234
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Lockywolf View Post
I looked at the official website, where it has 5.4.70

https://sarpi64.fatdog.eu/index.php?p=rpi4downloads
need logs to identify the problem.
5.9.12 is also official from Raspberry Pi
 
Old 12-22-2020, 01:33 AM   #235
Lockywolf
Member
 
Registered: Jul 2007
Posts: 731

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
I'll try the 5.9.12 first
 
Old 12-22-2020, 01:36 AM   #236
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
don't forget to make changes in /boot/config.txt

Code:
kernel=Image
 
Old 12-23-2020, 12:43 AM   #237
Lockywolf
Member
 
Registered: Jul 2007
Posts: 731

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Post

Quote:
Originally Posted by sndwvs View Post
you have to look at mistakes.
in the kernel 5.9.12 it is enabled.
Code:
filename:       /lib/modules/5.9.12/kernel/drivers/net/wireguard/wireguard.ko
alias:          net-pf-16-proto-16-family-wireguard
alias:          rtnl-link-wireguard
version:        1.0.0
author:         Jason A. Donenfeld <Jason@zx2c4.com>
description:    WireGuard secure network tunnel
license:        GPL v2
srcversion:     DC625E07ADB8583C33035A8
depends:        libcurve25519-generic,ipv6,libblake2s,udp_tunnel,libchacha20poly1305,ip6_udp_tunnel
intree:         Y
name:           wireguard
vermagic:       5.9.12 SMP preempt mod_unload modversions aarch64
This kernel worked for me, thank you.
 
Old 12-23-2020, 01:04 AM   #238
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
Lockywolf, i have updated to the latest version 5.10.2
 
Old 12-23-2020, 08:02 AM   #239
shelldweller
Member
 
Registered: Mar 2019
Distribution: Slackware
Posts: 302

Rep: Reputation: Disabled
slackpkg update gpg

I am getting this, even after running slackpkg update gpg:

Code:
You need the GPG key of slarm64 AArch64 <mara@fail.pp.ua>.
To download and install that key, run:

        # slackpkg update gpg

You can disable GPG checking too, but it is not a good idea.
To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG
variable to off - you can see an example in the original slackpkg.conf.new
file distributed with slackpkg.
I can probably get it to work manually, but I thought you might like to know that something is happening with the gpg-key as is.
 
Old 12-23-2020, 08:06 AM   #240
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,094

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shelldweller View Post
I am getting this, even after running slackpkg update gpg:

Code:
You need the GPG key of slarm64 AArch64 <mara@fail.pp.ua>.
To download and install that key, run:

        # slackpkg update gpg

You can disable GPG checking too, but it is not a good idea.
To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG
variable to off - you can see an example in the original slackpkg.conf.new
file distributed with slackpkg.
I can probably get it to work manually, but I thought you might like to know that something is happening with the gpg-key as is.
Thanks, the information for checking gpg has been updated, so manually first you need to install the new slackpkg.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AArch64 kernel and modules to install Slackware ARM current on the RPi3 Exaga Slackware - ARM 27 02-07-2017 11:45 AM
LXer: ARM64/AArch64 Support Going Into Linux 3.7 Kernel LXer Syndicated Linux News 0 10-02-2012 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration