LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-24-2021, 09:04 AM   #1
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Release: Slackware ARM 15.0 release candidate 1


Hello

The subject says it all! Feel free to post feedback, comments, bugs and so on in this forum.

Cheers
s.
 
Old 09-24-2021, 01:48 PM   #2
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by drmozes View Post
The subject says it all! Feel free to post feedback, comments, bugs and so on in this forum.
Code:
root@kron:~# cat /etc/slackware-version
Slackware 15.0
root@kron:~# uname -a
Linux kron 5.14.2-v7l-sarpi4 #1 SMP Tue Sep 14 09:29:24 BST 2021 armv7l BCM2711 GNU/Linux
root@kron:~# cat /proc/device-tree/model && echo
Raspberry Pi 4 Model B Rev 1.4
All good so far. Smooth, quick, and stable. Nothing noteworthy to report.
 
1 members found this post helpful.
Old 09-24-2021, 08:15 PM   #3
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 339

Rep: Reputation: Disabled
Release: Slackware ARM 15.0 release candidate 1

I noticed you're running 5.14 kernel. Will this be coming soon to Rpi3?
 
Old 09-25-2021, 11:07 AM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by kermitdafrog8 View Post
I noticed you're running 5.14 kernel. Will this be coming soon to Rpi3?
Stuart is shipping Slackware ARM 15.0 rc1 with Linux kernel 5.14.x and so the SARPi shizzle will follow suit. So that's a long-winded way of saying, "Yes. Absolutely!"

I've been building, testing, and running kernel 5.14.x for a few weeks. The only problem is the turnaround time for the RPi kernel guys pushing updates upstream and having them included into the mainline kernel source tree. If at all. Although that's nothing new, by any means. But it does seem to work perfectly for my needs with Slackware ARM 15.0 rc1 thus far, which I've been testing for approx. 24 hours and am suitably impressed with what Stuart has made available.
 
3 members found this post helpful.
Old 09-27-2021, 05:14 AM   #5
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by kermitdafrog8 View Post
I noticed you're running 5.14 kernel. Will this be coming soon to Rpi3?
It's there now if/when you want it.

