LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-12-2019, 08:15 AM   #1
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,421

Rep: Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617
Updating the kernel after install.


I had a power bump that destroyed my Pi 3B+. The replacement is a Pi 3.

I installed following the instructions on Sarpi.FatDog.eu

All was well after the install. The system ran for about two weeks problem free. I was running 4.19.69 after the install.

Today I ran slackpkg upgrade-all, and install several updates including kernel packages. The new kernel packages are 4.19.71.

After a reboot, uname -a shows:
Code:
uname -a
Linux RaspPi.cliffshome.org 4.19.69-v7-arm #1 SMP Sat Aug 31 17:17:45 BST 2019 armv7l BCM2835 GNU/Linux
Installed packages shows:

Code:
ls -l /var/lib/pkgtools/packages | grep kernel
-rw-r--r-- 1 root root   76637 Sep 12  2019 kernel-firmware-20190904_6ddb9d9-noarch-1
-rw-r--r-- 1 root root   28159 Sep 12  2019 kernel-headers-4.19.71-arm-1
-rw-r--r-- 1 root root  283783 Sep 12  2019 kernel-modules-armv7-4.19.71_armv7-arm-1
-rw-r--r-- 1 root root  123882 Sep  6  2019 kernel-modules-sarpi3-4.19.69-armv7-1_slackcurrent_31Aug19_sp1
-rw-r--r-- 1 root root 4176960 Sep 12  2019 kernel-source-4.19.71-arm-1
-rw-r--r-- 1 root root   25697 Sep 12  2019 kernel_armv7-4.19.71-arm-1
-rw-r--r-- 1 root root     931 Sep  6  2019 kernel_sarpi3-4.19.69-armv7-1_slackcurrent_31Aug19_sp1
I'm still running the old kernel. I have looked on the Sarpi site for any hints on how to get the new kernel running, I have found nothing.

I did read the README file in the /boot dir, but that file deals with a new install. This is an update.

I not new to Slackware, but am new to the arm version. Is there a document somewhere that explains the steps I need to make to get an updated kernel running after an upgrade?

If not, would someone please let me know what I have to do.
 
Old 09-13-2019, 06:50 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,587

Rep: Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177
Depending on whether you're running lilo or grub, you have to install the kernel, I imagine. This isn't urgent, since the upgrade 69-71 will be a few bugs sorted, and maybe a driver or two added for stuff you haven't heard of.
The lilo config file: /etc/lilo.conf
The grub config file:/boot/grub/grub.cfg.

You do it as root. I'd recommend copying & pasting your existing entry, then changing the version number. Leave it as an extra entry initially, just in case, then you can delete the old one afterwards, and remove the old kernel & modules.
 
Old 09-13-2019, 07:15 AM   #3
amigauser1
LQ Newbie
 
Registered: Sep 2019
Posts: 2

Rep: Reputation: Disabled
Hi camorri

you cannot upgrade the kernel like this on a Pi. The packages provided by slackware-arm are not suitable for th Pi. If you installed the Pi with SARPi the best way to upgrade is to use the packages from there. You find them in the Downloads section on the SARPi Homepage. If I'm correct you installed a Pi 3 with slackware-current. So go to sarpi.fatdog.eu/index.php?p=rpi3getcurrent . What you need are the four System Packages. Download them and do a an upgradepkg on each of them. After a reboot you should have the new kernel. However, as of now there's no need to do so, because you already have the latest packages (kernel 4.19.69). But you might want to check again in a wile. These packages are updated ~once per mounth or something like that.
 
3 members found this post helpful.
Old 09-13-2019, 08:40 AM   #4
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,421

Original Poster
Rep: Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617
amigauser1,

Thank-you, that clears up my confusion. I could not find a clear set of instructions on how to keep the kernel, firmware, hacks, and modules up to date.

I have been running Slackware on BIOS based system since version 8, updating kernels there for a long time. This is a different process.

I'm marking this thread solved.
 
1 members found this post helpful.
Old 09-13-2019, 01:49 PM   #5
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 773

Rep: Reputation: 172Reputation: 172
business_kid, what amigauser1 said, try to pay attention
 
Old 10-06-2019, 02:48 PM   #6
TheTKS
Member
 
Registered: Sep 2017
Location: The deep south... of Canada
Distribution: Slackware, Xubuntu, elementary, OpenBSD, Puppy, TinyCore
Posts: 64

Rep: Reputation: Disabled
amigauser1, thanks for the information.

I installed slackwarearm -current on an RPi 4 per the excellent instructions on SARPi, but I also missed the right instructions for ugdating the kernel.

I did slackpkg upgrade-all today, too, to the non-sarpi 4.19.75, but uname -r still showed 4.19.69, and then found this thread.

I decided to:
- removepkg the non-sarpi 4.19.75
- installpkg the sarpi 4.19.69 kernel and modules again

Although I think the correct way would have been upgradepkg --reinstall rather than installpkg, so far everything I have tried looks like it is working, with just one detail to sort out (date & time not updating via ntpd or ntpdate.)

TKS
 
  


Reply

Tags
arm kernel update


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
rpm changes are not updating immediately and updating after some time. shri_22ram Linux - Newbie 1 05-13-2013 12:50 PM
[SOLVED] Kernel Panic after updating kernel 2.6.37-r4. netpumber Linux - General 3 05-03-2011 02:29 PM
Virtualbox kernel modules won't load after updating kernel in openSUSE 11.0 JamesHall SUSE / openSUSE 6 02-03-2009 04:36 PM
Kernel Panic message after rebooting system three hours after updating Mepis 6.0. bliss4one MEPIS 13 11-11-2008 07:01 AM
Updating VMWare After Updating CentOS Linux31 Red Hat 2 09-18-2007 02:49 PM

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

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