Changes between Version 9 and Version 10 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2


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

--

Legend:

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

    v9 v10  
    1515 in the file `/etc/yum.conf`, to allow yum to install kernel headers.
    1616}}}
     17
    1718 1. Install the required packages with this command:
    1819 {{{
     
    2021 }}}
    2122 2. Fix up the kernel version in the installed headers to match the running kernel; this can be tricky, but these steps should handle it.
    22   (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`.
    23   (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.  FIXME: Also update `PATCHLEVEL = 0`.
    25   (d) Update the kernel header tree to this new version by running the command:
     23  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`.
     24  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.
     25  c. In`$KERNELSRC/Makefile`,find the line beginning with `EXTRAVERSION`. Replace its value with the extraversion of your kernel.  FIXME: Also update `PATCHLEVEL = 0`.
     26  d. Update the kernel header tree to this new version by running the command:
    2627{{{
    2728cd $KERNELSRC