Changes between Version 13 and Version 14 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelMod
- Timestamp:
- 12/10/13 20:29:13 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelMod
v13 v14 30 30 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`. 31 31 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. 32 c. In `$KERNELSRC/Makefile`, find the line beginning with `EXTRAVERSION`. Replace its value with the extraversion of your kernel. FIXME: Also update `PATCHLEVEL = 0`.32 c. In `$KERNELSRC/Makefile`, find the line beginning with `EXTRAVERSION`. Replace its value with the extraversion of your kernel. Also update `VERSION`, `PATCHLEVEL`, and `SUBLEVEL` to match your version. (For example, for the above version that means setting `PATCHLEVEL = 0`.) 33 33 d. Update the kernel header tree to this new version by running the command: 34 34 {{{