Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README.TXT

Since I should document this somewhere, here's the procedure
for building the Slackware kernel package.  I do not patch the official
kernel sources, but it's not exactly a virgin either.

=============================================================
Version specific notes (if any):
=============================================================
  
For a 2.6.x kernel (much easier):

   Untar Linus' source in /usr/src.
   Make all files owned by root:root with reasonable perms.
   Install a suitable .config, or use make menuconfig, etc.

   An example would be to use one of the config files here:
   # cat config-smp-2.6.27.7-smp > /usr/src/linux-2.6.27.7/.config

   Then run the build programs:

   make oldconfig
   make bzImage
   make clean
   make prepare
   rm .version

That's it!  You now have a clean Slackware-configured Linux source
tree.

NOTE TO USERS OF THE NON SMP KERNELS:

Sorry to shout.  :-)

By default, the kernel in Slackware supports SMP.  With as common as
multicore CPUs and SMP boards have become, this seemed like the
obvious choice.  The kernels are probably better for single CPU
machines, too, if they will run them.

If you have to use one of the non SMP kernels (huge.s or generic.s),
then you will need to reconfigure your kernel sources to build any
additional kernel modules.  In order to compile outside kernel
modules and such, you will need to build your kernel once with a
non-SMP .config.  The process is much the same:

cat config-generic-2.6.27.7 > /usr/src/linux-2.6.27.7/.config

   make oldconfig
   make bzImage
   make clean
   make prepare
   rm .version

At this point if you are running huge.s or generic.s, you should have
no problems building kernel modules.
 
Have fun! :-)

Pat


Icon  Name                             Last modified      Size  Description
[<--] Parent Directory - [DIR] kernel-firmware/ 2009-03-15 12:44 - [DIR] kernel-generic/ 2009-03-15 13:33 - [DIR] kernel-huge/ 2009-03-15 13:24 - [DIR] kernel-modules/ 2009-03-15 12:43 - [DIR] kernel-source/ 2009-03-15 13:34 - [TXT] README.TXT 2008-12-07 20:42 1.7K [   ] config-generic-2.6.28.7 2009-03-15 12:47 85K [   ] config-huge-2.6.28.7 2009-03-15 12:57 85K [TAR] linux-2.6.28.7.tar.bz2 2009-03-15 12:19 50M [   ] linux-2.6.28.7.tar.bz2.sign 2009-03-15 12:19 248
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.05 Gbit/s  10 Gbit/s