LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-11-2014, 05:55 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Questions About Upgrading To Current Release.


Reading over this: http://docs.slackware.com/howtos:sla...:systemupgrade.

I blacklisted:
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
[0-9]+_SBo
[0-9]+alien
[0-9]+compat32

I had a question about this part-
If new kernel(s) have been added to the Slackware release you are upgrading to, then use ”installpkg” to install those new kernel packages first (do not use ”upgradepkg” because that will wipe your existing kernel).
You will have to install at least one kernel (kernel-generic, kernel-generic-smp, kernel-huge, or kernel-huge-smp) and the corresponding kernel modules package (kernel-modules or kernel-modules-smp).
You can not use slackpkg for this step."

Would I just go to kernel.org, download the 3.14 kernel and use installpkg to install it? What about the kernel-headers? What do the huge and generic kernel versions mean?

I'm pretty confused about all this as I'm somewhat new to really messing with Slack. Any help is appreciated.
 
Old 06-11-2014, 06:19 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,687

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
No, you can't use installpkg to install kernel from kernel.org since it contains source only
Grab the latest kernel packages from a/, d/, and k/ directory and install them using installpkg

kernel headers are located in d/ directory

if you are new to Slackware, then i would advice you to stay in -stable until you are familiar with how Slackware are designed or you will end up brake your own system.
 
Old 06-11-2014, 06:24 PM   #3
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 935

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Quote:
Originally Posted by Pinonoir View Post
Would I just go to kernel.org, download the 3.14 kernel and use installpkg to install it? What about the kernel-headers? What do the huge and generic kernel versions mean?
No, you download the files kernel*.txz (from current changelog) and install with installpkg.
(you must edit lilo.conf and run lilo with the new kernel)
a/kernel-generic-3.14.5-i486-1.txz: Upgraded.
a/kernel-generic-smp-3.14.5_smp-i686-1.txz: Upgraded.
a/kernel-huge-3.14.5-i486-1.txz: Upgraded.
a/kernel-huge-smp-3.14.5_smp-i686-1.txz: Upgraded.
a/kernel-modules-3.14.5-i486-1.txz: Upgraded.
a/kernel-modules-smp-3.14.5_smp-i686-1.txz: Upgraded.

d/kernel-headers-3.14.5_smp-x86-1.txz: Upgraded.

k/kernel-source-3.14.5_smp-noarch-1.txz: Upgraded.

Download from any Slackware-current mirror.


Kernel headers is one of the packages above

Huge kernel has all the drivers and modules, it is used to boot the install cd/dvd.
It is recommended that you change from huge to generic, you will find some topics
about using hugeXgeneric, but if you use generic you must use an initrd.gz file.
Search about it, there's info on the forum, and on the /boot dir there's a file
initrd.README.


EDIT- I didn't notice before, you're using compat32, so you must have x86_64.
Use a x86_64 mirror to update and to download.
As willysr said, -stable is safe, but if you want learn how Slackware works then
changing to -current is a good start.
Before change search and read topics on that subject.

Last edited by Paulo2; 06-11-2014 at 06:32 PM. Reason: about x86_64 or x86
 
Old 06-11-2014, 06:26 PM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by Pinonoir View Post

Would I just go to kernel.org, download the 3.14 kernel and use installpkg to install it? What about the kernel-headers?
Using installpkg would be for a pre-compiled kernel, that is shipped as an update form the slackware devs in the form of a slackware package. Typically named something like kernel-generic-3.10.17-i486-3.txz or kernel-huge-3.10.17-i486-3.txz

You can use slackpkg to easily find out if there is a new slackware kernel available.

You would go to kernel.org if you wanted a newer kernel to compile yourself.

Quote:
Originally Posted by Pinonoir View Post
What do the huge and generic kernel versions mean?
The huge kernel contains almost every driver in the kernel, whereas the generic kernel loads drivers from modules and also requires you create an initrd so you can access the filesystem.

See here on how to do that: http://slackware.osuosl.org/slackwar.../README.initrd

Generally, the huge kernel should be fine in most cases.
 
Old 06-11-2014, 09:06 PM   #5
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Thanks everyone for the help! However, I don't see any SMP kernels listed here: http://slackware.mirrors.tds.net/pub...slackware64/a/

I'm not sure if SMP was integrated into the kernel or not. Again, any help is appreciated.
 
Old 06-11-2014, 10:13 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,687

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
for 64 bit, all kernel are configured to have SMP
 
Old 06-11-2014, 11:44 PM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian
Posts: 7,352

Rep: Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751
Quote:
Originally Posted by willysr View Post
if you are new to Slackware, then i would advice you to stay in -stable until you are familiar with how Slackware are designed or you will end up brake your own system.
Agreed. If you're new to Slackware it is a good idea to stick with stable. We provide technical support for full installations of stable. If you want to run slackware-current it is expected that you will do some of your own trouble shooting.
 
Old 06-12-2014, 12:07 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I second that. -Current is nice but it has it's issues. If you use OEM drivers, you'll have to be mindful that you'll need to rebuild them prior to the reboot or else you may have incompatibility issues on boot.

-Current is often better ran with the free drivers as it gets less hectic.

Also, updating the glibc-kernel-headers is not recommended unless you rebuild glibc against it. Only use the glibc and kernel-headers packages Patrick updates.
 
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
Upgrading Slackware to a New Release. h-warp Slackware 20 09-29-2012 08:58 AM
Upgrading kernel 2.6.18-128.7.1.el5xen to current non xen release LinuxGuru88 Linux - Server 2 02-18-2011 12:12 PM
upgrading release giana Slackware 7 12-13-2008 02:21 PM
Upgrading to the newest Ubuntu release gsibble Ubuntu 11 10-27-2006 10:53 AM
Will 10.1 Current = New 10.2 release ?? SlackwareInAZ Slackware 11 09-15-2005 09:21 PM

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

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration