LinuxQuestions.org
Help answer threads with 0 replies.
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-04-2016, 11:33 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 478

Rep: Reputation: 41
uname -r reports different kernel version than slackpkg


With the usual disclaimers that I am not that bright, this seems a bit odd:

Code:
root@darkmoon:~# slackpkg search kernel

Looking for kernel in package list. Please wait... DONE

The list below shows all packages with name matching "kernel".

[ installed ] - kernel-firmware-20161118git-noarch-1
[ installed ] - kernel-modules-armv7-4.8.11_armv7-arm-1
[ installed ] - kernel_armv7-4.8.11-arm-1
[ installed ] - kernel-headers-4.7.2-arm-1
[ installed ] - kernel-source-4.8.11-arm-1

You can search specific files using "slackpkg file-search file".
Ok, all well and good but there's a fly in the ointment:
Code:
root@darkmoon:~# uname -r
4.4.30-v7+
What do I need to do to get the update recognized by uname? Is the system running 4.8.11 or 4.4.30?
 
Old 12-04-2016, 12:26 PM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 559

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally Posted by slackist View Post

Code:
root@darkmoon:~# uname -r
4.4.30-v7+
What do I need to do to get the update recognized by uname? Is the system running 4.8.11 or 4.4.30?
Whatever uname reports is actually the running Kernel. This Kernel is not a Slackware ARM kernel.
You have not said anything about what system this is, so presumably it's one of the community projects which is either using its own Kernel or one copied from another distribution?
If this is the case, its documentation should say to remove the official kernel runtime packages (the kernel and kernel-modules) since they cause confusion and are not required.

Last edited by drmozes; 12-04-2016 at 12:29 PM.
 
Old 12-04-2016, 01:33 PM   #3
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 478

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by drmozes View Post
Whatever uname reports is actually the running Kernel. This Kernel is not a Slackware ARM kernel.
You have not said anything about what system this is, so presumably it's one of the community projects which is either using its own Kernel or one copied from another distribution?
If this is the case, its documentation should say to remove the official kernel runtime packages (the kernel and kernel-modules) since they cause confusion and are not required.
My humble apologies, and thank you for replying.

RPI3, slackware-arm -current
 
Old 12-04-2016, 01:52 PM   #4
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 142

Rep: Reputation: 35
Quote:
Originally Posted by slackist View Post
Ok, all well and good but there's a fly in the ointment:
Code:
root@darkmoon:~# uname -r
4.4.30-v7+
What do I need to do to get the update recognized by uname? Is the system running 4.8.11 or 4.4.30?
That looks like a SARPi kernel that's been updated with rpi-update.
 
Old 12-04-2016, 02:48 PM   #5
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 483

Rep: Reputation: 83
I have slackpkg blacklist kernel lines uncommented and added
kernel-modules-sarpi3
kernel_sarpi3
sarpi3-boot
sarpi3-hacks
kernel_armv7
 
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
Different version of kernel and kernel headers shown by uname -r and rpm query nasirjavaid Linux - Newbie 12 10-14-2016 10:34 PM
uname -r reports wrong version rbees Debian 11 08-01-2010 05:15 AM
uname -r reports wrong kernel version branque Fedora 5 09-16-2005 10:26 AM
'uname -a' gives old kernel version j91935 Debian 7 04-12-2004 03:10 PM
uname kernel version sk8ercool2001 Linux - Software 1 04-07-2004 10:03 PM

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

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