Quote:
Originally Posted by drmozes View Post
Feel free to post feedback, comments, bugs and so on in this forum.
Stu, over the last couple of days of testing (only on CLI - I haven't used a desktop environment yet) I've found Slackware ARM 15.0 release candidate 1 on the Raspberry Pi 2, 3, 4 to be flawless in operation. It's a little quicker to load, run and execute commands/programs, than previously. Not by a huge amount but it is noticeable to me in most situations.

Although xz compression with 'makepkg' seems to be a little slower, on the Raspberry Pi 2 and 3 but not on the Raspberry Pi 4. However, it's not any kind of problem at all. I'm still playing around and testing with it, comparing results, etc. I feel the way in which I use 'makepkg --threads 1' command options to create large pkgs on the Raspberry Pi 2 and 3 [with < 1GB RAM available] may be a contributing factor. I really don't know if multi-threading on multi-core CPUs is possible now with xz compression on Slackware ARM 15.0 rc1. If you have any thoughts on the matter I'd be interested to hear them.

One small request for the wish-list is an update for i2c-tools. The latest available version is i2c-tools-4.3 and Slackware ARM 15.0 rc1 still features i2c-tools-4.1 version.

Code:
root@torq:~# cat /etc/os-release | grep PRETTY
PRETTY_NAME="Slackware 15.0 arm"
root@torq:~# slackpkg search i2c-tools

Looking for i2c-tools in package list. Please wait... DONE

The list below shows all packages with name matching "i2c-tools".

[ installed ] - i2c-tools-4.1-arm-3

You can search specific files using "slackpkg file-search file".

root@torq:~#
Great work, as always. Loving it. Thanks a lot!
 
Old 09-27-2021, 06:34 AM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by Exaga View Post
I feel the way in which I use 'makepkg --threads 1' command options to create large pkgs on the Raspberry Pi 2 and 3 [with < 1GB RAM available] may be a contributing factor.
It defaults to 2 threads and in my test here, it's consistently 1 second slower when using 1 thread when tested on armv7 Hardware Models with 2GB and 1GB RAM.
I tested building a 44MB package, but perhaps there are noticeable differences when compressing larger volumes of data. I haven't looked at how xz assigns memory.
It certainly doesn't look like it's worth making any changes though.

Quote:
i2c-tools-4.1 version.
done, thanks.
 
1 members found this post helpful.
Old 09-27-2021, 08:45 AM   #7
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by drmozes View Post
It certainly doesn't look like it's worth making any changes though.
Certainly no changes are warranted in this instance. Not something you need to waste any time on but thanks for testing it. I'm talking about large pkgs in the region of 80-100MB (bytes not bits) or greater in size, such as the Linux kernel source pkg which is currently 116MB after xz compression. With any pkg of this size (on the Raspberry Pi 2 and 3) 'makepkg' using the default 2 threads will crash out with a memory error because there's not enough available RAM to deal with such a large amount of data - which is why I need to use the '--threads 1' parameter to limit it. On the Raspberry Pi 4 [2/4GB RAM] this is never a concern and I just let 'makepkg' do its thing without negating the multi-threading. When creating smaller pkgs (on any Raspberry Pi device) any decrease in xz compression processing speeds is negligable.
 
Old 09-27-2021, 09:37 AM   #8
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by Exaga View Post
Certainly no changes are warranted in this instance. Not something you need to waste any time on but thanks for testing it. I'm talking about large pkgs in the region of 80-100MB (bytes not bits) or greater in size, such as the Linux kernel source pkg which is currently 116MB after xz compression. With any pkg of this size (on the Raspberry Pi 2 and 3) 'makepkg' using the default 2 threads will crash out with a memory error because there's not enough available RAM to deal with such a large amount of data - which is why I need to use the '--threads 1' parameter to limit it. On the Raspberry Pi 4 [2/4GB RAM] this is never a concern and I just let 'makepkg' do its thing without negating the multi-threading. When creating smaller pkgs (on any Raspberry Pi device) any decrease in xz compression processing speeds is negligable.
Many of the recent Kernel packages were built on a 1GB RAM Banana Pi - it works. Perhaps you don't have enough swap?
 
1 members found this post helpful.
Old 09-27-2021, 10:22 AM   #9
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by drmozes View Post
Many of the recent Kernel packages were built on a 1GB RAM Banana Pi - it works. Perhaps you don't have enough swap?
Now there's a thought. Thanks. I might try increasing swap partition size and see if it makes any difference. Although I do have a feeling I've been there before. It's not even an issue for me tbh. For example, the total build time for a SARPi batch is 4-5 minutes quicker to complete with Slackware ARM 15.0 rc1 than it was previously. So xz compression being a little slower than anticipated on the Raspberry Pi 2 and 3 has no impact whatsoever.
 
Old 10-15-2021, 05:48 AM   #10
lucabon
Member
 
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 106

Rep: Reputation: 76
Quote:
Originally Posted by Exaga View Post
So xz compression being a little slower than anticipated on the Raspberry Pi 2 and 3 has no impact whatsoever.
I usually disable multi-thread compression on single-board PC, since the memory usage from 1 to 2 threads jumps from 670MB to 2.5GB: on system with less than 3GB it will surely slow down things on big packages like kernel-source or kernel-firmware, even when enabling zswap.
Using more than 1 thread also increase a little the final size of the package.

For armv5te, since compressing with -9 will requires 65MB of RAM (some systems have only 64 or 32 MB of RAM...), I also put the XZ_DEFAULTS=--lzma2=dict=4MiB to reduce the memory required for decompression to only 5MB. The final size is usually greater by only 2-3% on bigger packages, and less than 1% on smaller/normal packages.
 
1 members found this post helpful.
Old 10-15-2021, 08:59 AM   #11
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by lucabon View Post
I usually disable multi-thread compression on single-board PC, since the memory usage from 1 to 2 threads jumps from 670MB to 2.5GB: on system with less than 3GB it will surely slow down things on big packages like kernel-source or kernel-firmware, even when enabling zswap.
Using more than 1 thread also increase a little the final size of the package.

For armv5te, since compressing with -9 will requires 65MB of RAM (some systems have only 64 or 32 MB of RAM...), I also put the XZ_DEFAULTS=--lzma2=dict=4MiB to reduce the memory required for decompression to only 5MB. The final size is usually greater by only 2-3% on bigger packages, and less than 1% on smaller/normal packages.
Thanks for this information lucabon.

It's been a while since I've fathomed the benefits and drawbacks of compression format/ratio vs file size vs time taken vs personal preference. Mainly because time is not a factor in my considerations and Slackware ARM just works flawlessly anyway on the Raspberry Pi devices. So in the grand scheme of things all that really matters is that there aren't any problems, and there are zero problems that I've experienced with Slackware ARM 15.0 rc1 yet.
 
Old 10-20-2021, 08:43 AM   #12
lucabon
Member
 
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 106

Rep: Reputation: 76
I don't know where it will be better to post it... I try here: if wrong place, please tell me!

If someone (apart me...) is interested in armv5 porting of Slackware-current (15), you can find packages and source code/scripts/patches here:

https://bonslack.bonnix.org/bonslack_armv5te-current/

I started the porting about 2 years ago, when I noted that the -current release of SlackwareARM requires armv7 hardware. Since I actually have many armv5 machines running, I really needed armv5 up-to-date porting of Slackware :-P

Hoping it could be useful for someone other than me!

Last edited by lucabon; 10-21-2021 at 04:34 AM. Reason: Change the URL
 
Old 10-20-2021, 09:18 AM   #13
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Original Poster
Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by lucabon View Post
I don't know where it will be better to post it... I try here: if wrong place, please tell me!

If someone (apart me...) is interested in armv5 porting of Slackware-current (15), you can find packages and source code/scripts/patches here:

https://slackware.bonnix.org/slackware_arm-current/

I started the porting about 2 years ago, when I noted that the -current release of SlackwareARM requires armv7 hardware. Since I actually have many armv5 machines running, I really needed armv5 up-to-date porting of Slackware :-P

Hoping it could be useful for someone other than me!

The decision to drop software floating point support was made because the hardware is old technology and the software stack isn't as well-maintained as it was years ago when armv5 was generally the best available; and for new users in particular, you'll get a superior experience buying more modern hardware.

It's a good project though because much of the existing armv5 hardware is pretty solid, but please rename it from 'Slackware ARM'- it's not an official port. Once you rename it, I'll reference it as an option within the upgrade documentation for 15.0.

Thanks
s.

Last edited by drmozes; 10-20-2021 at 09:39 AM.
 
1 members found this post helpful.
Old 10-20-2021, 09:42 AM   #14
lucabon
Member
 
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 106

Rep: Reputation: 76
Quote:
Originally Posted by drmozes View Post
It's a good project though because much of the existing armv5 hardware is pretty solid, but please rename it from 'Slackware ARM'- it's not an official port.
Sure. I renamed the basename to "bonslack_armv5te": it will suffice, or it is better to rename also the architecture ("arm" => "armv5te") on all packages filename?

I also ported other architectures, including aarch64: actually it is "bonslack_aarch64". Should I also rename "aarch64" and its packages filename to something (e.g. armv8), or it will be ok leaving "aarch64"?

Thanks!
Luca
 
Old 10-20-2021, 10:06 AM   #15
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by lucabon View Post
Should I also rename "aarch64" and its packages filename to something (e.g. armv8), or it will be ok leaving "aarch64"?
"ARMv8" and "AArch64" are just names for the architecture running the "A64" instruction set. I think "Arm7" is trademarked but not "Arm8" - but I could be wrong. See the ARM trademark list.

You should be OK using "AArch64" I think.

"Slackware" is a trademarked brand name so one needs to ask Patrick's permission before using it in certain ways. This page contains the relevant guidance on Slackware brand name usage.
 
  


Reply



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
LXer: First release candidate for openSUSE on ARM arrives LXer Syndicated Linux News 0 10-03-2012 02:01 AM
LXer: Bodhi Linux ARM Release Candidate for Genesi LXer Syndicated Linux News 0 06-12-2012 03:31 AM

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

All times are GMT -5. The time now is 05:03 PM.

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