Changes between Version 3 and Version 4 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2
- Timestamp:
- 12/10/13 15:45:15 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2
v3 v4 22 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 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. 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 25 (d) Update the kernel header tree to this new version by running the command: 26 26 {{{ 27 sudo make include/ linux/utsrelease.h27 sudo make include/generated/utsrelease.h 28 28 }}} 29 29 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]]