LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2018, 11:12 AM   #1
Pigi_102
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Rep: Reputation: 3
Where can I find kernel sources for sarpi ( 14.2 )


Hi all
I have installed, some months ago, a raspberry p3 with lot of satisfaction.

Everything works well, but in these days I have the need to compile a kernel module ( PF_RING from ntopng ).

After compiling I have tried to insmod it and it didn't works, complaining about a module layout problem.
( pf_ring: disagrees about version of symbol module_layout )
After some investigation I have checked for the source tree and found that the src tree is:

linux-4.10.0next20170224

while the uname -r says:
4.9.5-v7-arm

So my question is: where can I find the source tree for my kernel ?

Thanks in advance

Pigi

Last edited by Pigi_102; 02-16-2018 at 05:03 PM.
 
Old 02-16-2018, 12:43 PM   #2
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 427

Rep: Reputation: 209Reputation: 209Reputation: 209
https://www.linuxquestions.org/quest...5/#post5803408
 
Old 02-16-2018, 12:52 PM   #3
Pigi_102
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 3
abga,
I have already followed the advices in the post you mention, and have cloned the git but the rpi-4.9.y branch pulled out the 4.9.80 ( according to Makefile : VERSION = 4 PATCHLEVEL = 9 SUBLEVEL = 80 ) and mine ( sarpi ) is 4.9.5
I think that I will fall in the same problem.

That's why I was asking for the linux source used to build the sarpi kernel.

In case I won't find it I will try to build a new one, or even try to download one following the instruction on site but it don't seems to be so easy
 
Old 02-16-2018, 03:30 PM   #4
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 224

Rep: Reputation: 66
Quote:
Originally Posted by Pigi_102 View Post
That's why I was asking for the linux source used to build the sarpi kernel.
Take your pick: https://github.com/raspberrypi/linux/branches
Or recently: https://www.kernel.org

The SARPi Project used these repositories (past & present) as the source for building kernels.

Quote:
Originally Posted by Pigi_102 View Post
In case I won't find it I will try to build a new one, or even try to download one following the instruction on site but it don't seems to be so easy
What exactly are you looking for?

<edit> If you're meaning kernel 4.9.5 source tree then that would've been the RPi repository which was used as the Linux source.

Last edited by Penthux; 02-16-2018 at 03:49 PM. Reason: edit
 
Old 02-16-2018, 05:03 PM   #5
Pigi_102
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 3
I ended up by d/loading 4.9.5 vanilla from kernel.org
Then I have copied the defconfig from the rpi sources and compiled a kernel ( just to have everything needed ) but not installd.
After that I managed to compile a pf_ring.ko correctly.

Thanks to all

Pigi
 
  


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
SARPi website new URL - sarpi.co.uk Exaga Slackware - ARM 4 01-28-2018 06:36 PM
SARPi updated to kernel 4.14 Exaga Slackware - ARM 7 01-23-2018 04:27 PM
SARPi installer and packages using kernel 4.9.61 Exaga Slackware - ARM 1 11-19-2017 02:10 AM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
can't find kernel sources Avatar Debian 3 09-12-2005 12:36 PM

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

All times are GMT -5. The time now is 07:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration