SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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"
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!
@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?
@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).
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;
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.