Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-24-2006, 03:50 AM
|
#1
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Rep:
|
How do I install the latest 2.6 kernel from the Slack FTP?
I was wondering how to install the latest kernel from the Slackware FTP? Wouldnt I have problems with the modules that my current system have? Or would it come with all the necessary hardware components detected?
|
|
|
02-24-2006, 03:55 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
the kernel comes with all the modules compiled and runs them according to your hardware.
i would recommend using both the 2.4.x kernel and the 2.6. you'll need to edit /etc/lilo.conf to point to your new kerel (the run /sbin/lilo).
don't remove the line about your old kernel, in case the new one doesnt work.
if you've got the nvidia driver compiled that wont work and you'll need to run the setup script again....
|
|
|
02-24-2006, 04:15 AM
|
#3
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
get the kernel, bzImage from where ever u like
put it in /boot and if u want rename it to "vmlinuz-2.6.15"
#mv bzImage /boot/vmlinuz-2.6.15
install modules for that
(download the package correspond to kernel, module package for kernel
#installpkg xxx.tgz, it will go to /usr/lib/mod... )
editn lilo
----------
image = /boot/vmlinuz-2.6.15
root = /dev/hda1 <-- put your / (root/boot) partition here
label = 2.6.15 <-- or lin2.6
read-only
----------
run lilo
#lilo
#shutdown -r now
if problems then we will c ;^)
enjoy
|
|
|
02-24-2006, 09:54 AM
|
#4
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
ok. thanks for the suggestions. ill try those later.
|
|
|
02-24-2006, 01:03 PM
|
#5
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
Newer kernel may need newer alsa driver.When will one need new kernel-headers pkg too?
|
|
|
02-24-2006, 06:57 PM
|
#6
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
the 2.6.15.3 kernel available on the slack site is accompanied by the alsa driver, the source, the modules and the headers...
|
|
|
02-25-2006, 12:21 PM
|
#7
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
The 2.6.13 kernel in SW10.2 uses 2.4.31 kernel headers pkg. So for 2.6.15x kernel pkg we use the 2.6.15x kernel- headers pkg? How is gcc version affected? Are there other pkgs affected?
|
|
|
02-25-2006, 01:42 PM
|
#8
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
no 2.6.13 uses the 2.6.13 kernel headers. how would that work??
from my machine:
Quote:
root@blue:~# lspkg |grep -i kernel
kernel-generic-2.6.13-i486-1
kernel-headers-2.6.13-i386-1
kernel-modules-2.6.13-i486-1
kernel-source-2.6.13-noarch-1
|
i used the stock 2.6.13 kernel from /testing. i had to change the alsa packages (which are on this disc with the kernel) and i made an "initrd".
Quote:
root@blue:~/scripts# lspkg|grep -i alsa
alsa-driver-1.0.9b_2.6.13-i486-1
alsa-lib-1.0.9-i486-1
alsa-oss-1.0.9-i486-1
alsa-utils-1.0.9a-i486-2
|
if you're interested here is the script i used to list my packages(not written by me)
Code:
#!/bin/sh
#*******************************************************************************# Name: lspkg
#
# A Slackware tool which simply lists the currently installed packages.
#
# Originally written by CTWaley (a.k.a., thegeekster) and originally posted in
# the Slackware forum at LinuxQuestions.org,
#
#
# This program is given to the Public Domain and is free software. You can
# redistribute it and/or modify it without restriction of any kind.
#
# It distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
#*******************************************************************************
case $1 in
-h | --help ) # If -h (--help) is given as an argument, show the usage.
cat << __EOF__
Usage: lspkg [ ... ]
Lists the Slackware packages currently installed. If no argument is
given, it will output all packages currently installed. If an argument
is given on the command line, it will look for the package name matching
the pattern(s) supplied. More than one package name or pattern may be
given on the command line.
Use the wildcards * and ? when looking for a package name containing the
characters supplied on the command line. For example, to find a package
containing the word "lib", but does not necessarily begin with "lib",
use one of the patterns "*lib", "?lib", "??lib" or even "??lib*". To see
if you have both "bzip" and "bzip2" installed on your system, you can
use the search term "bzip?". You may also enclose the search pattern in
single quotes (') or double quotes (") to avoid the shell interpeter from
interfering with the search term when using the wildcard characters.
__EOF__
;;
* )
[ -z $1 ] && 'ls' /var/log/packages/ | less \
|| {
while [ ! -z $1 ]
do
pkg=`echo $1 | sed 's/\./\\./g; s/\*/.*/; s/\?/.?/g'`
'ls' /var/log/packages/ | egrep -i "^$pkg\>"
shift
done | more
}
esac
Last edited by satinet; 02-25-2006 at 01:44 PM.
|
|
|
02-25-2006, 06:46 PM
|
#9
|
Member
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133
Original Poster
Rep:
|
I tried installing the latest kernel from the repository way back a few weeks ago and to my dissapointment even after pointing everything to the new config, bzImage and System.map, apparently the kernel is looking for the old config or modules which makes the new one unusable. Maybe that's what ye mean by the 2.6 using the 2.4 headers. Anyway, I could be wrong, just sharing my experience. Now im trying to install it again and hopefully I could do it right this time.
|
|
|
02-26-2006, 04:06 AM
|
#10
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
hi
instructions on how to do it are on the disk along with the kernel.
it explains about installed the new packages and install alsa etc.
i think it's in /testing on disk 2
|
|
|
All times are GMT -5. The time now is 01:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|