LinuxQuestions.org
Review your favorite Linux distribution.
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 03-24-2021, 10:17 AM   #1
nelsonslament
LQ Newbie
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
xtables-addons slackbuild compiles to the wrong kernel version with sarpi and raspberry pi3


I'm trying to get xtables-addons to work on my raspberry pi. It will compile fine and build the package but, my issue is that it is building the kernel modules for a kernel other than what I am running. The slackbuild puts the kernel modules into /lib/modules/5.10.23-armv7/extra/ where as my kernel is 5.10.23-v7-sarpi3. I also tried just copying the modules into /lib/modules/5.10.23-v7-sarpi3/extra but when I modprobe the module I get the following:

Code:
modprobe: ERROR: could not insert 'xt_geoip': Exec format error
I ran modinfo on the module and this is the output:
Code:
filename:       /lib/modules/5.10.23-armv7/extra/xt_geoip.ko
alias:          ipt_geoip
alias:          ip6t_geoip
description:    xtables module for geoip match
author:         Samuel Jean
author:         Nicolas Bouliane
license:        GPL
depends:        x_tables
name:           xt_geoip
vermagic:       5.10.23-armv7 SMP mod_unload modversions ARMv6 p2v8
for comparison, I also ran modinfo on one of the modules for my kernel:

Code:
filename: /lib/modules/5.10.23-v7-sarpi3/kernel/net/rose/rose.ko
alias:          net-pf-11
license:        GPL
description:    The amateur radio ROSE network layer protocol
author:         Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
srcversion:     994CAB55A6871B1AB53F906
depends:        ax25
intree:         Y
name:           rose
vermagic:       5.10.23-v7-sarpi3 SMP mod_unload modversions ARMv7 p2v8
parm:           rose_ndevs:number of ROSE devices (int)
The only difference I see is the vermagic, the slackbuilds uses a kernel that I don't have and is using ARMv6 rather than ARMv7

Is there any way to get the slackbuild to build against the kernel I have?
 
Old 03-26-2021, 08:18 PM   #2
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, OpenBSD
Posts: 1,547

Rep: Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869
Can you post a link to the SlackBuild script you are using? It is difficult to know what went wrong without it.
 
  


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
[SOLVED] iptables and geoid / xtables-addons problem makeyourself Linux - Networking 1 02-17-2019 09:16 PM
iptables xtables-addons installation failure CrazyDavy Linux - Software 0 11-20-2018 11:44 PM
iptables xtables-addons installation failure CrazyDavy Linux - Security 1 11-20-2018 11:07 AM
LXer: Xtables-Addons On Centos 6 & Iptables GeoIP Filtering LXer Syndicated Linux News 0 08-19-2011 10:40 PM

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

All times are GMT -5. The time now is 08:48 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