Changes between Version 3 and Version 4 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2


Ignore:
Timestamp:
12/10/13 15:45:15 (6 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2

    v3 v4  
    2222  (a) Find your kernel sources. They are in ''/usr/src/kernels'', in a directory that depends on the installed version. As of the time this handout was created, that directory is ''2.6.43.8-1.fc15.i686''. We will call this directory ''$KERNELSRC''.
    2323  (b) Identify your running kernel version by running ''uname -r''. It will be something like ''2.6.40-4.emulab2.fc15.i686.PAE''. The first three dotted components (''2.6.40'', in this case) are the major, minor, and micro versions, respectively, and the remainder of the version string (''-4.emulab2.fc15.i686.PAE'') is the extraversion. Note the extraversion of your kernel.
    24   (c) In''$KERNELSRC/Makefile'',find the line beginning with ''EXTRAVERSION''. Replace its value with the extraversion of your kernel.
     24  (c) In''$KERNELSRC/Makefile'',find the line beginning with ''EXTRAVERSION''. Replace its value with the extraversion of your kernel.  FIXME: Also update ''PATCHLEVEL = 0''.
    2525  (d) Update the kernel header tree to this new version by running the command:
    2626{{{
    27 sudo make include/linux/utsrelease.h
     27sudo make include/generated/utsrelease.h
    2828}}}
    2929  More details to handle version issues are provided at [http://tldp.org/LDP/lkmpg/2.6/html/x380.html Building modules for a precompiled kernel]. [[BR]]