LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-18-2017, 12:34 PM   #1
MarcoB
LQ Newbie
 
Registered: Apr 2015
Location: The Hague, Netherlands
Distribution: FreeBSD, NetBSD, Slackware, OpenVMS
Posts: 19

Rep: Reputation: Disabled
How to install kernel in tar.xz format


Hi,

I have a laptop running Slackware-current. Today I updated the system to the latest and greatest, and it installed kernel 4.14. But with this kernel my Broadcom wireless does not work anymore and updating it with sbopkg fails. So I would like to install the stable kernel 4.13.14. I downloaded the linux-4.13.14.tar.xz from kernel.org, but this doesn't seem to be able to install in Slackware because installpkg want the package in txz format.

So does anyone know how to install a kernel downloaded from kernel.org?

Thanks in advance,
Marco
 
Old 11-18-2017, 12:51 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
What you downloaded was just the source of the kernel. You'd need to configure it and then build it, then installing the modules and moving the bzimage.

If you're not familiar with kernel compiling and can't get the broadcom module to work, you may want to consider running the latest stable version of Slackware, 14.2. -current is an unstable development tree that can frequently break programs, and running it generally requires a decent knowledge of Linux and compiling so you can fix your system when dependencies get out of whack.

EDIT: If you do want to look into build a kernel, check the slackdoc page on it.

EDIT2: khronosschoty beat me with the link to slackdocs

Last edited by bassmadrigal; 11-18-2017 at 12:54 PM.
 
1 members found this post helpful.
Old 11-18-2017, 12:52 PM   #3
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by MarcoB View Post
Hi,

I have a laptop running Slackware-current. Today I updated the system to the latest and greatest, and it installed kernel 4.14. But with this kernel my Broadcom wireless does not work anymore and updating it with sbopkg fails. So I would like to install the stable kernel 4.13.14. I downloaded the linux-4.13.14.tar.xz from kernel.org, but this doesn't seem to be able to install in Slackware because installpkg want the package in txz format.

So does anyone know how to install a kernel downloaded from kernel.org?

Thanks in advance,
Marco
You'll need to compile the kernel first. This guide might prove useful https://docs.slackware.com/howtos:sl...kernelbuilding


However, you might want to install Slackware64-14.2 instead of use current, since current is unstable. That is, unless you don't mind the occasional issue / bug and are okay with compiling your own kernel.
 
Old 11-18-2017, 01:25 PM   #4
MarcoB
LQ Newbie
 
Registered: Apr 2015
Location: The Hague, Netherlands
Distribution: FreeBSD, NetBSD, Slackware, OpenVMS
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by khronosschoty View Post
You'll need to compile the kernel first. This guide might prove useful https://docs.slackware.com/howtos:sl...kernelbuilding

However, you might want to install Slackware64-14.2 instead of use current, since current is unstable. That is, unless you don't mind the occasional issue / bug and are okay with compiling your own kernel.
I actually switched from 14.2 to current because 14.2 is getting quite old. But maybe I should revert to the release version then. I'll look into building compiling the kernel myself too.

Thanks for the help,

regards,
Marco
 
Old 11-19-2017, 03:04 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Building a kernel is actually quite easy and very instructive. The kernel has the best help system that I have ever seen. Just unpack it in your home directory and cd to the top-level directory. Copy the stock kernel configuration file stored in /boot as .config. Then type make menuconfig. Go to the drivers section, find the driver for your broadcom card, and make sure it's set.

Broadcom cards usually need firmware too but you should have that already installed in /lib/firmware if the card worked before.
 
Old 11-19-2017, 03:05 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Oops! Went in twice!
 
Old 11-20-2017, 01:19 PM   #7
lilianfornea
Member
 
Registered: Jul 2017
Location: Stauceni, Chisinau, Moldova
Distribution: Slackware
Posts: 39

Rep: Reputation: 7
Video tutorial on YouTube contain response to your question: https://youtu.be/Ycm1iV1WLEU
 
Old 11-20-2017, 01:46 PM   #8
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by MarcoB View Post
I actually switched from 14.2 to current because 14.2 is getting quite old.
Whilst I'm in favour of building your own kernel, with -current you don't have to? Because -current is a complete distribution including kernel.
 
Old 11-21-2017, 09:46 AM   #9
MarcoB
LQ Newbie
 
Registered: Apr 2015
Location: The Hague, Netherlands
Distribution: FreeBSD, NetBSD, Slackware, OpenVMS
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Building a kernel is actually quite easy and very instructive. The kernel has the best help system that I have ever seen. Just unpack it in your home directory and cd to the top-level directory. Copy the stock kernel configuration file stored in /boot as .config. Then type make menuconfig. Go to the drivers section, find the driver for your broadcom card, and make sure it's set.

Broadcom cards usually need firmware too but you should have that already installed in /lib/firmware if the card worked before.
Didn't want the hassle of compiling a kernel on this laptop so I decided to go back to 14.2 release. Eventually all is running fine now.

The laptop has a Broadcom wireless but that installs flawless with the help of sbopkg.
 
Old 11-22-2017, 08:43 PM   #10
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Just a comment.... it may be worthwhile to examine your criteria for updating since "getting quite old' is actually insufficient unless one has a specific unmet need. It is very common that the urge to update mindlessly has come from earlier days when Linux was just becoming fully formed and before that as the consumer mindset manipulation that proposes "new and improved" is an equation, when it clearly is not infallibly so. There is also such a thing as "tried and true" or "combat proven", etc. Bottom line = Think before Update.
 
1 members found this post helpful.
  


Reply



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] [TAR] file format fguihot Programming 2 02-03-2010 02:01 AM
Error in TAR - tar: GNU features wanted on incompatible archive format. kuldeep.k Linux - General 3 08-14-2009 11:09 AM
how to install a software from the .tar.gz file format ?f screwdriver Linux - Newbie 5 07-14-2008 01:39 PM
how to install utilities that are in tar.gz format alice_neo Linux - Software 4 05-07-2007 10:28 AM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM

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

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