LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-07-2011, 03:04 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
2.6.39 kernel


Hi guys, i've a optimus laptop and it isn't functioning as well as it could. I've been recommended to use the 2.6.39 kernel. Would there be any issues upgrading to this kernel since it's unsupported?
 
Old 07-07-2011, 04:25 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I have tried the 2.6.39 kernel just for fun (I don't have Optimus) and it worked fine on my machine.
 
Old 07-07-2011, 07:05 AM   #3
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Have you tried the 2.6.38.4 kernel? This is available in the "testing/packages/" directory of the slackware source. It is already compiled and ready for installation.
 
Old 07-07-2011, 07:14 AM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Using 2.6.39.2 no problem here

http://alien.slackbook.org/dokuwiki/...kernelbuilding

Slackware 13.37 has configs for 2.6.39 in the testing directory
http://slackware.osuosl.org/slackwar...9-rc4-configs/ (32-Bit)
http://slackware.osuosl.org/slackwar...9-rc4-configs/ (64-Bit)

Last edited by piratesmack; 07-07-2011 at 07:17 AM.
 
Old 07-07-2011, 08:25 AM   #5
MarcosPauloBR
Member
 
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129

Rep: Reputation: 3
Hi!

I'm using the 39.2 on my 13.1, and I have no problem with it.
 
Old 07-07-2011, 04:52 PM   #6
gapan
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 163Reputation: 163
This comes to mind: http://www.linuxquestions.org/questi...12-bug-877672/
 
1 members found this post helpful.
Old 07-23-2011, 06:14 AM   #7
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Thanks piratesmack for pointing out that guide, and thanks Eric for providing it. I've followed it and now have the 2.6.39.3 kernel booting into runlevel 3. startx fails when kde is the default, and xfce freezes up. I have followed the guide up to the headers remark. i'm not sure if i'm right, but i think i need to get the modules up and running now.

Quote:
Be aware that by installing and booting into your new kernel, you will no longer have these out-of-kernel modules available. You have to recompile their sources so that the resulting kernel modules match the version of your new kernel.
You can get an overview of all packages that have installed a kernel module for your current kernel by running this command (note that you must run this command while still running your old kernel):

Quote:
cd /var/log/packages
grep -l "lib/modules/$(uname -r)" *
i have done the above command and all it says is,
"kernel-modules-smp-2.6.37.6_smp-i686-2"

Don't actually know where to go from here.

Last edited by Knightron; 07-23-2011 at 06:16 AM.
 
Old 07-23-2011, 06:40 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
You can get an overview of all packages that have installed a kernel module for your current kernel by running this command (note that you must run this command while still running your old kernel):
Basically you will be getting modules that will need to be provided for the new kernel. If need be!

The command string provides a view that looks to see what modules were installed by added packages for the old kernel(current), not the new kernel. This map will provide the means to install necessary packages if needed for the new kernel.
HTH!
 
Old 07-23-2011, 11:58 AM   #9
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I'm running the 2.6.39.3 kernel with no problems.
Ed
 
Old 07-23-2011, 05:50 PM   #10
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
@onebuck
so, the string that the command gave out was, "kernel-modules-smp-2.6.37.6_smp-i686-2", so if i understand right, i need to load this into the new kernel? How do i do this? is it a matter of copy and past to /etc/rc.d/rc.modules.local and then renaming it to the appropriate name for the new kernel?
On a side not, i havn't created an initrd yet, should i go about this step first? or the modules first?
 
Old 07-24-2011, 07:54 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by Knightron View Post
@onebuck
so, the string that the command gave out was, "kernel-modules-smp-2.6.37.6_smp-i686-2", so if i understand right, i need to load this into the new kernel? How do i do this? is it a matter of copy and past to /etc/rc.d/rc.modules.local and then renaming it to the appropriate name for the new kernel?
On a side not, i havn't created an initrd yet, should i go about this step first? or the modules first?
Your original install had the kernel-modules installed, no other module had been installed/added by any other package.

Nothing more than a list of package modules that were installed for the old kernel, in your case the 'kernel-modules-smp-2.6.37.6_smp-i686-2'. Which would be default install. This output list of added package modules (if any) then you could use this list as a guide to what would be necessary to install for the new kernel (if needed).

Quote:
default install, from PACKAGES.TXT;

PACKAGE NAME: kernel-modules-2.6.37.6-i486-2.txz
PACKAGE LOCATION: ./slackware/a
PACKAGE SIZE (compressed): 19640 K
PACKAGE SIZE (uncompressed): 75290 K
PACKAGE DESCRIPTION:
kernel-modules: kernel-modules (single CPU Linux kernel modules)
kernel-modules:
kernel-modules: A kernel module is a piece of object code that can be dynamically
kernel-modules: loaded into the Linux kernel to provide new kernel functions. Most of
kernel-modules: these modules provide support for devices such as CD-ROM drives, tape
kernel-modules: drives, and ethernet cards. You can choose which modules to load by
kernel-modules: editing /etc/rc.d/rc.modules.
kernel-modules:

PACKAGE NAME: kernel-modules-smp-2.6.37.6_smp-i686-2.txz
PACKAGE LOCATION: ./slackware/a
PACKAGE SIZE (compressed): 19956 K
PACKAGE SIZE (uncompressed): 76560 K
PACKAGE DESCRIPTION:
kernel-modules-smp: kernel-modules (SMP Linux kernel modules)
kernel-modules-smp:
kernel-modules-smp: A kernel module is a piece of object code that can be dynamically
kernel-modules-smp: loaded into the Linux kernel to provide new kernel functions. Most of
kernel-modules-smp: these modules provide support for devices such as CD-ROM drives, tape
kernel-modules-smp: drives, and ethernet cards. You can choose which modules to load by
kernel-modules-smp: editing /etc/rc.d/rc.modules.
kernel-modules-smp:
Your new kernel and any modules would be installed. If the list from your command string showed other package modules then you would need to install those packages.
So for 2.6.38.4 from /testing you would install this package;
Quote:
from kernel-modules-smp-2.6.38.4_smp-i686-1.txt

kernel-modules: kernel-modules (Linux kernel modules)
kernel-modules:
kernel-modules: A kernel module is a piece of object code that can be dynamically
kernel-modules: loaded into the Linux kernel to provide new kernel functions. Most of
kernel-modules: these modules provide support for devices such as CD-ROM drives, tape
kernel-modules: drives, and ethernet cards. You can choose which modules to load by
kernel-modules: editing /etc/rc.d/rc.modules.
kernel-modules:
kernel-modules:
kernel-modules:
kernel-modules:
HTH!
 
  


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] VirtualBox & The New 2.6.37.3 Kernel. (Solution: DKMS Required To Install VB Kernel Module) cwizardone Slackware 49 03-17-2011 06:42 PM
Unable to build kernel RPM with 'custom name'. (need not kernel but kernel-something) RattleSn@ke Linux - Kernel 1 01-12-2011 06:30 PM
Config 2.6.36.1 kernel (from kernel.org) using CentOS 5.4 x86_64 kernel .config whitewolf573 Linux - Kernel 2 12-11-2010 08:33 AM
how to upgrade the Debian 3 kernel 2.4.18 to kernel 2.6 or bigmem- kernel chandu.bezawada Debian 6 11-12-2010 09:33 AM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM

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

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