[NLUUG]   Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl
Current directory: /ftp/os/Linux/distr/slackware/slackware-13.0/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.29.6-smp > /usr/src/linux-2.6.29.6/.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.29.6 > /usr/src/linux-2.6.29.6/.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/ 17-Aug-2009 07:20 - [DIR] kernel-generic-smp/ 17-Aug-2009 07:20 - [DIR] kernel-generic/ 17-Aug-2009 08:18 - [DIR] kernel-huge-smp/ 17-Aug-2009 07:53 - [DIR] kernel-huge/ 17-Aug-2009 08:32 - [DIR] kernel-modules-smp/ 17-Aug-2009 07:20 - [DIR] kernel-modules/ 17-Aug-2009 08:18 - [   ] 2.6.29.x-intel-crash-patch.diff.gz 14-Jul-2009 21:15 788 [TXT] README.TXT 15-Jul-2009 23:26 1.7K [TXT] README_SECURITY.TXT 18-Aug-2009 23:57 292 [TXT] README_SPEAKUP_PATCH.TXT 15-Jul-2009 23:26 2.5K [   ] config-generic-2.6.29.6 17-Aug-2009 07:57 94K [   ] config-generic-smp-2.6.29.6-smp 17-Aug-2009 06:58 94K [   ] config-huge-2.6.29.6 17-Aug-2009 08:28 94K [   ] config-huge-smp-2.6.29.6-smp 17-Aug-2009 07:50 94K [   ] config-speakup-2.6.29.6 17-Aug-2009 09:04 94K [   ] linux-2.6.29.6-01-sendpage.diff.gz 17-Aug-2009 03:17 248 [   ] linux-2.6.29.6-02-default-mmap_min_addr-4096.diff.gz 17-Aug-2009 04:04 293 [   ] linux-2.6.29.6.tar.sign 03-Jul-2009 01:43 248 [   ] linux-2.6.29.6.tar.xz 03-Jul-2009 01:43 44M [   ] speakup-2009-02-24.tar.bz2 27-Feb-2009 00:24 256K

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