Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-08-2016, 12:14 PM
|
#1
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071
|
FatDog SARPi - one site to rule them all
What most of you will know, and recognise, as the SARPi project websites have now gone. Vanished. Deleted. They went face to face with ´rm -rf´, and ´rm -rf´ won (with root priviledges).
Instead of three seperate websites supporting Slackware ARM on the Raspberry Pi 1, 2, & 3, respectively... there is now a brand new, pantheonic, SARPi website in their place.
New SARPi project URL: http://sarpi.fatdog.eu
This new SARPi website supplants the original sites and combines them all into one. If/when users try to access http://rpi.fatdog.eu, http://rpi2.fatdog.eu, and http://rpi3.fatdog.eu, they will be taken to the new SARPi website. The content of the original three sites has been incorporated and merged into this new website. So, Raspberry Pi users, whichever model they have, are still supported. All, except for the steenking RPi Zero.
Please let me know your thoughts and opinions on the new SARPi website. We´re always looking to improve and your feedback is very welcome.
Cheers! 
Last edited by Exaga; 09-08-2016 at 01:01 PM.
Reason: jaffa cakes <3
|
|
|
09-08-2016, 09:11 PM
|
#2
|
LQ Newbie
Registered: Sep 2016
Location: Ontario, Canada
Distribution: Slackware
Posts: 3
Rep: 
|
The hyperlink for the -current version of kernel_rpi3-4.4.19-armv7-1_05Sep16_fd.txz is listed as "kernel_rpi3-4.4.19-armv7-1_Monday 5th September 2016_fd.txz" and throws a 404 error if you blindly copy the link like I just did :-)
(The correctly-named file is there, just the hyperlink is incorrect)
|
|
|
09-09-2016, 02:34 AM
|
#3
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071
Original Poster
|
Quote:
Originally Posted by CODOR
The hyperlink for the -current version of kernel_rpi3-4.4.19-armv7-1_05Sep16_fd.txz is listed as "kernel_rpi3-4.4.19-armv7-1_Monday 5th September 2016_fd.txz" and throws a 404 error if you blindly copy the link like I just did :-)
(The correctly-named file is there, just the hyperlink is incorrect)
|
Oh dear. Sorry for the schoolboy error. This is me getting confused over ´release date´ and ´build date´ %TAGS%. Although, in this case they are the same date, the output is in a different format for each of these %TAGS%.
Thank you for this, CODOR. Good feedback. The link is fixed now.
|
|
|
12-01-2016, 02:31 PM
|
#4
|
Member
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94
Rep: 
|
I am looking for the .config file used to compile the current SARPI kernel (kernel_sarpi3-4.4.30-armv7-1_slackcurrent_fd0.txz). I need it to build my kernel modules.
I cloned the source from the git repository, checkout the used commit (from /boot/version-kernel_sarpi3.txt), make bcm2709_defconfig, modified CONFIG_LOCALVERSION="-v7-arm".
modinfo of the stock modules returns
Code:
vermagic: 4.4.30-v7-arm SMP mod_unload modversions ARMv7
modinfo of my module returns
Code:
vermagic: 4.4.30-v7-arm+ SMP mod_unload modversions ARMv7
Where does the additional + come from?
The kernel refuses to load the module with
Code:
insmod: ERROR: could not insert module sevseg.ko: Invalid module format
|
|
|
12-01-2016, 05:46 PM
|
#5
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by ppencho
I am looking for the .config file used to compile the current SARPI kernel (kernel_sarpi3-4.4.30-armv7-1_slackcurrent_fd0.txz). I need it to build my kernel modules.
|
If you have installed Slackware ARM using the 4.4.30 SARPi installer...
Code:
cat /usr/doc/kernel_sarpi3-4.4.30_arm/config
Or if not ...
Code:
explodepkg kernel_sarpi3-4.4.30-armv7-1_slackcurrent_fd0.txz
cd usr/doc/kernel_sarpi3-4.4.30_arm/
cat config
Quote:
Originally Posted by ppencho
I cloned the source from the git repository, checkout the used commit (from /boot/version-kernel_sarpi3.txt), make bcm2709_defconfig, modified CONFIG_LOCALVERSION="-v7-arm".
modinfo of the stock modules returns
Code:
vermagic: 4.4.30-v7-arm SMP mod_unload modversions ARMv7
modinfo of my module returns
Code:
vermagic: 4.4.30-v7-arm+ SMP mod_unload modversions ARMv7
Where does the additional + come from?
The kernel refuses to load the module with
Code:
insmod: ERROR: could not insert module sevseg.ko: Invalid module format
|
The "-arm" suffix is put there to tell the difference between SARPi kernels and kernels which have been installed from the RPi repository (using rpi-update, for example). Kernels which have been installed using rpi-update always carry the "+" suffix (e.g. 4.4.30-v7+). I'm not sure why you have the additional "+" but my advice would be not to set a LOCALVERSION and test build without it. Also, 'uname -r' should tell you which kernel and modules you currently have installed and if that's telling you "4.4.30-v7+" then perhaps you have already updated using rpi-update and are trying to use modules for a kernel you had installed (4.4.30-v7-arm) rather than the one you have installed (4.4.30-v7+), but that's just a guess. "Invalid module format" usually means the modules were built for a previous kernel version. You need to check that your installed kernel version and the kernel-headers are the same. Then you can (re)compile your modules for the current kernel.
Last edited by Penthux; 12-01-2016 at 05:52 PM.
Reason: typo
|
|
1 members found this post helpful.
|
12-01-2016, 07:38 PM
|
#6
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
Speaking of kernels, I notice
drwxr-xr-x 3 root root 4096 Oct 6 08:13 /lib/modules/4.4.21-v7-arm/
thru
drwxr-xr-x 3 root root 4096 Nov 26 18:20 /lib/modules/4.4.35-v7+/
17 folders about 855M.
Been using rpi-update, I've no experience with, is there something rpi-update switch, parameter to remove anything not current kernel, or is this a manual delete or just leave them alone?
Thanks
|
|
|
12-02-2016, 01:58 AM
|
#7
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by glorsplitz
Been using rpi-update, I've no experience with, is there something rpi-update switch, parameter to remove anything not current kernel, or is this a manual delete or just leave them alone?
Thanks
|
Just bear in mind that rpi-update is an 'apt-get -y install' type tool that may be convenient but it can seriously break things from time to time, depending on how it's used, and is not totally in-line with the Slackware way of maintaining/updating your system. There are various command-line options but to understand and learn how to use them you need to do some RTFM. The following command-option might be what you're looking for?
Code:
PRUNE_MODULES=1 rpi-update
See https://github.com/Hexxeh/rpi-update for more information.
<edit> use WITH caution!
Last edited by Penthux; 12-02-2016 at 02:02 AM.
Reason: edit
|
|
|
12-02-2016, 06:45 AM
|
#8
|
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398
|
That's great Penthux, thanks, I will RTFM.
|
|
|
12-02-2016, 03:38 PM
|
#9
|
Member
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94
Rep: 
|
Success  I have installed the fatdog kernel so I found 'config' in /usr/doc. Thanks Penthux.
The key was to build the kernel (no need to install/run it) so Module.symvers to be created. After that I built and loaded my module with no issues. Even though the kernel version strings differ:
uname -r: 4.4.30-v7-arm
modinfo: vermagic: 4.4.30-v7+ SMP mod_unload modversions ARMv7
Not related to my issue but a bit of information about the extra +:
Kernel local version
|
|
|
12-03-2016, 03:47 AM
|
#10
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by ppencho
Success  I have installed the fatdog kernel so I found 'config' in /usr/doc. Thanks Penthux.
The key was to build the kernel (no need to install/run it) so Module.symvers to be created. After that I built and loaded my module with no issues. Even though the kernel version strings differ:
uname -r: 4.4.30-v7-arm
modinfo: vermagic: 4.4.30-v7+ SMP mod_unload modversions ARMv7
|
Good to hear. Well done.
The kernel version is 4.4.30 and anything after the "-" is the version suffix specified by CONFIG_LOCALVERSION= within the kernel .config file or by building with
Code:
make config LOCALVERSION="-MY_SUFFIX"
The suffix is set by the /usr/src/linux/scripts/setlocalversion script in your Linux kernel source directory and is well worth a read.
Code:
# append a plus sign if the repository is not in a clean
# annotated or signed tagged state (as git describe only
# looks at signed or annotated tags - git tag -a/-s) and
# LOCALVERSION= is not specified
|
|
|
All times are GMT -5. The time now is 05:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|