LinuxQuestions.org
Help answer threads with 0 replies.
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 06-03-2007, 10:02 AM   #16
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187

@ erklaerbaer post #15

you can always rebuild the kernel as Slackware does not break with vanilla kernels from kernel.org

i used to be scared to rebuild a kernel as i used to break things, and i was determined to learn this procedure so i used an extra partition with a clean slackware install in it and kept the stock kernel in it in case of failure, and after going thru make menuconfig a few times and looking at Pat's config for the bare.i and what the kernel developers have in make defconfig i finally got the method down to building my own kernel quite well, trimming the unnecessary items out that my hardware does not use and what i don't use or need, and changing a few things to what i prefer, i find building a kernel mostly a mundane task but a necessary thing to do if the stock kernel does not suit you for long term use...
 
Old 06-03-2007, 07:30 PM   #17
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
that was not my question

i was just interested, why -smp kernels are actually considered "better" for non-smp machines. "just as good" makes perfekt , but; hmm well i guess it doesn't matter.

EDIT: kernel ~> machines ; -since

Last edited by erklaerbaer; 06-04-2007 at 07:59 AM.
 
Old 06-03-2007, 08:02 PM   #18
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Well, I didn't know this one off the top of my head, but after some consultation with Pat and PiterPunk, here's the verdict: :-)
1. Some new hardware has broken static IRQ routing, and the SMP kernel is build with local APIC enabled (which should take care of that, as I understand it).
2. An SMP-capable kernel tests if the machine is a uniproc at boot, and if so, some functions are replaced so that there's (supposedly) no performance penalty induced by running the SMP-enabled kernel.
3. The kernel sources and includes shipped with Slackware are for SMP kernels. There's a "fix" for that in /extra, but based on the above information, there's no good reason to use a uniproc kernel if the smp kernel will run.

Last edited by rworkman; 06-03-2007 at 11:39 PM.
 
Old 06-03-2007, 08:41 PM   #19
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by rworkman
Well, I didn't know this one off the top of my head, but after some consultation with Pat and PiterPunk, here's the verdict: :-)
1. Some new hardware has broken static IRQ routing, and the SMP kernel is build with local APIC enabled (which should take care of that, as I understand it).
2. An SMP-capable kernel tests if the machine is a uniproc at boot, and if so, some functions are replaced so that there's no performance penalty induced by running the SMP-enabled kernel.
3. The kernel sources and includes shipped with Slackware are for SMP kernels. There's a "fix" for that in /extra, but based on the above information, there's no good reason to use a uniproc kernel if the smp kernel will run.
Thanks for the explanation Robby:-) Will the next release of Slack have the 2.6x SMP capable kernel as the default choice when we do the installation? Or will we have a choice of using a non SMP enabled kernel.
Based on your explanation I will go with a SMP enabled kernel.
 
Old 06-03-2007, 08:46 PM   #20
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
the SMP should not cause any performance loss to single processor machines...

i will use it for a while until a newer kernel is released then i will roll another one
 
Old 06-03-2007, 11:48 PM   #21
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by hitest
Thanks for the explanation Robby:-) Will the next release of Slack have the 2.6x SMP capable kernel as the default choice when we do the installation? Or will we have a choice of using a non SMP enabled kernel.
Based on your explanation I will go with a SMP enabled kernel.
Well, I really don't *know* what the next release of Slackware will do in this regard, but if the present behavior of a new -current installation is any indication, it will be something like this with a full installation (assuming the release ships with 2.6.21.3 - adjust as needed):
kernel-generic-2.6.21.3, kernel-huge-2.6.21.3 and kernel-modules-2.6.21.3 for uniprocessor systems as well as kernel-generic-smp-2-6.21.3-smp, kernel-huge-smp-2.6.21.3-smp and kernel-modules-smp-2.6.21.3-smp for SMP systems will all be installed. Since kernel-huge-smp is the last of the packages to be installed, the default /boot/vmlinuz symlink will point to it. This will be a safe choice for *most* people.
As noted in CHANGES_AND_HINTS / UPGRADE.TXT, the generic kernel is recommended for daily use, but of course, that's up to the user. The huge kernel is a good safe choice which will allow the user to boot into the system and create the initrd necessary for the generic kernel. This can, of course, be done prior to the first reboot after install, but it requires manually chrooting into the new installation and mounting /proc.
 
Old 06-04-2007, 08:29 AM   #22
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by rworkman
Well, I really don't *know* what the next release of Slackware will do in this regard, but if the present behavior of a new -current installation is any indication, it will be something like this with a full installation (assuming the release ships with 2.6.21.3 - adjust as needed):
kernel-generic-2.6.21.3, kernel-huge-2.6.21.3 and kernel-modules-2.6.21.3 for uniprocessor systems as well as kernel-generic-smp-2-6.21.3-smp, kernel-huge-smp-2.6.21.3-smp and kernel-modules-smp-2.6.21.3-smp for SMP systems will all be installed. Since kernel-huge-smp is the last of the packages to be installed, the default /boot/vmlinuz symlink will point to it. This will be a safe choice for *most* people.
As noted in CHANGES_AND_HINTS / UPGRADE.TXT, the generic kernel is recommended for daily use, but of course, that's up to the user. The huge kernel is a good safe choice which will allow the user to boot into the system and create the initrd necessary for the generic kernel. This can, of course, be done prior to the first reboot after install, but it requires manually chrooting into the new installation and mounting /proc.
Thanks for the reply, Robby!
 
Old 06-05-2007, 02:56 PM   #23
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Any clue on what Xorg version will be used? 6.9 or 7.0?
 
Old 06-05-2007, 03:18 PM   #24
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Jeebizz
Any clue on what Xorg version will be used? 6.9 or 7.0?
Neither.

If the release happens today (which it won't, obviously), it will have an xorg version that's somewhere between 7.2 and upcoming 7.3 (which is slated to release in August, from what I understand). Pat has been pulling stable releases from the /individual directories on the xorg mirrors (which is essentially what happens on a major version (7.x) release from xorg.
 
Old 06-05-2007, 03:19 PM   #25
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Oh, because since 11.0 I think xorg was at 6.8 though there was already a 6.9 release. Now I can't remember what xorg version 11.0 uses, I'm so dumb

[edit]
Well according to ftp://ftp.slackware.com/pub/slackwar.../ANNOUNCE.11_0

Quote:
- X11R6.9.0 (same codebase as Modular X.Org 7.0.0)
This is the X.Org Foundation's X Window System. The 6.9.0 version
includes additional hardware support, functional enhancements, and
bug fixes compared with the 6.8.2 release that shipped in Slackware
10.2, and we're added additional support for some recent popular
Intel graphics chipsets.
So I just answered my own question.

Last edited by Jeebizz; 06-05-2007 at 03:22 PM.
 
  


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
What release and other Q jogl_z_8 Linux - Newbie 5 02-15-2007 06:58 PM
Where did 5.3-Release go? bshearer *BSD 3 06-02-2006 09:20 AM
FC5 development release and FC5 official release- where is the DVD iso? smiley_lauf Fedora 11 03-13-2006 01:38 PM
SUSE Release 10 RC1 Release Candidate 1 available 1kyle SUSE / openSUSE 8 09-11-2005 06:26 PM
Release IP gordongraham Linux - Networking 4 06-23-2005 02:57 PM

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

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