[NLUUG]   Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl
Current directory: /ftp/os/Linux/distr/slackware/slackware-12.2/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.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  
[DIR] Parent Directory - [DIR] kernel-firmware/ 21-Nov-2008 05:20 - [DIR] kernel-generic-smp/ 21-Nov-2008 05:20 - [DIR] kernel-generic/ 21-Nov-2008 06:01 - [DIR] kernel-huge-smp/ 21-Nov-2008 05:33 - [DIR] kernel-huge/ 21-Nov-2008 06:20 - [DIR] kernel-modules-smp/ 21-Nov-2008 05:20 - [DIR] kernel-modules/ 21-Nov-2008 06:01 - [TXT] README.TXT 21-Nov-2008 07:15 1.7K [TXT] README_SPEAKUP_PATCH.TXT 21-Nov-2008 07:16 2.5K [   ] config-generic-2.6.27.7 21-Nov-2008 05:46 87K [   ] config-generic-smp-2.6.27.7-smp 21-Nov-2008 05:04 87K [   ] config-huge-2.6.27.7 21-Nov-2008 06:16 87K [   ] config-huge-smp-2.6.27.7-smp 21-Nov-2008 05:29 87K [   ] config-speakup-2.6.27.7 08-Dec-2008 22:27 87K [   ] linux-2.6.27.7.tar.bz2 21-Nov-2008 00:07 48M [   ] linux-2.6.27.7.tar.bz2.sign 21-Nov-2008 00:07 248 [   ] patch-2.6.27.8.bz2 05-Dec-2008 23:16 122K [   ] patch-2.6.27.8.bz2.sign 05-Dec-2008 23:16 248 [   ] speakup-3.0.3_20081026.tar.bz2 27-Oct-2008 06:04 240K

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