[NLUUG]   Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl
Current directory: /ftp/os/Linux/distr/slackware/slackware-12.1/source/k/
Contents of 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.24.5-smp > /usr/src/linux-2.6.24.5/.config

   Then run the build programs:

   make oldconfig
   make bzImage
   make clean
   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.24.5 > /usr/src/linux-2.6.24.5/.config

   make oldconfig
   make bzImage
   make clean
   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  
[DIR] Parent Directory - [DIR] kernel-generic-smp/ 30-Apr-2008 20:19 - [DIR] kernel-generic/ 30-Apr-2008 21:02 - [DIR] kernel-huge-smp/ 30-Apr-2008 20:42 - [DIR] kernel-huge/ 30-Apr-2008 21:15 - [DIR] kernel-modules-smp/ 30-Apr-2008 20:19 - [DIR] kernel-modules/ 30-Apr-2008 21:02 - [DIR] linux-2.6.24.5-CVE-2008-1375-patch/ 30-Apr-2008 23:42 - [TXT] README.TXT 19-Apr-2008 22:03 1.7K [TXT] README_SPEAKUP_PATCH.TXT 19-Apr-2008 22:02 2.5K [   ] config-generic-2.6.24.5 19-Apr-2008 22:08 80K [   ] config-generic-smp-2.6.24.5-smp 19-Apr-2008 22:06 81K [   ] config-speakup-2.6.24.5 19-Apr-2008 22:01 81K [   ] linux-2.6.24.5.tar.bz2 19-Apr-2008 04:08 45M [   ] linux-2.6.24.5.tar.bz2.sign 19-Apr-2008 04:08 248 [   ] speakup-2008-04-16.tar.bz2 16-Apr-2008 08:52 72K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!